A96G150 User's manual
12. Timer 0/1/2/3/4/5
139
12.4.3
16-bit PPG mode
TIMER 3 has a PPG (Programmable Pulse Generation) function. In PPG mode, T3O/PWM3O pin
outputs up to 16-bit resolution PWM output. For this function, T3O/PWM3O pin must be configured as
a PWM output by setting P0FSRL[1:0
] to ‘
10
’
or P4FSRH
[3:2] to ‘
10
’
. Period of the PWM output is
determined by T3ADRH/T3ADRL, and duty of the PWM output is determined by T3BDRH/T3BDRL.
T3MS[1:0]
T3POL
Reload
A Match
T3CC
T3EN
P
r
e
s
c
a
l
e
r
fx
M
U
X
fx/2
fx/4
fx/64
fx/512
fx/204 8
fx/8
fx/1
Comparator
16-bit Cou nte r
T3CNTH/T3CNTL
16-bit B Data Re gister
T3BDRH/T3BDRL
Clear
B Match
Edg e
Detector
T3ECE
EC3
Buffer Reg ister B
Comparator
16-bit A Data Re gister
T3ADRH/T3ADRL
T3IFR
INT_ACK
Clear
To i nte rrupt
block
A Match
Buffer Reg ister A
Reload
Pulse
Gen erator
T3O
R
T3EN
2
T3EN
T3CRH
1
ADDRESS:1000H
INITIAL VALUE : 0000_0000B
–
T3MS1
T3MS0
–
–
–
T3CC
–
1
1
–
–
–
X
T3CK2
T3CRL
X
ADDRES S:1001H
INITIAL VALUE : 0000_0000B
T3CK1
T3CK0
T3IFR
–
T3POL
T3ECE T3CNTR
X
X
X
–
X
X
X
A Match
T3CC
T3EN
A Match
T3CC
T3EN
3
T3CK[2:0]
PWM3O
NOTE
: T3EN is automatically cleared to logic
“0” after one pulse is generated at a PPG one-shot mode.
Figure 55. 16-bit PPG Mode of Timer 3
Содержание A96G150
Страница 126: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 126 Figure 43 16 bit Timer Counter Mode Operation Example...
Страница 136: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 136 Figure 51 16 bit Timer Counter Mode Operation Example...
Страница 147: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 147 Figure 59 16 bit Timer Counter Mode Operation Example...
Страница 157: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 157 Figure 67 16 bit Timer Counter Mode Operation Example...
Страница 171: ...A96G150 User s manual 14 12 bit ADC 171 Figure 79 ADC Operation Flow Sequence...
Страница 333: ...A96G150 User s manual Revision history 333 Revision history Revision Date Notes 1 00 2022 06 22 First creation...