English
Language : 

PXS20RM Datasheet, PDF (463/1368 Pages) Freescale Semiconductor, Inc – PXS20 Microcontroller
Enhanced Motor Control Timer (eTimer)
20.4.4.1 Watchdog Time-out Registers (WDTOL and WDTOH)
These registers are available only on eTimer_0.
eTimer_BASE + 0
1
2
3
4
5
6
7
8
9 10 11 12 13 14 15
$100
Read
Write
WDTOL
Reset
0000 0 00000000000
Figure 20-19. Watchdog Time-out Low Word Register (WDTOL)
eTimer_BASE + 0
1
2
3
4
5
6
7
8
9 10 11 12 13 14 15
$102
Read
Write
WDTOH
Reset
0000 0 00000000000
Figure 20-20. Watchdog Time-out High Word Register (WDTOH)
WDTO - Watchdog Time-out
These registers are combined to form the 32 bit time-out count for the Timer watchdog function. This
time-out count is used to monitor for inactivity on the inputs when channel 0 is in the quadrature
decode count mode. The watchdog function is enabled whenever WDTO contains a non-zero value
(although actual counting only occurs if channel 0 is in quadrature decode counting mode). The
watchdog time-out down counter is loaded whenever WDTOH is written. These registers are not byte
accessible. See Section 20.5.3.5, Watchdog Timer, for more information on the use of the watchdog
timer.
20.4.5 Configuration Registers
The base address of the configuration registers is equal to the base address of the eTimer plus an offset of
$10C.
20.4.5.1 Channel Enable Register (ENBL)
eTimer_BASE 0
+ $10C
Read
0
Write
Reset
0
1
2
3
4
5
6
7
8
9 10 11 12 13 14 15
000 0 00000
ENBL
000 0 00000111111
Figure 20-21. Channel Enable Register (ENBL)
ENBL - Timer Channel Enable
These bits enable the prescaler (if it is being used) and counter in each channel (ENBL[x] controls
channel number x). Multiple ENBL bits can be set at the same time to synchronize the start of separate
channels. If an ENBL bit is set, then the corresponding channel will start counting as soon as the
CNTMODE field has a value other than 000. When an ENBL bit is clear, the corresponding channel
maintains its current value.
1 = Timer channel is enabled. (default)
Freescale Semiconductor
PXS20 Microcontroller Reference Manual, Rev. 1
20-21