Chapter 8
8-bit Timer
8-bit Timer Control Registers VIII - 7
Timer 4 Prescaler Selection Register (CK4MD: 0x03F96)
Timer 5 Prescaler Selection Register (CK5MD: 0x03F97)
bp76543 210
Bit name - - TM4ADD1-0 TM4ADDEN TM4PSC1-0 TM4BAS
At reset00000 000
Access R R R/W R/W R/W R/W R/W R/W
bp Bit name Description
7 to 6 - Always read as 0.
5 to 4 TM4ADD1-0
Position of additional pulse (within 4 cycles of PWM basic waveform)
00: No pulse
01: At second cycle
10: At first and third cycle
11: At first, second and third cycle
3TM4ADDEN
PWM output with additional pulses control
0: Disabled (8-bit PWM output)
1: Enabled
2 to 0
TM4PSC1-0
TM4BAS
Clock source select
000: HCLK/4
010: HCLK/16
100: HCLK/32
110: HCLK/64
X01: SYSCLK/2
X11: SYSCLK/4
bp76543 210
Bit name - - - - - TM5PSC1-0 TM5BAS
At reset00000 000
Access R R R R R R/W R/W R/W
bp Bit name Description
7 to 3 - Always read as 0.
2 to 0
TM5PSC1-0
TM5BAS
Clock source select
000: HCLK/4
010: HCLK/16
100: HCLK/64
110: HCLK/128
X01: SYSCLK/2
X11: SYSCLK/8