UoS³ Flight Computer Firmware
 All Data Structures Files Functions Groups Pages
spi.c File Reference

SPI Driver - gnulinux platform. More...

Go to the source code of this file.

Functions

uint8_t SPI_cmd (uint8_t spi_num, uint8_t cmd)
 
uint8_t SPI_read8 (uint8_t spi_num, uint8_t addr, uint8_t *data)
 
uint8_t SPI_burstread8 (uint8_t spi_num, uint8_t addr, uint8_t *data, uint32_t len)
 
uint8_t SPI_write8 (uint8_t spi_num, uint8_t addr, uint8_t *data)
 
uint8_t SPI_burstwrite8 (uint8_t spi_num, uint8_t addr, uint8_t *data, uint32_t len)
 
uint8_t SPI_read16 (uint8_t spi_num, uint16_t addr, uint8_t *data)
 
uint8_t SPI_burstread16 (uint8_t spi_num, uint16_t addr, uint8_t *data, uint32_t len)
 
uint8_t SPI_write16 (uint8_t spi_num, uint16_t addr, uint8_t *data)
 
uint8_t SPI_burstwrite16 (uint8_t spi_num, uint16_t addr, uint8_t *data, uint32_t len)
 
uint8_t SPI_read32 (uint8_t spi_num, uint32_t addr, uint8_t *data)
 
uint8_t SPI_burstread32 (uint8_t spi_num, uint32_t addr, uint8_t *data, uint32_t len)
 
uint8_t SPI_write32 (uint8_t spi_num, uint32_t addr, uint8_t *data)
 
uint8_t SPI_burstwrite32 (uint8_t spi_num, uint32_t addr, uint8_t *data, uint32_t len)
 

Detailed Description

SPI Driver - gnulinux platform.

Definition in file spi.c.