Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
|
#include <stdio.h>
#include <stdlib.h>
#include "openthread/platform/spi-slave.h"
#include "ca821x-posix-thread/posix-platform.h"
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) |
void otPlatSpiSlaveDisable | ( | void | ) |
otError otPlatSpiSlaveEnable | ( | otPlatSpiSlaveTransactionCompleteCallback | aCallback, |
otPlatSpiSlaveTransactionProcessCallback | aProcessCallback, | ||
void * | aContext | ||
) |
otError otPlatSpiSlavePrepareTransaction | ( | uint8_t * | anOutputBuf, |
uint16_t | anOutputBufLen, | ||
uint8_t * | anInputBuf, | ||
uint16_t | anInputBufLen, | ||
bool | aRequestTransactionFlag | ||
) |