![]() |
nrfxlib API 3.3.99
|
| nrf_scan_error_t nrf_scan_send | ( | nrf_scan_t const * | p_scan, |
| nrf_scan_frame_t * | p_tx_frame ) |
#include <softperipheral/sCAN/include/nrf_scan.h>
sCAN send function.
This function configures the mode of operation and attempts to send a frame on the CAN bus.
| [in] | p_scan | Pointer to the sCAN driver instance. |
| [in] | p_tx_frame | Pointer to the TX frame structure that will be sent on the bus. |
| NRF_SCAN_SUCCESS | TX transaction has been dispatched successfully (does not imply correct reception). |
| NRF_SCAN_ERROR_BUSY | There is another TX transaction in the queue. |
| NRF_SCAN_ERROR_INVALID_STATE | nrfx driver state is invalid. |
| NRF_SCAN_ERROR_INVALID_PARAM | sCAN configuration contains an invalid parameter. |