dRonin
adbada4
dRonin firmware
|
SPI functions header. More...
Go to the source code of this file.
Typedefs | |
typedef struct pios_spi_dev * | pios_spi_t |
Functions | |
int32_t | PIOS_SPI_Init (pios_spi_t *spi_dev, const struct pios_spi_cfg *cfg) |
int32_t | PIOS_SPI_SetClockSpeed (pios_spi_t spi_dev, uint32_t speed) |
int32_t | PIOS_SPI_RC_PinSet (pios_spi_t spi_dev, uint32_t slave_id, bool pin_value) |
uint8_t | PIOS_SPI_TransferByte (pios_spi_t spi_dev, uint8_t b) |
int32_t | PIOS_SPI_TransferBlock (pios_spi_t spi_dev, const uint8_t *send_buffer, uint8_t *receive_buffer, uint16_t len) |
int32_t | PIOS_SPI_ClaimBus (pios_spi_t spi_dev) |
int32_t | PIOS_SPI_ReleaseBus (pios_spi_t spi_dev) |