Chapter 8
8-bit Timer
VIII - 6 8-bit Timer Control Registers
Timer 2 Prescaler Selection Register (CK2MD: 0x03F86)
Timer 3 Prescaler Selection Register (CK3MD: 0x03F87)
bp76543 210
Bit name - - TM2ADD1-0 TM2ADDEN TM2PSC1-0 TM2BAS
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 TM2ADD1-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
3TM2ADDEN
PWM output with additional pulses control
0: Disabled (8-bit PWM output)
1: Enabled
2 to 0
TM2PSC1-0
TM2BAS
Clock source select
000: HCLK/4
010: HCLK/16
100: HCLK/32
110: HCLK/64
X01: SYSCLK/2
X11: SYSCLK/4
bp 76543210
Bit name----- TM3PSC1-0TM3BAS
At reset00000000
AccessRRRRRR/WR/WR/W
bp Bit name Description
7 to 3 - Always read as 0.
2 to 0
TM3PSC1-0
TM3BAS
Clock source select
000: HCLK/4
010: HCLK/16
100: HCLK/64
110: HCLK/128
X01: SYSCLK/2
X11: SYSCLK/8