MCMC68HC05L16 Freescale Semiconductor, Inc, MCMC68HC05L16 Datasheet - Page 67

no-image

MCMC68HC05L16

Manufacturer Part Number
MCMC68HC05L16
Description
M68hc05 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
COPE — COP Enable
COPC — COP Clear
7.5.7 Miscellaneous Register
FTUP — OSC Time Up Flag
STUP — XOSC Time Up Flag
Bits 5 and 4 — Reserved
SYS1 and SYS0 — System Clock Select
Freescale Semiconductor
When the COPE bit is logic 1, the COP reset function is enabled. This bit is cleared on reset (including
COP timeout reset) and write to this bit is allowed only once after reset.
Writing logic 1 to the COPC bit clears the 2-bit divider to prevent COP timeout. (The COP timeout
period depends on the TBI rate.) This bit is a write-only bit and returns to logic 0 when read.
Power-on detection and clearing the FOSCE bit clears this read-only bit. This bit is set by the overflow
of the POR counter. Reset does not affect this bit.
Power-on detection clears this read-only bit. This bit is set after the timebase has counted 8072 clocks.
Reset does not affect this bit.
These bits are not used and always read as logic 0.
These two bits select the system clock source. On reset, the SYS1 and SYS0 bits are initialized to 1
and 0, respectively.
0 = During POR or OSC shut down
1 = OSC clock available for the system clock
0 = XOSC not stabilized or no signal on XOSC1 and XOSC2 pins
1 = XOSC clock available for the system clock
Address:
Do not switch the system clock to XOSC (SYS1 and SYS0 = 11) when the
XOSC clock is not available. The XOSC clock is available when the STUP
flag is set.
Do not switch the system clock to OSC (SYS1 and SYS 0 = 00, 01, or 10)
when the OSC clock is not available. The OSC clock is available when the
FTUP flag is set.
Reset:
Read:
Write:
$003E
FTUP
Bit 7
*
MC68HC05L16 • MC68HC705L16 Data Sheet, Rev. 4.1
Figure 7-7. Miscellaneous Register (MISC)
= Unimplemented
STUP
6
*
5
0
0
* Unaffected by reset but initialized by power-on reset
NOTE
4
0
0
SYS1
3
1
SYS0
2
0
FOSCE
1
1
OPTM
Bit 0
0
Timebase
67

Related parts for MCMC68HC05L16