R8C/20 Group, R8C/21 Group 14. Timers
Rev.2.00 Aug 27, 2008 Page 172 of 458
REJ09B0250-0200
Figure 14.34 Registers TRDSTR and TRDMR in Input Capture Function
Timer RD Start Register
(1)
Symbol Address After Reset
TRDSTR
0137h 11111100b
Bit Symbol Bit Name Function RW
NOTE:
1.
b3 b2
CSEL1
b1 b0
Set to 1 in the input capture function
TRD1 count operation select bit Set to 1 in the input capture function
Set the TRDSTR register using the MOV instruction (do not use the bit handling instruction). Refer to
14.3.12.1
TRDSTR Re gis te r
of
Notes on Timer RD.
RW
RW
Nothing is assigned. If necessary, set to 0.
When read, the content is 1.
—
TRD0 count operation select bit
b7 b6 b5 b4
—
(b7 - b4)
CSEL0
11
TSTART0 RW
TSTART1 RW
TRD1 count start flag 0 : Count stops
1 : Count starts
TRD0 count start flag 0 : Count stops
1 : Count starts
Timer RD Mode Register
Symbol Address After Reset
TRDMR
0138h 00001110b
Bit Symbol Bit Name Function RW
b3 b2
BFD0
b1 b0
SYNC
b7 b6 b5 b4
RW
—
(b3 - b1)
—
Timer RD synchronous bit 0 : TRD0 and TRD1 registers
operate independently
1 : TRD0 and TRD1 registers
operate synchronously
Nothing is assigned. If necessary, set to 0.
When read, the content is 1.
RW
TRDGRD0 register function
selection bit
0 : General register
1 : Buffer register of TRDGRB0 register
TRDGRC1 register function
selection bit
0 : General register
1 : Buffer register of TRDGRA1 register
RW
TRDGRC0 register function
selection bit
0 : General register
1 : Buffer register of TRDGRA0 register
BFC0 RW
RW
BFC1
BFD1
TRDGRD1 register function
selection bit
0 : General register
1 : Buffer register of TRDGRB1 register