s3c72m9 Samsung Semiconductor, Inc., s3c72m9 Datasheet - Page 287

no-image

s3c72m9

Manufacturer Part Number
s3c72m9
Description
The S3c72m5/s3c72m7/s3c72m9 Single-chip Cmos Microcontroller Has Been Designed For High Performance Using Samsung S
Manufacturer
Samsung Semiconductor, Inc.
Datasheet
S3C72M5/C72M7/C72M9/P72M9 (Preliminary Spec)
TC1A EVENT COUNTER FUNCTION
Timer/counter 1A can monitor system 'events' by using the external clock input at the TCL1 pin as the counter
source. The TC1A mode register selects rising or falling edge detection for incoming clock signals. The counter
register TCNT1A is incremented each time the selected state transition of the external clock signal occurs.
With the exception of the different TMOD1A.4–TMOD1A.6 settings, the operation sequence for TC1A's event counter
function is identical to its programmable timer/counter function. To activate the TC1A event counter function.
— Set TMOD1A.7 to "0" to be operated as timer/counter 1A.
— Set TMOD1A.2 to "1" to enable TC1A.
— Clear TMOD1A.6 to "0" to select the external clock source at the TCL1 pin.
— Select TCL1 edge detection for rising or falling signal edges by loading the appropriate values to TMOD1A.5 and
— Pin P3.3 must be set to input mode.
TMOD1A.4.
TMOD1A.5
Table 11-13. TMOD1A Settings for TCL1 Edge Detection
0
0
TMOD1A.4
0
1
TCL1 Edge Detection
Falling edges
Rising edges
TIMERS and TIMER/COUNTERS
11-39

Related parts for s3c72m9