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

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
TIMERS and TIMER/COUNTERS
F
To set a 30 ms timer interval for TC1A, given fxx = 4.19 MHz, follow these steps:
1. Select the timer/counter 1A mode register with a maximum setup time of 62.5 ms;
2. Calculate the TREF1A value:
3. Load the value 79H to the TREF1A register:
11-46
assume the TC1A counter clock = fxx/2
PROGRAMMING TIP — Setting a TC1A Timer Interval
30 ms =
TREF1A + 1 =
TREF1A value = 7AH – 1 = 79H
BITS
SMB
LD
LD
LD
LD
TREF1A value + 1
EMB
15
EA,#79H
TREF1A,EA
EA,#4CH
TMOD1A,EA
4.09 kHz
244 µs
30 ms
= 122.9 = 7AH
10
and TREF1A is set to FFH.
S3C72M5/C72M7/C72M9/P72M9 (Preliminary Spec)

Related parts for s3c72m9