|
Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
|
Unit tests for WAIT module. More...
#include <setjmp.h>#include <stdarg.h>#include <stddef.h>#include <cmocka.h>#include "cascoda-bm/cascoda_dispatch.h"#include "cascoda-bm/cascoda_evbme.h"#include "cascoda-bm/cascoda_spi.h"#include "cascoda-bm/cascoda_wait.h"#include "cascoda-util/cascoda_time.h"#include "ca821x_api.h"
Enumerations | |
| enum | TestMsduHandle { TestHandle1 = 0x11 , TestHandle2 = 0x22 , TestHandle3 = 0x33 } |
Functions | |
| void | CHILI_FastForward (u32_t ticks) |
| FastForward time by the given amount. More... | |
| void | __wrap_BSP_Waiting () |
| ca_error | __wrap_SPI_Send (const uint8_t *buf, u8_t *response, struct ca821x_dev *pDeviceRef) |
| int | main (void) |
Unit tests for WAIT module.
| enum TestMsduHandle |
| void __wrap_BSP_Waiting | ( | ) |
| ca_error __wrap_SPI_Send | ( | const uint8_t * | buf, |
| u8_t * | response, | ||
| struct ca821x_dev * | pDeviceRef | ||
| ) |
| void CHILI_FastForward | ( | u32_t | ticks | ) |
FastForward time by the given amount.
| ticks | - Time in Ticks (1ms/100ms) |
| int main | ( | void | ) |