The SET WINDOW command provides a means for the initiator to specify one or more windows within the scanning range of the device. This duplex scanner supports one window for each front and back page.
Table 3.32 SET WINDOW Command
|
|
| Bit | 7 |
|
|
| 6 | 5 | 4 | 3 | 2 |
| 1 | 0 |
|
|
| |||||||||
Byte |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
|
|
| Operation Code (24h) |
|
|
|
|
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
| Logical Unit Number |
|
| Reserved |
|
|
|
|
|
|
|
| |||||||||||
2 |
|
|
|
|
|
|
|
|
|
|
|
| Reserved |
|
|
|
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
|
|
|
|
|
|
|
|
|
|
| Reserved |
|
|
|
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
|
|
|
|
|
|
|
|
|
|
|
| Reserved |
|
|
|
|
|
|
|
|
|
| ||||
5 |
|
|
|
|
|
|
|
|
|
|
|
| Reserved |
|
|
|
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
|
|
| (MSB) |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
|
|
|
|
|
|
|
|
|
|
|
| Transfer Length |
|
|
|
|
|
|
|
|
|
| |
8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| (LSB) | ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
9 |
|
|
|
|
|
|
|
|
|
|
|
| Control |
|
|
|
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The transfer length specifies the length in bytes of the data that shall be sent during the DATA OUT phase. A transfer length of zero indicates that no window parameters data shall be transferred. This condition shall not be considered as an error.
The window parameters data shall consist of a header followed by one or more window descriptors. Each window descriptor specifies the location, size and scanning method used for a window.
The set window data header is defined in Table 3.33.
M3099GX/GH OEM Manual |