31#include "spi_17xx_40xx.h"
33#define spi_init(id) Chip_SPI_Init(id)
34#define spi_deinit(id) Chip_SPI_DeInit(id)
35#define spi_flush_rx(id) Chip_SPI_Int_FlushData(id)
36#define spi_set_bitrate(id, bitrate) Chip_SPI_SetBitRate(id, bitrate)
40#define SPI_INTERRUPT 0
43void spi_config( uint32_t bitrate, uint8_t frame_sz,
bool master_mode,
bool poll );
44uint32_t
spi_write( uint8_t * buffer, uint32_t buffer_len );
void spi_config(uint32_t bitrate, uint8_t frame_sz, bool master_mode, bool poll)
Definition lpc17_spi.c:46
void spi_assertSSEL(void)
Definition lpc17_spi.c:35
uint32_t spi_write(uint8_t *buffer, uint32_t buffer_len)
Definition lpc17_spi.c:76
void spi_deassertSSEL(void)
Definition lpc17_spi.c:41