EasyManua.ls Logo

ABOV SEMICONDUCTOR MC81F4204 - 17. Timer 2; 17.1 Registers (T2 DR, T2 CR)

Default Icon
155 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MC81F4204
April 24, 2012 Ver.1.41 103
17. Timer 2
The 8-bit timer 2 is an 8-bit general-purpose timer. Timer 2 have two operating modes, you can select
one of them using the appropriate T2SCR setting:
- Interval timer mode (Toggle output at T2O pin)
- Capture input mode with a rising or falling edge trigger at EXT5 pin
17.1 Registers
T2DR
TIMER 2 DATA REGISTER 00B7H
7 6 5 4 3 2 1 0
T2DR
One byte register Reset value: FFH
R/W R/W R/W R/W R/W R/W R/W R/W
A 8-bit compare value register for the timer 2 match interrupt.
T2CR
TIMER 2 COUNTER REGISTER 00B8H
7 6 5 4 3 2 1 0
T2CR
One byte register Reset value: 00H
R R R R R R R R
A 8-bit count register for the timer 2

Table of Contents