amiro-os / unittests / lld / inc / ut_lld_rtcan.h @ 891fd122
History | View | Annotate | Download (472 Bytes)
| 1 | d2931db9 | Julian L | #ifndef UT_LLD_RTCAN_H
|
|---|---|---|---|
| 2 | #define UT_LLD_RTCAN_H
|
||
| 3 | |||
| 4 | |||
| 5 | e7131d09 | Julian Leichert | #include <hal_can.h> |
| 6 | d2931db9 | Julian L | #include <aos_unittest.h> |
| 7 | #include <amiro-lld.h> |
||
| 8 | #include <stdint.h> |
||
| 9 | |||
| 10 | typedef struct{ |
||
| 11 | /**
|
||
| 12 | * Type of Operation to be tested
|
||
| 13 | * send or receive
|
||
| 14 | * @brief operation
|
||
| 15 | */
|
||
| 16 | char* operation;
|
||
| 17 | }ut_rtcandata_t; |
||
| 18 | |||
| 19 | |||
| 20 | #ifdef __cplusplus
|
||
| 21 | extern "C" { |
||
| 22 | #endif
|
||
| 23 | aos_utresult_t utLldRtCanFunc(BaseSequentialStream* stream, aos_unittest_t* ut); |
||
| 24 | #ifdef __cplusplus
|
||
| 25 | } |
||
| 26 | #endif
|
||
| 27 | |||
| 28 | #endif // UT_LLD_RTCAN_H |