Go to the source code of this file.
#define SPI_0_28125MHZ_CLOCK_DIVIDER 256 |
#define SPI_0_5625MHZ_CLOCK_DIVIDER 128 |
#define SPI_18MHZ_CLOCK_DIVIDER 2 |
#define SPI_9MHZ_CLOCK_DIVIDER 4 |
Return true if the bus is currently in the middle of a transmission.
Definition at line 425 of file drv_spi.c.
void spiSetDivisor |
( |
SPI_TypeDef * |
instance, |
|
|
uint16_t |
divisor |
|
) |
| |
void spiTransfer |
( |
SPI_TypeDef * |
instance, |
|
|
uint8_t * |
out, |
|
|
const uint8_t * |
in, |
|
|
int |
len |
|
) |
| |
uint8_t spiTransferByte |
( |
SPI_TypeDef * |
instance, |
|
|
uint8_t |
in |
|
) |
| |