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]protocolused to execute the command
[in]CmdCodecommand code of instruction.
[in]Addresstarget address of instruction.
[out]CmdDatadata Byte received.