fct_tests.h 665 Bytes


/**
 * @ingroup     examples
 * @{
 *
 * @file
 * @brief   Common header for at86rf2xx tests
 *
 */
#ifndef FCT_TEST_H_
#define FCT_TEST_H_

#include <stdint.h>

#include "at86rf2xx.h"
#include "at86rf2xx_params.h"
#include "auto_init.h"

#ifdef __cplusplus
extern "C" {
#endif

/**
 * @brief   Application-internal functions and variables for at86rf2xx tests
 * @internal
 * @{
 */
#define AT86RF2XX_NUM   (sizeof(at86rf2xx_params) / sizeof(at86rf2xx_params[0]))

extern at86rf2xx_t devs[AT86RF2XX_NUM];
//int test_SPI(int argc, char **argv);
//int test_AT86(int argc, char **argv);
/**
 * @}
 */

#ifdef __cplusplus
}
#endif

#endif /* FCT_TEST_H_ */
/** @} */