Access Restricted

This page contains internal documentation that is not publicly available.


DHWCtrl.SpiTransfer

Clock DataOut out on MOSI and capture DataIn on MISO on the same clock edges (full duplex). DataIn is always exactly as long as DataOut. For a write-only slave, ignore DataIn; for a read phase, send dummy bytes to generate the clocks. The whole buffer is clocked as one contiguous burst - wrap it in a chip-select window on the caller side (see SpiActivate).

Properties

Parameters (request frame)

Name Type/Size Description
Index Integer (8 bits) Zero-based instance index within this peripheral category. The valid range is firmware / hardware-variant specific; discoverable via ListPeripherals.
Length of DataOut Integer (16 bits) Length of DataOut in bytes
DataOut Raw data Bytes to shift out on MOSI.

Returned values (response frame)

Name Type/Size Description
Length of DataIn Integer (16 bits) Length of DataIn in bytes
DataIn Raw data Bytes captured on MISO; same length as DataOut.