BALTECH Docs |
C API for BALTECH SDK
|
brp_errcode brp_DHWCtrl_ApspiSingleSend | ( | brp_protocol | protocol, |
unsigned | CmdCode, | ||
unsigned | Address, | ||
unsigned | CmdData, | ||
unsigned | Delay | ||
) |
Send a single SPI programming instruction.
[in] | protocol | used to execute the command |
[in] | CmdCode | command code of instruction. |
[in] | Address | target address of instruction. |
[in] | CmdData | data byte of instruction. |
[in] | Delay | Delay to assert before next command in milliseconds. |