XC886/888CLM
Timers
User’s Manual
13-3
V1.3, 2010-02
Timers, V 1.0
13.1.2
Timer Modes
Timers 0 and 1 are fully compatible and can be configured in four different operating
modes, as shown in
. The bit field TxM in register TMOD selects the operating
mode to be used for each timer.
In modes 0, 1 and 2, the two timers operate independently, but in mode 3, their functions
are specialized.
Table 13-1
Timer 0 and Timer 1 Modes
Mode
Operation
0
13-bit timer/counter
The timer is essentially an 8-bit counter with a divide-by-32 prescaler. This
mode is included solely for compatibility with Intel 8048 devices.
1
16-bit timer/counter
The timer registers, TLx and THx, are concatenated to form a 16-bit timer/
counter.
2
8-bit timer/counter with auto-reload
The timer register TLx is reloaded with a user-defined 8-bit value in THx
upon overflow.
3
Timer 0 operates as two 8-bit timers/counters
The timer registers, TL0 and TH0, operate as two separate 8-bit counters.
Timer 1 is halted and retains its count even if enabled.
*
Содержание XC886CLM
Страница 1: ...User s Manual V1 3 2010 02 Microcontrollers 8 Bit XC886 888CLM 8 Bit Single Chip Microcontroller...
Страница 3: ...User s Manual V1 3 2010 02 Microcontrollers 8 Bit XC886 888CLM 8 Bit Single Chip Microcontroller...
Страница 324: ...XC886 888CLM Serial Interfaces User s Manual 12 52 V1 3 2010 02 Serial Interfaces V 1 0...
Страница 663: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG...