
R01UH0336EJ0102 Rev.1.02
Page 920 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 16 TPBA
(8)
TPBAn Period Setting Register (TPBAnCMP0)
This is a 16-bit compare register for setting the PWM period.
Access
This register can be read/written in 16-bit units.
Address
<
TPBAn_base
0> + 100
H
Initial value
0000
H
This register is initialized by a reset from any source.
Caution
The PWM period is (TPB 1) count clock periods. Accordingly, for
PWM output with 100% duty cycle, the maximum settable value is FFFE
H
(FE
H
).
Caution
This register is a register to be reloaded. Rewrite during timer operation is
reflected at the next reload timing. For details on reload, see Section 16.5.2,
Compare Register Rewrite Operation.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
TPBAnCMP0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Table 16-14
TPBAnCMP0 Register Setting
Operating Mode
PWM Period
Minimum Value (Period)
Maximum Value (Period)
8 bits
TPB 1
1
100
H
16 bits
TPB 1
1
10000
H