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"
Functions | |
void | CHILI_FastForward (u32_t ticks) |
FastForward time by the given amount. More... | |
void | __wrap_BSP_Waiting () |
u8_t | __wrap_BSP_SPIPopByte (u8_t *InByte) |
ca_error | wakeup_callback (struct HWME_WAKEUP_indication_pset *params, struct ca821x_dev *pDeviceRef) |
ca_error | wakeup_callback_nonwaited (struct HWME_WAKEUP_indication_pset *params, struct ca821x_dev *pDeviceRef) |
int | main (void) |
Variables | |
void *const | magicNumber = (void *)0x12345 |
Unit tests for WAIT module.
void __wrap_BSP_Waiting | ( | ) |
void CHILI_FastForward | ( | u32_t | ticks | ) |
FastForward time by the given amount.
ticks | - Time in Ticks (1ms/100ms) |
int main | ( | void | ) |
ca_error wakeup_callback | ( | struct HWME_WAKEUP_indication_pset * | params, |
struct ca821x_dev * | pDeviceRef | ||
) |
ca_error wakeup_callback_nonwaited | ( | struct HWME_WAKEUP_indication_pset * | params, |
struct ca821x_dev * | pDeviceRef | ||
) |
void* const magicNumber = (void *)0x12345 |