![SCT Scout SC4415 Скачать руководство пользователя страница 36](http://html.mh-extra.com/html/sct/scout-sc4415/scout-sc4415_user-manual_1220014036.webp)
Document# SCT-UM026FVC
Page 36 of 46
Confidential
5.3.8
w_write
Name
w_write
Queue Yes
Synopsis
w_write
w_write <WIDTH>
Description Set the Write Data width
Detail
<WIDTH> Write Data Width:
Set the data width for an SPI Write operation.
0 = No Write Data
1 = 1-Byte (8-bits)
2 = 2-Byte (16-bits)
3 = 4-Byte (32-bits)
5.3.9
w_read
Name
w_read
Queue Yes
Synopsis
w_read
w_read <WIDTH>
Description Set the Read Data width
Detail
<Width> Read Data Width:
Set the data width for an SPI Read operation.
0 = No Read Data
1 = 1-Byte (8-bits)
2 = 2-Byte (16-bits)
3 = 4-Byte (32-bits)
5.3.10
wait_read
Name
wait_read
Queue Yes
Synopsis
wait_read
wait_read <CYCLES>
Description Set the number of Wait Cycles before the read data
Detail
<CYCLES> Read Wait Cycles:
Insert a delay for read operations specified in clock cycles. Use to account for bus
turnaround time. Refer to the slave device specification for timing details.
Range = 0-255 Cycles
5.3.11
s_write
Name
s_write
Queue Yes
Synopsis
s_write <WORDS> <CMD> <ADDR> <DATA1> … [<DATAn>]
Description Perform an SPI Write operation
Detail
SPI Write Operation:
<WORDS> Word Count:
The number of words to write. If WORDS is greater than 1, the write is a Burst Write
operation.
Based on the value of ‘
0-Byte, Range = 0
1-Byte, Range = 1-24
2-Byte, Range = 1-12
4-Byte, Range = 1-6
<CMD> Command Type:
Command as specified by the SPI device manufacture.
Range = 0x00 to the value of ‘
<ADDR> Register Address:
Register Address as specified by the SPI device manufacture.
Range = 0x00 to the value of ‘
<DATAn> Data Word(s):