SC32442B 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.
Содержание SC32442B54
Страница 1: ...SC32442B54 USER S MANUAL Revision 1 0 ...
Страница 43: ...PRODUCT OVERVIEW SC32442B RISC MICROPROCESSOR 1 42 NOTES ...
Страница 59: ...PROGRAMMER S MODEL SC32442B RISC MICROPROCESSOR 2 16 NOTES ...
Страница 123: ...ARM INSTRUCTION SET SC32442B RISC MICROPROCESSOR 3 64 NOTES ...
Страница 167: ...THUMB INSTRUCTION SET SC32442B RISC MICROPROCESSOR 4 44 NOTES ...
Страница 187: ...MEMORY CONTROLLER SC32442B RISC MICROPROCESSOR 5 20 NOTES ...
Страница 250: ...DMA SC32442B RISC MICROPROCESSOR 8 14 NOTES ...
Страница 308: ...PWM TIMER SC32442B RISC MICROPROCESSOR 10 20 NOTES ...
Страница 330: ...UART SC32442B RISC MICROPROCESSOR 11 22 NOTES ...
Страница 417: ...SC32442B RISC MICROPROCESSOR LCD CONTROLLER 15 45 NOTES ...
Страница 427: ...ADC AND TOUCH SCREEN INTERFACE SC32442B RISC MICROPROCESSOR 16 10 NOTES ...
Страница 511: ...BUS PRIORITIES SC32442B RISC MICROPROCESSOR 24 2 NOTES ...
Страница 562: ...K5D2G13ACM D075 Revision 1 0 December 2006 7 MCP MEMORY 2Gb 256Mb x8 NAND Flash Memory A Die ...
Страница 599: ...K5D2G13ACM D075 Revision 1 0 December 2006 44 MCP MEMORY 512Mb 16Mb x32 Mobile SDRAM C Die ...