69void spi_init_instance(uint8_t sercom, spi_dopo_t dopo, spi_dipo_t dipo, uint32_t baud);
uint8_t spi_transfer_instance(uint8_t sercom, uint8_t data)
Transfers a byte over SPI.
Definition spi.c:70
void spi_init_instance(uint8_t sercom, spi_dopo_t dopo, spi_dipo_t dipo, uint32_t baud)
Initializes a specific SERCOM instance as an SPI controller.
Definition spi.c:35
void spi_disable_instance(uint8_t sercom)
Disables a specific SERCOM instance for SPI.
Definition spi.c:81
uint8_t spi_transfer(uint8_t data)
Transfers a byte over SPI for a board with a defined SPI_SERCOM.
void spi_enable(void)
Enables the SPI SERCOM for a board with a defined SPI_SERCOM.
void spi_enable_instance(uint8_t sercom)
Enables a specific SERCOM instance for SPI.
Definition spi.c:66
void spi_init(uint32_t baud)
Initializes the SPI SERCOM as a controller for a board with a defined SPI_SERCOM.
void spi_disable(void)
Disables the SPI SERCOM for a board with a defined SPI_SERCOM.