Datasheet

Section 17 Host Interface [H8S/2138 Group]
Rev. 4.00 Jun 06, 2006 page 532 of 1004
REJ09B0301-0400
Bit 0—Output Buffer Full (OBF): Set to 1 when the slave processor writes to ODR1. Cleared to
0 when the host processor reads ODR1.
Bit 0
OBF Description
0 [Clearing condition]
When the host processor reads ODR1 or the slave writes 0 in the OBF bit
(Initial value)
1 [Setting condition]
When the slave processor writes to ODR1
Table 17.3 shows the conditions for setting and clearing the STR1 flags.
Table 17.3 Set/Clear Timing for STR1 Flags
Flag Setting Condition Clearing Condition
C/D Rising edge of hosts write signal
(IOW) when HA0 is high
Rising edge of hosts write signal (IOW) when
HA0 is low
IBF
*
Rising edge of hosts write signal
(IOW) when writing to IDR1
Falling edge of slaves internal read signal
(RD) when reading IDR1
OBF Falling edge of slaves internal write
signal (WR) when writing to ODR1
Rising edge of hosts read signal (IOR) when
reading ODR1
Note: * The IBF flag setting and clearing conditions are different when the fast A20 gate is
used. For details see table 17.8, Fast A20 Gate Output Signals.
17.2.7 Input Data Register 2 (IDR2)
Bit
Initial value
Slave Read/Write
Host Read/Write
7
IDR7
R
W
6
IDR6
R
W
5
IDR5
R
W
4
IDR4
R
W
3
IDR3
R
W
0
IDR0
R
W
2
IDR2
R
W
1
IDR1
R
W
IDR2 is an 8-bit read-only register to the slave processor, and an 8-bit write-only register to the
host processor. When CS2 is low, information on the host data bus is written into IDR2 at the
rising edge of IOW. The HA0 state is also latched into the C/D bit in STR2 to indicate whether the
written information is a command or data.
The initial values of IDR2 after a reset and in standby mode are undetermined.