Legacy SPI driver definitions for LPC17xx.
More...
#include "spi_17xx_40xx.h"
Go to the source code of this file.
Legacy SPI driver definitions for LPC17xx.
- Author
- Henrique Silva henri.nosp@m.que..nosp@m.silva.nosp@m.@lnl.nosp@m.s.br, LNLS
- Date
- March 2016
◆ spi_deinit
#define spi_deinit |
( |
| id | ) |
Chip_SPI_DeInit(id) |
◆ spi_flush_rx
#define spi_flush_rx |
( |
| id | ) |
Chip_SPI_Int_FlushData(id) |
◆ spi_init
#define spi_init |
( |
| id | ) |
Chip_SPI_Init(id) |
◆ SPI_INTERRUPT
◆ SPI_MASTER
◆ SPI_POLLING
◆ spi_set_bitrate
#define spi_set_bitrate |
( |
| id, |
|
|
| bitrate ) Chip_SPI_SetBitRate(id, bitrate) |
◆ SPI_SLAVE
◆ spi_assertSSEL()
void spi_assertSSEL |
( |
void | | ) |
|
◆ spi_config()
void spi_config |
( |
uint32_t | bitrate, |
|
|
uint8_t | frame_sz, |
|
|
bool | master_mode, |
|
|
bool | poll ) |
◆ spi_deassertSSEL()
void spi_deassertSSEL |
( |
void | | ) |
|
◆ spi_write()
uint32_t spi_write |
( |
uint8_t * | buffer, |
|
|
uint32_t | buffer_len ) |