Functions | |
__STATIC_INLINE uint32_t | ll_spi_get_status (ssi_regs_t *SPIx) |
Get SPI status. More... | |
__STATIC_INLINE uint32_t | ll_spi_is_active_flag (ssi_regs_t *SPIx, uint32_t flag) |
Check active flag. More... | |
__STATIC_INLINE uint32_t | ll_spi_get_it_flag (ssi_regs_t *SPIx) |
Get SPI interrupt flags. More... | |
__STATIC_INLINE uint32_t | ll_spi_is_it_flag (ssi_regs_t *SPIx, uint32_t flag) |
Check interrupt flag. More... | |
__STATIC_INLINE uint32_t | ll_spi_get_raw_if_flag (ssi_regs_t *SPIx) |
Get SPI raw interrupt flags. More... | |
__STATIC_INLINE void | ll_spi_clear_flag_txo (ssi_regs_t *SPIx) |
Clear transmit FIFO overflow error flag. More... | |
__STATIC_INLINE void | ll_spi_clear_flag_rxo (ssi_regs_t *SPIx) |
Clear receive FIFO overflow error flag. More... | |
__STATIC_INLINE void | ll_spi_clear_flag_rxu (ssi_regs_t *SPIx) |
Clear receive FIFO underflow error flag. More... | |
__STATIC_INLINE void | ll_spi_clear_flag_mst (ssi_regs_t *SPIx) |
Clear multi-master error flag. More... | |
__STATIC_INLINE void | ll_spi_clear_flag_all (ssi_regs_t *SPIx) |
Clear all error flag. More... | |
__STATIC_INLINE void ll_spi_clear_flag_all | ( | ssi_regs_t * | SPIx | ) |
Clear all error flag.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | INTCLR | INTCLR | +———————-+———————————–+ \endrst
SPIx | SPI instance |
None |
Definition at line 1932 of file gr55xx_ll_spi.h.
__STATIC_INLINE void ll_spi_clear_flag_mst | ( | ssi_regs_t * | SPIx | ) |
Clear multi-master error flag.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | MSTIC | MSTIC | +———————-+———————————–+ \endrst
SPIx | SPI instance |
None |
Definition at line 1910 of file gr55xx_ll_spi.h.
__STATIC_INLINE void ll_spi_clear_flag_rxo | ( | ssi_regs_t * | SPIx | ) |
Clear receive FIFO overflow error flag.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | RXOIC | RXOIC | +———————-+———————————–+ \endrst
SPIx | SPI instance |
None |
Definition at line 1866 of file gr55xx_ll_spi.h.
__STATIC_INLINE void ll_spi_clear_flag_rxu | ( | ssi_regs_t * | SPIx | ) |
Clear receive FIFO underflow error flag.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | RXUIC | RXUIC | +———————-+———————————–+ \endrst
SPIx | SPI instance |
None |
Definition at line 1888 of file gr55xx_ll_spi.h.
__STATIC_INLINE void ll_spi_clear_flag_txo | ( | ssi_regs_t * | SPIx | ) |
Clear transmit FIFO overflow error flag.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | TXOIC | TXOIC | +———————-+———————————–+ \endrst
SPIx | SPI instance |
None |
Definition at line 1844 of file gr55xx_ll_spi.h.
__STATIC_INLINE uint32_t ll_spi_get_it_flag | ( | ssi_regs_t * | SPIx | ) |
Get SPI interrupt flags.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | INTSTAT | INTSTAT | +———————-+———————————–+ \endrst
SPIx | SPI instance |
Returned | value can be one or combination of the following values: |
Definition at line 1768 of file gr55xx_ll_spi.h.
__STATIC_INLINE uint32_t ll_spi_get_raw_if_flag | ( | ssi_regs_t * | SPIx | ) |
Get SPI raw interrupt flags.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | RAW_INTSTAT | RAW_INTSTAT | +———————-+———————————–+ \endrst
SPIx | SPI instance |
Returned | value can be one or combination of the following values: |
Definition at line 1824 of file gr55xx_ll_spi.h.
__STATIC_INLINE uint32_t ll_spi_get_status | ( | ssi_regs_t * | SPIx | ) |
Get SPI status.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | STAT | STAT | +———————-+———————————–+ \endrst
SPIx | SPI instance |
Returned | value can be one or combination of the following values: |
Definition at line 1704 of file gr55xx_ll_spi.h.
__STATIC_INLINE uint32_t ll_spi_is_active_flag | ( | ssi_regs_t * | SPIx, |
uint32_t | flag | ||
) |
Check active flag.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | STAT | DCOL | +———————-+———————————–+ | STAT | TXE | +———————-+———————————–+ | STAT | RFF | +———————-+———————————–+ | STAT | RFNE | +———————-+———————————–+ | STAT | TFE | +———————-+———————————–+ | STAT | TFNF | +———————-+———————————–+ | STAT | BUSY | +———————-+———————————–+ \endrst
SPIx | SPI instance |
flag | This parameter can be one of the following values: |
State | of bit (1 or 0). |
Definition at line 1743 of file gr55xx_ll_spi.h.
__STATIC_INLINE uint32_t ll_spi_is_it_flag | ( | ssi_regs_t * | SPIx, |
uint32_t | flag | ||
) |
Check interrupt flag.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | INTSTAT | MSTIS | +———————-+———————————–+ \endrst 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). |
Definition at line 1799 of file gr55xx_ll_spi.h.