C API for BALTECH SDK

§ brp_DHWCtrl_ApspiSingleSend()

brp_errcode brp_DHWCtrl_ApspiSingleSend ( brp_protocol  protocol,
unsigned  CmdCode,
unsigned  Address,
unsigned  CmdData,
unsigned  Delay 
)

Send a single SPI programming instruction.

Parameters
[in]protocolused to execute the command
[in]CmdCodecommand code of instruction.
[in]Addresstarget address of instruction.
[in]CmdDatadata byte of instruction.
[in]DelayDelay to assert before next command in milliseconds.