Intel 8XC196K Series User Manual page 593

Table of Contents

Advertisement

8XC196K x, J x , CA USER'S MANUAL
SLP_STAT
SLP_STAT
(8XC196K x )
The master can read the slave port status (SLP_STAT) register to determine the status of the slave.
The slave can read all bits and can write bits 3–7 for general-purpose status information. (The bits are
user-defined flags.) If the master attempts to write to SLP_STAT, it actually writes to SLP_CMD. To read
from this register (rather than P3_REG), the master must first write "1" to the pin selected by
SLP_CON.2.
7
KQ, KR
7
KS, KT
SMO/SF4
Bit
Bit
Number
Mnemonic
7
(KS, KT)
SMO/SF4
7:3 (KQ, KR)
SF4:0
6:3 (KS, KT)
SF3:0
2
CBE
1
IBE
0
OBF
On the 8XC196KQ, KR devices this bit functions only as SF4.
C-66
SF4
SF3
SF2
SF3
SF2
Shared Memory Operation/Status Field Bit 4
In shared memory mode bit 7 (SMO) indicates whether the bus
interface logic received a read (1) or a write (0). SMO can be read but
not written.
In standard slave mode bit 7 (SF4) is the high bit of the status field.
Status Field
The slave can write to these bits for general-purpose status infor-
mation. (The bits are user-defined flags).
Command Buffer Empty
This flag is set after the slave reads SLP_CMD. The flag is cleared and
the command buffer full (CBF) interrupt pending bit (INT_PEND1.0) is
set after the master writes to SLP_CMD.
Input Buffer Empty
This flag is set after the slave reads P3_PIN. The flag is cleared and
the IBF interrupt pending bit (INT_PEND.7) is set after the master
writes to P3_PIN.
Output Buffer Full
This flag is set after the slave writes to P3_REG. The flag is cleared
and the OBE interrupt pending bit (INT_PEND.6) is set after the master
reads P3_REG.
Reset State:
SF1
SF0
CBE
SF1
SF0
CBE
Function
Address:
1FF8H
00H
0
IBE
OBF
0
IBE
OBF

Advertisement

Table of Contents
loading

Table of Contents