31 #ifndef SPI_SLAVE_HS_ARCH_H
32 #define SPI_SLAVE_HS_ARCH_H
35 #include "pprzlink/pprzlink_device.h"
44 #define SpiEnable() { \
45 SetBit(SSPCR1, SSE); \
48 #define SpiDisable() { \
49 ClearBit(SSPCR1, SSE); \
53 #define SPI_SLAVE_HS_RX_BUFFER_SIZE 256
59 #define SPI_SLAVE_HS_TX_BUFFER_SIZE 64
uint16_t spi_slave_hs_rx_insert_idx
uint8_t spi_slave_hs_tx_buffer[SPI_SLAVE_HS_TX_BUFFER_SIZE]
#define SPI_SLAVE_HS_TX_BUFFER_SIZE
uint16_t spi_slave_hs_rx_extract_idx
#define SPI_SLAVE_HS_RX_BUFFER_SIZE
struct link_device device
Generic device interface.
uint8_t spi_slave_hs_tx_extract_idx
uint8_t spi_slave_hs_tx_insert_idx
uint8_t spi_slave_hs_rx_buffer[SPI_SLAVE_HS_RX_BUFFER_SIZE]