Functions | |
__STATIC_INLINE void | ll_spi_transmit_data8 (spi_regs_t *SPIx, uint8_t tx_data) |
Write 8-Bits in the data register. More... | |
__STATIC_INLINE void | ll_spi_transmit_data16 (spi_regs_t *SPIx, uint16_t tx_data) |
Write 16-Bits in the data register. More... | |
__STATIC_INLINE void | ll_spi_transmit_data32 (spi_regs_t *SPIx, uint32_t tx_data) |
Write 32-Bits in the data register. More... | |
__STATIC_INLINE uint8_t | ll_spi_receive_data8 (spi_regs_t *SPIx) |
Read 8-Bits in the data register. More... | |
__STATIC_INLINE uint16_t | ll_spi_receive_data16 (spi_regs_t *SPIx) |
Read 16-Bits in the data register. More... | |
__STATIC_INLINE uint32_t | ll_spi_receive_data32 (spi_regs_t *SPIx) |
Read 32-Bits in the data register. More... | |
__STATIC_INLINE void | ll_spi_set_rx_sample_delay (spi_regs_t *SPIx, uint32_t delay) |
Set Rx sample delay. More... | |
__STATIC_INLINE uint32_t | ll_spi_get_rx_sample_delay (spi_regs_t *SPIx) |
Get Rx sample delay. More... | |
__STATIC_INLINE uint32_t ll_spi_get_rx_sample_delay | ( | spi_regs_t * | SPIx | ) |
__STATIC_INLINE uint16_t ll_spi_receive_data16 | ( | spi_regs_t * | SPIx | ) |
__STATIC_INLINE uint32_t ll_spi_receive_data32 | ( | spi_regs_t * | SPIx | ) |
__STATIC_INLINE uint8_t ll_spi_receive_data8 | ( | spi_regs_t * | SPIx | ) |
__STATIC_INLINE void ll_spi_set_rx_sample_delay | ( | spi_regs_t * | SPIx, |
uint32_t | delay | ||
) |
Set Rx sample delay.
Register|BitsName --------|-------- RX_SAMPLEDLY | RX_SAMPLEDLY
SPIx | SPI instance |
delay | This parameter can be one of the following values: 0 ~ 7 |
None |
__STATIC_INLINE void ll_spi_transmit_data16 | ( | spi_regs_t * | SPIx, |
uint16_t | tx_data | ||
) |
__STATIC_INLINE void ll_spi_transmit_data32 | ( | spi_regs_t * | SPIx, |
uint32_t | tx_data | ||
) |
__STATIC_INLINE void ll_spi_transmit_data8 | ( | spi_regs_t * | SPIx, |
uint8_t | tx_data | ||
) |