Functions | |
| __STATIC_INLINE uint32_t | ll_spi_get_status (spi_regs_t *SPIx) |
| Get SPI status. More... | |
| __STATIC_INLINE uint32_t | ll_spi_is_active_flag (spi_regs_t *SPIx, uint32_t flag) |
| Check active flag. More... | |
| __STATIC_INLINE uint32_t | ll_spi_get_it_flag (spi_regs_t *SPIx) |
| Get SPI interrupt flags. More... | |
| __STATIC_INLINE uint32_t | ll_spi_is_it_flag (spi_regs_t *SPIx, uint32_t flag) |
| Check interrupt flag. More... | |
| __STATIC_INLINE uint32_t | ll_spi_get_raw_if_flag (spi_regs_t *SPIx) |
| Get SPI raw interrupt flags. More... | |
| __STATIC_INLINE void | ll_spi_clear_flag_txo (spi_regs_t *SPIx) |
| Clear transmit FIFO overflow error flag. More... | |
| __STATIC_INLINE void | ll_spi_clear_flag_rxo (spi_regs_t *SPIx) |
| Clear receive FIFO overflow error flag. More... | |
| __STATIC_INLINE void | ll_spi_clear_flag_rxu (spi_regs_t *SPIx) |
| Clear receive FIFO underflow error flag. More... | |
| __STATIC_INLINE void | ll_spi_clear_flag_mst (spi_regs_t *SPIx) |
| Clear multi-master error flag. More... | |
| __STATIC_INLINE void | ll_spi_clear_flag_all (spi_regs_t *SPIx) |
| Clear all error flag. More... | |
| __STATIC_INLINE void ll_spi_clear_flag_all | ( | spi_regs_t * | SPIx | ) |
| __STATIC_INLINE void ll_spi_clear_flag_mst | ( | spi_regs_t * | SPIx | ) |
| __STATIC_INLINE void ll_spi_clear_flag_rxo | ( | spi_regs_t * | SPIx | ) |
| __STATIC_INLINE void ll_spi_clear_flag_rxu | ( | spi_regs_t * | SPIx | ) |
| __STATIC_INLINE void ll_spi_clear_flag_txo | ( | spi_regs_t * | SPIx | ) |
| __STATIC_INLINE uint32_t ll_spi_get_it_flag | ( | spi_regs_t * | SPIx | ) |
Get SPI interrupt flags.
Register|BitsName --------|-------- INTSTAT | INTSTAT
| SPIx | SPI instance |
| Returned | value can be one or combination of the following values: |
| __STATIC_INLINE uint32_t ll_spi_get_raw_if_flag | ( | spi_regs_t * | SPIx | ) |
Get SPI raw interrupt flags.
Register|BitsName --------|-------- RAW_INTSTAT | RAW_INTSTAT
| SPIx | SPI instance |
| Returned | value can be one or combination of the following values: |
| __STATIC_INLINE uint32_t ll_spi_get_status | ( | spi_regs_t * | SPIx | ) |
Get SPI status.
Register|BitsName --------|-------- STAT | STAT
| SPIx | SPI instance |
| Returned | value can be one or combination of the following values: |
| __STATIC_INLINE uint32_t ll_spi_is_active_flag | ( | spi_regs_t * | SPIx, |
| uint32_t | flag | ||
| ) |
Check active flag.
Register|BitsName --------|-------- STAT | DCOL STAT | TXE STAT | RFF STAT | RFNE STAT | TFE STAT | TFNF STAT | BUSY
| SPIx | SPI instance |
| flag | This parameter can be one of the following values: |
| State | of bit (1 or 0). |
| __STATIC_INLINE uint32_t ll_spi_is_it_flag | ( | spi_regs_t * | SPIx, |
| uint32_t | flag | ||
| ) |
Check interrupt flag.
Register|BitsName --------|-------- INTSTAT | MSTIS INTSTAT | RXFIS INTSTAT | RXOIS INTSTAT | RXUIS INTSTAT | TXOIS INTSTAT | TXEIS
| SPIx | SPI instance |
| flag | This parameter can be one of the following values: |
| State | of bit (1 or 0). |