R8C/20 Group, R8C/21 Group 14. Timers
Rev.2.00 Aug 27, 2008 Page 210 of 458
REJ09B0250-0200
Figure 14.73 Registers TRDGRAi, TRDGRBi, TRDGRCi and TRDGRDi in PWM Mode
The following registers are disabled in the PWM mode:
TRDDF0, TRDDF1, TRDIORA0, TRDIORC0, TRDIORA1 and TRDIORC1
i = 0 or 1
BFCi, BFDi: Bits in TRDMR register
Table 14.28 TRDGRji Register Functions in PWM Mode
Register Setting Register Function PWM Output Pin
TRDGRAi − General register. Set the PWM period. −
TRDGRBi − General register. Set the changing point of PWM output TRDIOBi
TRDGRCi BFCi = 0 General register. Set the changing point of PWM output TRDIOCi
TRDGRDi BFDi = 0 TRDIODi
TRDGRCi BFCi = 1 Buffer register. Set the next PWM period
(refer to 14.3.2 Buffer Operation.)
−
TRDGRDi BFDi = 1 Buffer register. Set the changing point of the next PWM
output
(refer to 14.3.2 Buffer Operation.)
TRDIOBi
Timer RD General Register Ai, Bi, Ci and Di (i = 0 or 1)
(1)
Symbol Address After Reset
TRDGRA0
TRDGRB0
TRDGRC0
TRDGRD0
TRDGRA1
TRDGRB1
TRDGRC1
TRDGRD1
0149h-0148h
014Bh-014Ah
014Dh-014Ch
014Fh-014Eh
0159h-0158h
015Bh-015Ah
015Dh-015Ch
015Fh-015Eh
FFFFh
FFFFh
FFFFh
FFFFh
FFFFh
FFFFh
FFFFh
FFFFh
RW
NOTE:
1.
(b8)
b0
(b15)
b7 b0b7
RW
Function
Ref er to
Table 14.28 TRDGRji Register Functions in PWM Mode
Access the TRDGRAi to TRDGRDi registers in 16-bit units. Do not access them in 8-bit units.