dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pios_spi.h File Reference

SPI functions header. More...

Go to the source code of this file.

Typedefs

typedef struct pios_spi_devpios_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)
 

Detailed Description

SPI functions header.

Author
The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
See Also
The GNU Public License (GPL) Version 3

Definition in file pios_spi.h.