MC96FR116C
November, 2018 Rev.1.8
87
11.4.2.7 Register Map
Name
Address
Dir
Default
Description
T0CR
B2
H
R/W
00
H
Timer 0 Mode Control Register
T0
B3
H
R
00
H
Timer 0 Register
T0DR
B3
H
W
FF
H
Timer 0 Data Register
CDR0
B3
H
R
00
H
Capture 0 Data Register
T1CR
B4
H
R/W
00
H
Timer 1 Mode Control Register
Source Clock
(f
SCLK
)
Duty Cycle(1+80
H
)X250ns = 32.25us
T1
00
01
02
03
04
7F
80
81
82
3FF
00
01
02
T1/PWM1
POL0 = 1
T1/PWM1
POL0 = 1
Period Cycle(1+3FF
H
)X250ns = 256us
3.9kHz
PWM1PR(8-bit)
PWM1DR(8-bit)
1
1
FF
H
0
0
80
H
T1CK[1:0] = 00
H
(f
SCLK
)
PWM1HR = 03
H
PWM1PR = FF
H
PWM1DR = 80
H
Source Clock
(f
SCLK
)
T1
T1/PWM1
POL0 = 1
Duty Cycle
(1+05
H
)X2us = 12us
Duty Cycle
(1+05
H
)X2us = 12us
Duty Cycle
(1+05
H
)X2us = 12us
Period Cycle
(1+0E
H
)X2us = 32us
31.25KHz
Period Cycle
(1+0A
H
)X2us = 22us
45.5KHz
Write 0A
H
to PWM1PR
T1CR[1:0] = 10
H
(2us)
PWM1HR = 00
H
PWM1PR = 0E
H
PWM1DR = 05
H
Figure 11-14 Example of PWM Waveform (In case frequency of SCLK(=f
SCLK
) is 4MHz
)
Figure 11-15 Behavior of waveform when changing period (In case f
SCLK
is 4MHz)