Revision 8d4d058e test/periphery-lld/DW1000_v1/aos_test_DW1000.h
test/periphery-lld/DW1000_v1/aos_test_DW1000.h | ||
---|---|---|
50 | 50 |
*/ |
51 | 51 |
DW1000Driver* driver; |
52 | 52 |
|
53 |
/** |
|
54 |
* @brief Event source to listen to. |
|
55 |
*/ |
|
56 |
event_source_t* evtsource; |
|
57 |
|
|
58 |
/** |
|
59 |
* @brief Event flags to watch. |
|
60 |
*/ |
|
61 |
eventflags_t evtflags; |
|
62 |
|
|
53 | 63 |
} aos_test_dw1000data_t; |
54 | 64 |
|
55 | 65 |
/******************************************************************************/ |
... | ... | |
63 | 73 |
#if defined(__cplusplus) |
64 | 74 |
extern "C" { |
65 | 75 |
#endif /* defined(__cplusplus) */ |
66 |
aos_testresult_t aosTestDw1000Func(BaseSequentialStream* stream, aos_test_t* test); |
|
76 |
aos_testresult_t aosTestDw1000Func(BaseSequentialStream* stream, const aos_test_t* test);
|
|
67 | 77 |
|
68 | 78 |
extern uint8_t s1switch; |
69 | 79 |
extern int instance_anchaddr; |
... | ... | |
75 | 85 |
int32_t inittestapplication(uint8_t s1switch, DW1000Driver* drv); |
76 | 86 |
int decarangingmode(uint8_t s1switch); |
77 | 87 |
void addressconfigure(uint8_t s1switch, uint8_t mode); |
78 |
void set_SPI_chip_select(void); |
|
79 |
void clear_SPI_chip_select(void); |
|
80 | 88 |
void reset_DW1000(void); |
81 |
void setHighSpeed_SPI(bool speedValue, DW1000Driver* drv); |
|
82 |
apalGpioState_t port_CheckEXT_IRQ(void) ; |
|
83 |
void process_deca_irq(void); |
|
84 | 89 |
|
85 | 90 |
#if defined(__cplusplus) |
86 | 91 |
} |
Also available in: Unified diff