BALTECH Docs
C API for BALTECH SDK
§
brp_DHWCtrl_ApspiSingleRecv()
brp_errcode
brp_DHWCtrl_ApspiSingleRecv
(
brp_protocol
protocol
,
unsigned
CmdCode
,
unsigned
Address
,
unsigned *
CmdData
)
Send a single SPI programming instruction and receive one data byte.
Parameters
[in]
protocol
used to execute the command
[in]
CmdCode
command code of instruction.
[in]
Address
target address of instruction.
[out]
CmdData
data Byte received.