
_________________________________________________PSB 7110
Siemens Aktiengesellschaft
Page 51
3.3
Buffer Status
3.3.1
Buffer Status Request (Host
→
ISAR)
The request is fully specified by the Host Interrupt Status register (HIS) and the mailbox control
registers, i.e. additional parameters are not used. The IO-buffer status request is serviced
immediately after being received by the ISAR.
7
6
5
4
3
2
1
0
DPS
MSC
MDS
HIS
15
14
13
12
11
10
9
8
CTRL MSB
STS
7
6
5
4
3
2
1
0
CTRL LSB
0
DPS ... Datapath selection
00:
01:
10:
path 0
path 1
path 2
MSC ... Message coding
The message coding is different for datapath 0 and datapath 1, 2.
0111:
status request for datapath 0 (DPS=00)
0011:
status request for datapath 1 or 2 (DPS=01 or 10)
MDS ... Message destination/source
The destination coding is different for datapath 0 and datapath 1, 2.
01:
message is addressed to buffer (for DPS=00)
00:
message is addressed to buffer (for DPS=01 or 10)
STS ... Status Type Select
The status request will cause the generation of ...
0:
... a status response with additional information about the buffers
≠
0:
... a buffer available indication
The status response with additional information about messages and free locations in the receive and
transmit buffers is described in chapter 3.3.2.
The second option allows the host to force the generation of a buffer available indication as specified
in chapter 3.3.3. However there is a slight difference in the functionality of the resulting indication
message:
A buffer available indication that is initiated by the ISAR, only contains information about those
buffers where a transition from "not enough free space" to "enough free space for another message"
occurs. All buffers that are not serviced by that time, will not be indicated in a following buffer
available indication that results from the status transition of a different buffer.
However, a status request with STS
≠
0 forces the ISAR to generate a buffer available indication for
the transmit buffer of the selected datapath (specified in the HIS register), even if there is no state
transition for that buffer.
This command is useful to force a first data request message from the ISAR after a datapath is fully
configured, although the first request message is automatically generated after SART configuration.