Main functions.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
Functions | |
void | at86rfx_tal_rx_frame_cb (uint8_t *rx_frame_array) |
Callback that is called once a frame is received. More... | |
void | at86rfx_tal_tx_status_cb (uint8_t status) |
Callback that is called once tx is done. More... | |
void | main_cdc_disable (void) |
Called by CDC interface Callback running when USB Host disable cdc interface. More... | |
bool | main_cdc_enable (void) |
Called by CDC interface Callback running when USB Host enable CDC interface. More... | |
void | usb_rx_notify (void) |
Callback that is called once a byte is received from USB. More... | |
void at86rfx_tal_rx_frame_cb | ( | uint8_t * | rx_frame_array | ) |
Callback that is called once a frame is received.
rx_frame_array | Pointer for the received frame |
References FCS_LEN, and udi_cdc_write_buf().
void at86rfx_tal_tx_status_cb | ( | uint8_t | status | ) |
Callback that is called once tx is done.
status | Status of the transmission procedure |
References AT86RFX_CHANNEL_ACCESS_FAILURE, AT86RFX_SUCCESS, at86rfx_tx_frame(), FCS_LEN, test_assert_true, tx_buffer, TX_IDLE, tx_state, and udi_cdc_write_buf().
void main_cdc_disable | ( | void | ) |
Called by CDC interface Callback running when USB Host disable cdc interface.
Called by CDC interface Callback running when USB Host disable cdc interface.
References main_b_cdc_enable, and main_b_cdc_enumerated.
bool main_cdc_enable | ( | void | ) |
Called by CDC interface Callback running when USB Host enable CDC interface.
true | if cdc startup is successfully done |
Called by CDC interface Callback running when USB Host enable CDC interface.
true | if CDC startup is ok |
References main_b_cdc_enable, and main_b_cdc_enumerated.