em78p468l ELAN Microelectronics Corp, em78p468l Datasheet - Page 29

no-image

em78p468l

Manufacturer Part Number
em78p468l
Description
8-bit Microcontroller
Manufacturer
ELAN Microelectronics Corp
Datasheet
Product Specification (V1.5) 02.15.2007
(This specification is subject to change without further notice)
6.3 TCC and WDT Prescaler
Two 8-bit counters are available as prescalers for the TCC (Time Clock Counter) and
WDT (Watchdog Timer). The TCCP2~TCCP0 bits of the IOC71 register are used to
determine the ratio of the TCC prescaler. Likewise, the WDTP2~WDTP0 bits of the
IOC81 register are used to determine the WDT prescaler. The TCC prescaler
(TCCP2~TCCP0) is cleared by the instructions each time they are written into TCC,
while the WDT prescaler is cleared by the “WDTC” and “SLEP” instructions. Fig.7
depicts the circuit diagram of TCC and WDT.
R1 (TCC) is an 8-bit timer/counter. The clock source of TCC can be selected by
internal instruction clock or external signal input (edge selectable from the TCC control
register). If the TCC signal source is from the internal instruction clock, the TCC will be
incremented by 1 at every instruction cycle (without prescaler). If the TCC signal
source is from an external clock input, the TCC will be incremented by 1 at every falling
edge or rising edge of the TCC pin.
The Watchdog Timer is a free running on sub-oscillator. The WDT will keep on running
even after the oscillator driver has been turned off. During Normal mode, Green mode,
or Idle mode operation, a WDT time-out (if enabled) will cause the device to reset. The
WDT can be enabled or disabled at any time during the Normal mode and Green mode
by software programming. Refer to WDTE bit of IOC81 register. The WDT time-out
period is equal to (prescaler × 256 / (Fs/2)).
TCC
WDTE (IOC81)
Pin
Instruction Clock = Fosc /2
Fosc: CPU operate frequency
TE (IOC71)
WDT
WDT Time out
8 bit counter
8 to 1 MUX
Fig. 6-4(b) Block Diagram of WDT
Fig. 6-4(a) Block Diagram of TCC
TS (IOC71)
MUX
(IOC71)
PSRE
Prescaler
WDTP2~0
Prescaler
(IOC81)
TCCP2~0
(IOC71)
EM78P468N/EM78P468L
8-Bit Microcontroller
TCC overflow interrupt
(Fs:Sub oscillator)
Data Bus
8 to 1 MUX
TCC (R1)
Fs/2
• 23

Related parts for em78p468l