Samsung YP-P10 User Manual Page 314

  • Download
  • Add to my manuals
  • Print
  • Page
    / 596
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 313
S3C2440A RISC MICROPROCESSOR PWM TIMER
10-3
PWM TIMER OPERATION
PRESCALER & DIVIDER
An 8-bit prescaler and a 4-bit divider make the following output frequencies:
4-bit Divider Settings Minimum Resolution
(prescaler = 0)
Maximum Resolution
(prescaler = 255)
Maximum Interval
(TCNTBn = 65535)
1/2 (PCLK = 50 MHz) 0.0400 us (25.0000 MHz) 10.2400 us (97.6562 kHz) 0.6710 sec
1/4 (PCLK = 50 MHz) 0.0800 us (12.5000 MHz) 20.4800 us (48.8281 kHz) 1.3421 sec
1/8 (PCLK = 50 MHz) 0.1600 us ( 6.2500 MHz) 40.9601 us (24.4140 kHz) 2.6843 sec
1/16 (PCLK = 50 MHz) 0.3200 us ( 3.1250 MHz) 81.9188 us (12.2070 kHz) 5.3686 sec
BASIC TIMER OPERATION
TCMPn
1 0
TCNTn 3 3 2 1 0 2 1 0 0
Start bit=1 Timer is started TCNTn=TCMPn Auto-reload TCNTn=TCMPn Timer is stopped
TOUTn
Command
Status
TCNTBn=3
TCMPBn=1
Manual update=1
Auto-reload=1
TCNTBn=2
TCMPBn=0
Manual update=0
Auto-reload=1
Interrupt request
Auto-reload
Interrupt request
Figure 10-2. Timer Operations
A timer (except the timer ch-5) has TCNTBn, TCNTn, TCMPBn and TCMPn. (TCNTn and TCMPn are the names of
the internal registers. The TCNTn register can be read from the TCNTOn register) The TCNTBn and the TCMPBn are
loaded into the TCNTn and the TCMPn when the timer reaches 0. When the TCNTn reaches 0, an interrupt request
will occur if the interrupt is enabled.
Page view 313
1 2 ... 309 310 311 312 313 314 315 316 317 318 319 ... 595 596

Comments to this Manuals

No comments