sc9s08mz16 Freescale Semiconductor, Inc, sc9s08mz16 Datasheet - Page 142

no-image

sc9s08mz16

Manufacturer Part Number
sc9s08mz16
Description
Hcs08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Internal Clock Generator (S08ICGV4)
The values needed in each register to set up the desired operation are:
ICGC1 = $78 (%01111000)
ICGC2 = $30 (%00110000)
ICGS1 = $xx
ICGS2 = $xx
ICGFLTLU/L = $xx
ICGTRM
142
Bit 7
Bit 6
Bit 5
Bits 4:3 CLKS
Bit 2
Bit 1
Bit 0
Bit 7
Bit 6:4 MFD
Bit 3
Bit 2:0 RFD
This is read only except for clearing interrupt flag
This is read only. Should read DCOS before performing any time critical tasks
Not used in this example
Not used in this example
HGO
RANGE
REFS
OSCSTEN 0
LOCD
LOLRE
LOCRE
0
1
1
11
0
0
0
011 Sets the MFD multiplication factor to 10
0
000 Sets the RFD division factor to ÷1
Configures oscillator for low power
Configures oscillator for high-frequency range; FLL prescale factor is 1
Requests an oscillator
FLL engaged, external reference clock mode
Disables the oscillator
Loss-of-clock detection enabled
Unimplemented or reserved, always reads zero
Generates an interrupt request on loss of lock
Generates an interrupt request on loss of clock
SC9S08MZ16 MCU Data Sheet, Rev. 1
Freescale Semiconductor

Related parts for sc9s08mz16