Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
Loading...
Searching...
No Matches
spi-stubs.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include "openthread/platform/spi-slave.h"
#include "ca821x-posix-thread/posix-platform.h"
Include dependency graph for spi-stubs.c:

Functions

otError otPlatSpiSlaveEnable (otPlatSpiSlaveTransactionCompleteCallback aCallback, otPlatSpiSlaveTransactionProcessCallback aProcessCallback, void *aContext)
void otPlatSpiSlaveDisable (void)
otError otPlatSpiSlavePrepareTransaction (uint8_t *anOutputBuf, uint16_t anOutputBufLen, uint8_t *anInputBuf, uint16_t anInputBufLen, bool aRequestTransactionFlag)

Function Documentation

◆ otPlatSpiSlaveDisable()

void otPlatSpiSlaveDisable ( void )

◆ otPlatSpiSlaveEnable()

otError otPlatSpiSlaveEnable ( otPlatSpiSlaveTransactionCompleteCallback aCallback,
otPlatSpiSlaveTransactionProcessCallback aProcessCallback,
void * aContext )

◆ otPlatSpiSlavePrepareTransaction()

otError otPlatSpiSlavePrepareTransaction ( uint8_t * anOutputBuf,
uint16_t anOutputBufLen,
uint8_t * anInputBuf,
uint16_t anInputBufLen,
bool aRequestTransactionFlag )