Timer 2
17-11
Keil Simulator
17.3 Timer 2
Timer/Counter 2 is quite different from the two other timers. The operation
mode is determined by the status of one or more of the register bits displayed
in Table 17−1.
Table 17−1.Timer/Counter 2 Control Bits
Register Bit
Toggle Box Name
T2CON.TR2
TR2
T2CON.C/T2
TC/T
T2CON.CP/RL2
CP/RL2
T2CON.EXEN2
EXEN2
T2CON.TCLK
TCLK
T2CON.RCLK
RCLK
Figure 17−6. Timer/Counter 2
The hexadecimal equivalent of the bit pattern created by toggling the individual
bits is displayed in the editable text display, T2CON. Writing a number into this
window will correctly program the states of the respective bit; the same way
it would program the individual bits of the device’s T2CON register.
By the same token, the checked or cleared state of the T2EX, T2 Pin, TF2 and
EXF2 boxes have the same effects on, or are affected the same way by the
P1.T2EX, T2CON.T2, T2CON.TF2 and T2CON.EXF2 pins respectively, as
discussed earlier.
The values and the implications of the contents of the editable text windows
T2 and RCAP2 are consistent with those of the actual device registers in the
MSC1210 system.
Содержание MSC1210
Страница 1: ... December 2002 User s Guide SBAU077 ...
Страница 149: ...Digital Filter 12 13 Analog to Digital Converter Figure 12 5 Filter Frequency Responses ...
Страница 162: ...12 26 ...
Страница 234: ...Timers 17 6 Figure 17 4 Timer Counter 1 Mode 1 Figure 17 5 Interrupt System ...
Страница 273: ...Serial Port I O 17 45 Keil Simulator Figure 17 19 Clock Control Peripheral Figure 17 20 USART0 Preipheral ...
Страница 282: ...C 4 ...