Microcontroller User's Guide

USER’S GUIDE
050396 101/173
102
RPC STATUS REGISTER – STATUS (ADDRESS 0DAH) Figure 12–5
ST7 ST6 ST5 ST4 IAO FO IBF OBF
Bit Description:
RPS.7–4: General purpose status bits that can be written by the DS5001/2 and can be
read by the external host.
Initialization: Cleared when RPCON=0.
Read Access: Can be read by the DS5001/2 and host CPU when RPC mode is invoked.
Write Access: Can be written by the DS5001/2 when RPC mode is invoked.
RPS.3: IA0
Stores the value of the external system A0 for the last DBBIN Write when
a valid write occurs (as determined by the IBF flag).
Initialization: Cleared when RPC=0.
Read Access: Can be read by the DS5001/2 and host CPU when in RPC mode.
Write Access: Automatically written when a valid DBBIN Write occurs. Cannot be written
otherwise.
RPS.2: F0
General purpose flag written by the DS5001/2 and read by the external host.
Initialization: Cleared when RPC=0.
Read Access: Can be read by the DS5001/2 and host CPU when in RPC mode.
Write Access: Can be written by the DS5001/2 when in RPC mode.
RPS.1: IBF
Input Buffer Full Flag is set following a write by the external host, and is
cleared following a read of the DBBIN by the DS5001/2.
Initialization: Cleared when RPC=0.
Read Access: Can be read by the DS5001/2 and host CPU when in RPC mode.
Write Access: Written automatically as part of the RPC communication. Cannot be set by
the application software.
RPS.0: OBF
Output Buffer Full Flag is set following a write of the DBBOUT by the
DS5001/2, and is cleared following a read of the DBBOUT by the external
host.
Initialization: Cleared when RPC=0.
Read Access: Can be read by the DS5001/2 and host CPU when in RPC mode.
Write Access: Written automatically as part of the RPC communication. Cannot be set by
the application software.