|
GPS Device
|
SPI driver implementation for STM32F401RE. More...

Go to the source code of this file.
Functions | |
| static void | spi_set_pclk (SPI_REGDEF_ts const *instance, EN_STATUS_te en_status) |
| Enables or disables the peripheral clock for an SPI instance. | |
| void | spi_init (SPI_CFG_ts *spi_cfg) |
| Initializes the SPI peripheral with the given configuration. | |
| void | spi_deinit (SPI_REGDEF_ts const *instance) |
| Deinitializes the SPI peripheral and disables its clock. | |
| void | spi_send (SPI_REGDEF_ts *instance, uint8_t *tx_buffer, uint32_t len) |
| Blocking SPI transmit. | |
| void | spi_receive (SPI_REGDEF_ts *instance, uint8_t *rx_buffer, uint32_t len) |
| Blocking SPI receive. | |
| void | spi_set_pclk_div (SPI_REGDEF_ts *spi_instance, SPI_MASTER_SCLK_SPEED_te pclk_div) |
| Changes the SPI master clock speed divisor at runtime. | |
| void | spi_set_comm (SPI_REGDEF_ts *instance, EN_STATUS_te en_status) |
| Enables or disables the SPI peripheral. | |
SPI driver implementation for STM32F401RE.
Definition in file stm32f401re_spi.c.