Revision 35880232 test/periphery-lld/PN532_v1/aos_test_PN532.h
test/periphery-lld/PN532_v1/aos_test_PN532.h | ||
---|---|---|
40 | 40 |
/******************************************************************************/ |
41 | 41 |
/* DATA STRUCTURES AND TYPES */ |
42 | 42 |
/******************************************************************************/ |
43 |
/** |
|
44 |
* @brief Custom data structure for the test. |
|
45 |
*/ |
|
46 |
typedef struct { |
|
47 |
/** |
|
48 |
* @brief RN532 driver to use. |
|
49 |
*/ |
|
50 |
PN532Driver *PRd; |
|
51 |
|
|
52 |
/** |
|
53 |
* @brief Timeout delay for certain tests. |
|
54 |
*/ |
|
55 |
apalTime_t timeout; |
|
56 |
} aos_test_pn532data_t; |
|
43 | 57 |
|
44 | 58 |
/******************************************************************************/ |
45 | 59 |
/* MACROS */ |
... | ... | |
52 | 66 |
#if defined(__cplusplus) |
53 | 67 |
extern "C" { |
54 | 68 |
#endif /* defined(__cplusplus) */ |
55 |
// aos_testresult_t aosTestP9221rFunc(BaseSequentialStream* stream, const aos_test_t* test);
|
|
69 |
aos_testresult_t aosTestPn532Func(BaseSequentialStream* stream, const aos_test_t* test);
|
|
56 | 70 |
#if defined(__cplusplus) |
57 | 71 |
} |
58 | 72 |
#endif /* defined(__cplusplus) */ |
... | ... | |
63 | 77 |
|
64 | 78 |
#endif /* (AMIROOS_CFG_TESTS_ENABLE == true) */ |
65 | 79 |
|
66 |
#endif /* AMIROOS_TEST_P9221R_H */
|
|
80 |
#endif /* AMIROOS_TEST_PN532_H */
|
|
67 | 81 |
|
Also available in: Unified diff