
32
MITSUBISHI MICROCOMPUTERS
3807 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
Data bus
P3
1
latch
P3
1
direction register
P3
0
latch
P3
0
direction register
P8
7
/RTP
5
P8
7
latch
P8
7
direction register
P8
6
/RTP
4
P8
6
latch
P8
6
direction register
X
IN
1/16
X
CIN
"10"
"00"
"01"
Main clock division
"1"
"0"
Timer A, B
selection bit
1/2
Timer B interrupt
request
Timer A interrupt
request
P8
5
/RTP
3
Real time output
5
)
P8
5
latch
P8
5
direction register
P8
4
/RTP
2
P8
4
latch
P8
4
direction register
P8
3
/RTP
1
Real time output
3
)
P8
3
latch
P8
3
direction register
P8
2
/RTP0
P8
2
latch
PWM
0
èoó
PWM
1
èoó
0
1
State transition of timer count source stop bit
operation
stop
Timer count source stop bit is set to "1".
at reset
When an external start trigger is generated
(external trigger is selected)
When a start trigger bit is set to "1"
(internal trigger is selected)
A timer latch value is loaded into the timer
P8
2
direction register
Real time output
2
)
Real time output
4
)
Real time output
6
)
Real time output
7
)
Real time port
register 4 (8)
Real time port
register 5 (8)
Real time port
register 6 (8)
Real time port
register 7 (8)
Real time port
register 0 (8)
register 1 (8)
Real time port
register 2 (8)
Real time port
register 3 (8)
"0"
"1"
Output latch (8)
Timer B 0H latch (8)
Timer B 1H latch (8)
Timer B 0L latch (8)
Timer B 1L latch (8)
Timer B count
Timer A count
source stop bit
Timer A (16)
Timer A 1H latch (8)
Timer A 1L latch (8)
"0"
"1"
0
7
Timer B (16)
A timer latch value is loaded into the timer
P5
/PWM
1
/RTP0
7
P3
0
/RTP
6
Real time port R/W
Real time port output
Real time port output
Timer A write
Timer B write
Timer B read-out latch (8)
Real time port R/W
Real time port port
allocation selection bit
Timer A 0H latch (8)
Timer A 0L latch (8)
Timer A read-out latch (8)
Real time port port
allocation selection bit
Real time output
Real time port output selection bit (
P3
1)
Real time output
Real time port output selection bit (
P3
0)
Fig. 26. Block diagram of Real time output port