STM32L486xx HAL User Manual
Functions
FLAG_Management
SWPMI Exported Functions

Functions

__STATIC_INLINE uint32_t LL_SWPMI_IsActiveFlag_RXBF (SWPMI_TypeDef *SWPMIx)
 Check if the last word of the frame under reception has arrived in SWPMI_RDR.
__STATIC_INLINE uint32_t LL_SWPMI_IsActiveFlag_TXBE (SWPMI_TypeDef *SWPMIx)
 Check if Frame transmission buffer has been emptied.
__STATIC_INLINE uint32_t LL_SWPMI_IsActiveFlag_RXBER (SWPMI_TypeDef *SWPMIx)
 Check if CRC error in reception has been detected.
__STATIC_INLINE uint32_t LL_SWPMI_IsActiveFlag_RXOVR (SWPMI_TypeDef *SWPMIx)
 Check if Overrun in reception has been detected.
__STATIC_INLINE uint32_t LL_SWPMI_IsActiveFlag_TXUNR (SWPMI_TypeDef *SWPMIx)
 Check if underrun error in transmission has been detected.
__STATIC_INLINE uint32_t LL_SWPMI_IsActiveFlag_RXNE (SWPMI_TypeDef *SWPMIx)
 Check if Receive data register not empty (it means that Received data is ready to be read in the SWPMI_RDR register)
__STATIC_INLINE uint32_t LL_SWPMI_IsActiveFlag_TXE (SWPMI_TypeDef *SWPMIx)
 Check if Transmit data register is empty (it means that Data written in transmit data register SWPMI_TDR has been transmitted and SWPMI_TDR can be written to again)
__STATIC_INLINE uint32_t LL_SWPMI_IsActiveFlag_TC (SWPMI_TypeDef *SWPMIx)
 Check if Both transmission and reception are completed and SWP is switched to the SUSPENDED state.
__STATIC_INLINE uint32_t LL_SWPMI_IsActiveFlag_SR (SWPMI_TypeDef *SWPMIx)
 Check if a Resume by slave state has been detected during the SWP bus SUSPENDED state.
__STATIC_INLINE uint32_t LL_SWPMI_IsActiveFlag_SUSP (SWPMI_TypeDef *SWPMIx)
 Check if SWP bus is in SUSPENDED or DEACTIVATED state.
__STATIC_INLINE uint32_t LL_SWPMI_IsActiveFlag_DEACT (SWPMI_TypeDef *SWPMIx)
 Check if SWP bus is in DEACTIVATED state.
__STATIC_INLINE void LL_SWPMI_ClearFlag_RXBF (SWPMI_TypeDef *SWPMIx)
 Clear receive buffer full flag.
__STATIC_INLINE void LL_SWPMI_ClearFlag_TXBE (SWPMI_TypeDef *SWPMIx)
 Clear transmit buffer empty flag.
__STATIC_INLINE void LL_SWPMI_ClearFlag_RXBER (SWPMI_TypeDef *SWPMIx)
 Clear receive CRC error flag.
__STATIC_INLINE void LL_SWPMI_ClearFlag_RXOVR (SWPMI_TypeDef *SWPMIx)
 Clear receive overrun error flag.
__STATIC_INLINE void LL_SWPMI_ClearFlag_TXUNR (SWPMI_TypeDef *SWPMIx)
 Clear transmit underrun error flag.
__STATIC_INLINE void LL_SWPMI_ClearFlag_TC (SWPMI_TypeDef *SWPMIx)
 Clear transfer complete flag.
__STATIC_INLINE void LL_SWPMI_ClearFlag_SR (SWPMI_TypeDef *SWPMIx)
 Clear slave resume flag.

Function Documentation

__STATIC_INLINE void LL_SWPMI_ClearFlag_RXBER ( SWPMI_TypeDef *  SWPMIx)

Clear receive CRC error flag.

Reference Manual to LL API cross reference:
ICR CRXBERF LL_SWPMI_ClearFlag_RXBER
Parameters:
SWPMIxSWPMI Instance
Return values:
None

Definition at line 607 of file stm32l4xx_ll_swpmi.h.

__STATIC_INLINE void LL_SWPMI_ClearFlag_RXBF ( SWPMI_TypeDef *  SWPMIx)

Clear receive buffer full flag.

Reference Manual to LL API cross reference:
ICR CRXBFF LL_SWPMI_ClearFlag_RXBF
Parameters:
SWPMIxSWPMI Instance
Return values:
None

Definition at line 585 of file stm32l4xx_ll_swpmi.h.

__STATIC_INLINE void LL_SWPMI_ClearFlag_RXOVR ( SWPMI_TypeDef *  SWPMIx)

Clear receive overrun error flag.

Reference Manual to LL API cross reference:
ICR CRXOVRF LL_SWPMI_ClearFlag_RXOVR
Parameters:
SWPMIxSWPMI Instance
Return values:
None

Definition at line 618 of file stm32l4xx_ll_swpmi.h.

__STATIC_INLINE void LL_SWPMI_ClearFlag_SR ( SWPMI_TypeDef *  SWPMIx)

Clear slave resume flag.

Reference Manual to LL API cross reference:
ICR CSRF LL_SWPMI_ClearFlag_SR
Parameters:
SWPMIxSWPMI Instance
Return values:
None

Definition at line 651 of file stm32l4xx_ll_swpmi.h.

__STATIC_INLINE void LL_SWPMI_ClearFlag_TC ( SWPMI_TypeDef *  SWPMIx)

Clear transfer complete flag.

Reference Manual to LL API cross reference:
ICR CTCF LL_SWPMI_ClearFlag_TC
Parameters:
SWPMIxSWPMI Instance
Return values:
None

Definition at line 640 of file stm32l4xx_ll_swpmi.h.

__STATIC_INLINE void LL_SWPMI_ClearFlag_TXBE ( SWPMI_TypeDef *  SWPMIx)

Clear transmit buffer empty flag.

Reference Manual to LL API cross reference:
ICR CTXBEF LL_SWPMI_ClearFlag_TXBE
Parameters:
SWPMIxSWPMI Instance
Return values:
None

Definition at line 596 of file stm32l4xx_ll_swpmi.h.

__STATIC_INLINE void LL_SWPMI_ClearFlag_TXUNR ( SWPMI_TypeDef *  SWPMIx)

Clear transmit underrun error flag.

Reference Manual to LL API cross reference:
ICR CTXUNRF LL_SWPMI_ClearFlag_TXUNR
Parameters:
SWPMIxSWPMI Instance
Return values:
None

Definition at line 629 of file stm32l4xx_ll_swpmi.h.

__STATIC_INLINE uint32_t LL_SWPMI_IsActiveFlag_DEACT ( SWPMI_TypeDef *  SWPMIx)

Check if SWP bus is in DEACTIVATED state.

Reference Manual to LL API cross reference:
ISR DEACTF LL_SWPMI_IsActiveFlag_DEACT
Parameters:
SWPMIxSWPMI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 574 of file stm32l4xx_ll_swpmi.h.

__STATIC_INLINE uint32_t LL_SWPMI_IsActiveFlag_RXBER ( SWPMI_TypeDef *  SWPMIx)

Check if CRC error in reception has been detected.

Reference Manual to LL API cross reference:
ISR RXBERF LL_SWPMI_IsActiveFlag_RXBER
Parameters:
SWPMIxSWPMI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 482 of file stm32l4xx_ll_swpmi.h.

__STATIC_INLINE uint32_t LL_SWPMI_IsActiveFlag_RXBF ( SWPMI_TypeDef *  SWPMIx)

Check if the last word of the frame under reception has arrived in SWPMI_RDR.

Reference Manual to LL API cross reference:
ISR RXBFF LL_SWPMI_IsActiveFlag_RXBF
Parameters:
SWPMIxSWPMI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 460 of file stm32l4xx_ll_swpmi.h.

__STATIC_INLINE uint32_t LL_SWPMI_IsActiveFlag_RXNE ( SWPMI_TypeDef *  SWPMIx)

Check if Receive data register not empty (it means that Received data is ready to be read in the SWPMI_RDR register)

Reference Manual to LL API cross reference:
ISR RXNE LL_SWPMI_IsActiveFlag_RXNE
Parameters:
SWPMIxSWPMI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 516 of file stm32l4xx_ll_swpmi.h.

__STATIC_INLINE uint32_t LL_SWPMI_IsActiveFlag_RXOVR ( SWPMI_TypeDef *  SWPMIx)

Check if Overrun in reception has been detected.

Reference Manual to LL API cross reference:
ISR RXOVRF LL_SWPMI_IsActiveFlag_RXOVR
Parameters:
SWPMIxSWPMI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 493 of file stm32l4xx_ll_swpmi.h.

__STATIC_INLINE uint32_t LL_SWPMI_IsActiveFlag_SR ( SWPMI_TypeDef *  SWPMIx)

Check if a Resume by slave state has been detected during the SWP bus SUSPENDED state.

Reference Manual to LL API cross reference:
ISR SRF LL_SWPMI_IsActiveFlag_SR
Parameters:
SWPMIxSWPMI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 552 of file stm32l4xx_ll_swpmi.h.

__STATIC_INLINE uint32_t LL_SWPMI_IsActiveFlag_SUSP ( SWPMI_TypeDef *  SWPMIx)

Check if SWP bus is in SUSPENDED or DEACTIVATED state.

Reference Manual to LL API cross reference:
ISR SUSP LL_SWPMI_IsActiveFlag_SUSP
Parameters:
SWPMIxSWPMI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 563 of file stm32l4xx_ll_swpmi.h.

__STATIC_INLINE uint32_t LL_SWPMI_IsActiveFlag_TC ( SWPMI_TypeDef *  SWPMIx)

Check if Both transmission and reception are completed and SWP is switched to the SUSPENDED state.

Reference Manual to LL API cross reference:
ISR TCF LL_SWPMI_IsActiveFlag_TC
Parameters:
SWPMIxSWPMI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 540 of file stm32l4xx_ll_swpmi.h.

__STATIC_INLINE uint32_t LL_SWPMI_IsActiveFlag_TXBE ( SWPMI_TypeDef *  SWPMIx)

Check if Frame transmission buffer has been emptied.

Reference Manual to LL API cross reference:
ISR TXBEF LL_SWPMI_IsActiveFlag_TXBE
Parameters:
SWPMIxSWPMI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 471 of file stm32l4xx_ll_swpmi.h.

__STATIC_INLINE uint32_t LL_SWPMI_IsActiveFlag_TXE ( SWPMI_TypeDef *  SWPMIx)

Check if Transmit data register is empty (it means that Data written in transmit data register SWPMI_TDR has been transmitted and SWPMI_TDR can be written to again)

Reference Manual to LL API cross reference:
ISR TXE LL_SWPMI_IsActiveFlag_TXE
Parameters:
SWPMIxSWPMI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 528 of file stm32l4xx_ll_swpmi.h.

__STATIC_INLINE uint32_t LL_SWPMI_IsActiveFlag_TXUNR ( SWPMI_TypeDef *  SWPMIx)

Check if underrun error in transmission has been detected.

Reference Manual to LL API cross reference:
ISR TXUNRF LL_SWPMI_IsActiveFlag_TXUNR
Parameters:
SWPMIxSWPMI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 504 of file stm32l4xx_ll_swpmi.h.