SPC7281 Epson Electronics America, Inc., SPC7281 Datasheet - Page 69

no-image

SPC7281

Manufacturer Part Number
SPC7281
Description
IEEE1394 Controller
Manufacturer
Epson Electronics America, Inc.
Datasheet
Hardware SBP2 Payload Size Set Register
Hardware Page Table Size Set Register
Address Register Name
Address Register Name
0x36
0x37
0x38
0x39
Set this register when the firmware handles data to a StreamArea to be used by the HwSBP2.
When the HwSBP2Stat.Exec.:”1" (in execution of HwSBP2), writing to this register is ignored.
When the RxStreamArea receives data the equivalent of this size, the BufMoniter.RxPayldRdy bit becomes “1”.
If free space the equivalent of a size set here exists in the TxStreamArea, the BufMoniter. TxPayldRdy bit
becomes “1”.
Payload Size [11:0]
Set a payload size to use for data transfer in byte.
The settable size is 2
The Write and Read of this register have different meanings depending on whether a PageTable is present
(setting of HwSBP2Ctl.PtNotPresent bit).
• When a PageTable is present
• When a PageTable is not present
Write: Set a PageTable size in byte. (The number of pages x 8 bytes)
Read: Indicates the remaining PageTable size.
Write: Set a data length.
Read: Indicates a new PageTable size based on the written data size. (The number of pages x 8 bytes)
When it is not written, zero can be read if the HwSBP2 correctly finishes. The remaining table size can be
read when it is in execution or it finishes incorrectly.
PayloadSize_H 7:
PayloadSize_L
PageTableSize_H 7: Page Table Size[15]
PageTableSize_L 7: Page Table Size[7]
6:
5:
4:
3: Payload Size[11]
2: Payload Size[10]
1: Payload Size[9]
0: Payload Size[8]
7: Payload Size[7]
6: Payload Size[6]
5: Payload Size[5]
4: Payload Size[4]
3: Payload Size[3]
2: Payload Size[2]
1: Payload Size[1]
0: Payload Size[0]
^n
6: Page Table Size[14]
5: Page Table Size[13]
4: Page Table Size[12]
3: Page Table Size[11]
2: Page Table Size[10]
1: Page Table Size[9]
0: Page Table Size[8]
6: Page Table Size[6]
5: Page Table Size[5]
4: Page Table Size[4]
3: Page Table Size[3]
2: Page Table Size[2]
1: Page Table Size[1]
0: Page Table Size[0]
(n:2 to 11) bytes.
Bit Symbol
Bit Symbol
R/W
R/W
R/W
R/W
EPSON
If (HwSBP2Ctl.PtNotPresent == 0) {
} else {
}
Set Payload Size (Bytes)
If (HwSBP2Ctl.HwSBP2Exec ==0) {
} else {
}
Write:Set PageElement *8 (bytes)
Read :Indicate Page Table Size
Write:Set Data Length (bytes)
Read :Indicate Create PageElement *8 (bytes)
Write is valid.
Write is invalid.
Description
Description
S1R72801F00A
H.Rst S.Rst B.Rst
H.Rst S.Rst B.Rst
0x00 0x00
0x00 0x00
0x00
0x00
0x00
0x00
65

Related parts for SPC7281