English
Language : 

3807_03 Datasheet, PDF (219/247 Pages) Renesas Technology Corp – 8-BIT SINGLE-CHIP MICROCOMPUTER
APPENDIX
3.5 List of registers
Real time port control register 0
b7 b6 b5 b4 b3 b2 b1 b0
Real time port control register 0 (RTPCON0) [Address : 2B16]
B
Name
Function
At reset R W
0
Timer A, Timer B count source 0 : f(XIN)/2
selection bit
1 : f(XIN)/16
(Note 1)
(Note 2)
0
Real time port • port allocation 0 : 4-4 division
selection bit
(Corresponding ports to the Timer A :
P82-P85
Corresponding ports to the Timer B :
P86, P87, P30, P31)
1
1 : 2-6 division
0
(Corresponding ports to the Timer A :
P82-P87
Corresponding ports to the Timer B :
P30, P31)
Timer A start trigger selection 0 : Internal trigger
bit
(occurs by writing “1” to bit 3.)
2
1 : External trigger
(occurs by inputting trigger to the INT4
pin.)
(Note 3)
Timer A start trigger bit
3
0 : No operating by writing “0”
1 : Timer A starts counting by
writing “1”
(when bit 2 is set to “0”)
Timer A count source stop bit 0 : Operating
4
(is set to “0” automatically at genera-
ting a start trigger.)
1 : Stop
Timer B start trigger selection 0 : Internal trigger
bit
(occurs by writing “1” to bit 6.)
5
1 : External trigger
(occurs by inputting trigger to the INT4
pin.)
(Note 3)
Timer B start trigger bit
6
0 : No operating by writing “0”
1 : Timer B starts counting by
writing “1”
(when bit 5 is set to “0”)
0
(Note 4)
0
(Note 4)
1
0
(Note 4)
0
(Note 4)
Timer B count source stop bit 0 : Operating
7
(is set to “0” automatically at genera-
ting a start trigger.)
1
1 : Stop
Note 1: In low-speed mode f(XCIN)/2 is selected.
2: In low-speed mode f(XCIN)/16 is selected.
3: The rising edge or falling edge of the external trigger is switched by the INT4
interrupt edge selection bit (bit 4) of the interrupt edge selection register
(Address : 3A16.) (However, when the One-shot pulse generation mode is
selected, a rising/falling double edge trigger is generated in spite of the
contents of the INT4 interrupt edge selection bit.)
4: At a read operation, “0” is always read out.
Fig. 3.5.24 Structure of Real time port control register 0
3807 GROUP USER’S MANUAL
3-47