Microchip® Advanced Software Framework

unit_tests.h File Reference

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_set_dtr (bool b_enable)
 Call back from USB to notify a terminal connection to the CDC driver. More...
 

void at86rfx_tal_rx_frame_cb ( uint8_t *  rx_frame_array)

Callback that is called once a frame is received.

Parameters
rx_frame_arrayPointer for the received frame
void at86rfx_tal_tx_status_cb ( uint8_t  status)

Callback that is called once tx is done.

Parameters
statusStatus of the transmission procedure

References AT86RFX_SUCCESS, and test_assert_true.

void main_cdc_set_dtr ( bool  b_enable)

Call back from USB to notify a terminal connection to the CDC driver.

Parameters
b_enableindication for connect/disconnect of terminal to CDC.

References DEFINE_TEST_ARRAY, DEFINE_TEST_CASE, DEFINE_TEST_SUITE, run_at86rfx_init_test(), run_at86rfx_reg_access_test(), run_at86rfx_tx_test(), and test_suite_run().