Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
dispatch_test.c File Reference

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"
Include dependency graph for dispatch_test.c:

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)
 

Detailed Description

Unit tests for WAIT module.

Enumeration Type Documentation

◆ TestMsduHandle

Enumerator
TestHandle1 
TestHandle2 
TestHandle3 

Function Documentation

◆ __wrap_BSP_Waiting()

void __wrap_BSP_Waiting ( )

◆ __wrap_SPI_Send()

ca_error __wrap_SPI_Send ( const uint8_t *  buf,
u8_t response,
struct ca821x_dev pDeviceRef 
)

◆ CHILI_FastForward()

void CHILI_FastForward ( u32_t  ticks)

FastForward time by the given amount.

Parameters
ticks- Time in Ticks (1ms/100ms)

◆ main()

int main ( void  )