MC68HC908AP64_07 FREESCALE [Freescale Semiconductor, Inc], MC68HC908AP64_07 Datasheet - Page 50

no-image

MC68HC908AP64_07

Manufacturer Part Number
MC68HC908AP64_07
Description
Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
Configuration & Mask Option Registers (CONFIG & MOR)
3.2 Functional Description
The configuration registers and the mask option register are used in the initialization of various options.
These two types of registers are configured differently:
The configuration registers can be written once after each reset. All of the configuration register bits are
cleared during reset. Since the various options affect the operation of the MCU, it is recommended that
these registers be written immediately after reset. The configuration registers are located at $001D and
$001F. The configuration registers may be read at anytime.
The mask option register (MOR) is used for selecting one of the three clock options for the MCU. The
MOR is a byte located in FLASH memory, and is written to by a FLASH programming routine.
3.3 Configuration Register 1 (CONFIG1)
COPRS — COP Rate Select Bit
LVISTOP — LVI Enable in Stop Mode Bit
LVIRSTD — LVI Reset Disable Bit
50
COPRS selects the COP time out period. Reset clears COPRS. (See
Properly
When the LVIPWRD or LVIREGD bit is clear, setting the LVISTOP bit enables the LVI to operate
during stop mode. Reset clears LVISTOP. (See
LVIRSTD disables the reset signal from the LVI module. (See
1 = COP time out period = 2
0 = COP time out period = 2
1 = LVI enabled during stop mode
0 = LVI disabled during stop mode
1 = LVI module resets disabled
0 = LVI module resets enabled
Configuration registers — Write-once registers after reset
Mask option register — FLASH register (write by programming)
(COP).)
Address:
The CONFIG registers are not in the FLASH memory but are special
registers containing one-time writable latches after each reset. Upon a
reset, the CONFIG registers default to predetermined settings as shown in
Figure 3-2
Reset:
Read:
Write:
If LVISTOP=0, set LVIRSTD=1 before entering stop mode.
COPRS
$001F
Bit 7
0
and
Figure 3-2. Configuration Register 1 (CONFIG1)
Figure
LVISTOP
6
0
MC68HC908AP Family Data Sheet, Rev. 4
13
18
– 2
– 2
3-3.
LVIRSTD
4
4
ICLK cycles
ICLK cycles
5
0
LVIPWRD
NOTE
NOTE
Chapter 20 Low-Voltage Inhibit
4
0
LVIREGD
3
0
Chapter 20 Low-Voltage Inhibit
SSREC
2
0
Chapter 19 Computer Operating
STOP
1
0
Freescale Semiconductor
(LVI).)
COPD
Bit 0
0
(LVI).)

Related parts for MC68HC908AP64_07