Blame view

RIOT/tests/test_perso_at86RF/fct_tests.h 665 Bytes
fb11e647   vrobic   reseau statique a...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
  
  
  /**
   * @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_ */
  /** @} */