English
Language : 

MC68HC908GR8 Datasheet, PDF (89/286 Pages) Freescale Semiconductor, Inc – M68HC08 Microcontrollers
Chapter 8
Configuration Register (CONFIG)
8.1 Introduction
This section describes the configuration registers, CONFIG1 and CONFIG2. The configuration registers
enable or disable these options:
• Stop mode recovery time (32 CGMXCLK cycles or 4096 CGMXCLK cycles)
• COP timeout period (262,128 or 8176 CGMXCLK cycles)
• STOP instruction
• Computer operating properly module (COP)
• Low-voltage inhibit (LVI) module control and voltage trip point selection
• Enable/disable the oscillator (OSC) during stop mode
8.2 Functional Description
The configuration registers are used in the initialization of various options. 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 $001E and $001F. The configuration
register may be read at anytime.
NOTE
To ensure correct operation of the MCU under all operating conditions, the user must write data $1C to
address $0033 immediately after reset. This is to ensure proper termination of an unused module within
the MCU.
NOTE
On a FLASH device, the options except LVI5OR3 are one-time writeable by
the user after each reset. The LVI5OR3 bit is one-time writeable by the user
only after each POR (power-on reset). The CONFIG registers are not in the
FLASH memory but are special registers containing one-time writeable
latches after each reset. Upon a reset, the CONFIG registers default to
predetermined settings as shown in Figure 8-1 and Figure 8-2.
Address:
Read:
Write:
Reset:
$001E
Bit 7
6
5
4
3
2
1
0
0
0
0
0
0
OSC-
STOPENB
0
0
0
0
0
0
0
= Unimplemented
Figure 8-1. Configuration Register 2 (CONFIG2)
Bit 0
SCIBD-
SRC
0
MC68HC908GR8 • MC68HC908GR4 Data Sheet, Rev. 7
Freescale Semiconductor
89