English
Language : 

S3C24A0 Datasheet, PDF (122/487 Pages) Samsung semiconductor – APPLICATION PROCESSOR FOR 2.5G/3G MOBILE PHONES
PWM TIMER
BSW rv0.1-0417-N01
S3C24A0 RISC MICROPROCESSOR
AUTO-RELOAD & DOUBLE BUFFERING
S3C24A0 PWM Timers have a double buffering feature, which can change the reload value for the next timer
operation without stopping the current timer operation. So, although the new timer value is set, a current timer
operation is completed successfully.
The timer value can be written into TCNTBn (Timer Count Buffer register) and the current counter value of the
timer can be read from TCNTOn (Timer Count Observation register). If TCNTBn is read, the read value is not the
current state of the counter but the reload value for the next timer duration.
The auto-reload is the operation, which copies the TCNTBn into TCNTn when TCNTn reaches 0. The value,
written into TCNTBn, is loaded to TCNTn only when the TCNTn reaches to 0 and auto-reload is enabled. If the
TCNTn is 0 and the auto-reload bit is 0, the TCNTn does not operate any further.
Start
TCNTBn = 150
Write
TCNTBn = 100
Write
TCNTBn = 200
Auto-reload
Interrupt
150
100
100
200
Figure 7-3. Example of Double Buffering Feature
7-4
Preliminary product information describes products that are in development,
for which full characterization data and associated errata are not yet available.
Specifications and information herein are subject to change without notice.