Hal Drivers for L4

Dependents:   BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo

Fork of STM32L4xx_HAL_Driver by Senior Design: Sound Monitor

Embed: (wiki syntax)

« Back to documentation index

FLAG_Management

Functions

__STATIC_INLINE uint32_t LL_SWPMI_IsActiveFlag_RXBF (SWPMI_TypeDef *SWPMIx)
 Check if the last word of the frame underreception has arrived in SWPMI_RDR.
__STATIC_INLINE uint32_t LL_SWPMI_IsActiveFlag_TXBE (SWPMI_TypeDef *SWPMIx)
 Check if Frame transmission buffer has been emptied ISR TXBEF LL_SWPMI_IsActiveFlag_TXBE.
__STATIC_INLINE uint32_t LL_SWPMI_IsActiveFlag_RXBER (SWPMI_TypeDef *SWPMIx)
 Check if CRC error in reception has been detected ISR RXBERF LL_SWPMI_IsActiveFlag_RXBER.
__STATIC_INLINE uint32_t LL_SWPMI_IsActiveFlag_RXOVR (SWPMI_TypeDef *SWPMIx)
 Check if Overrun in reception has been detected ISR RXOVRF LL_SWPMI_IsActiveFlag_RXOVR.
__STATIC_INLINE uint32_t LL_SWPMI_IsActiveFlag_TXUNR (SWPMI_TypeDef *SWPMIx)
 Check if Underrun error in transmission has been detected ISR TXUNRF LL_SWPMI_IsActiveFlag_TXUNR.
__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) ISR RXNE LL_SWPMI_IsActiveFlag_RXNE.
__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) ISR TXE LL_SWPMI_IsActiveFlag_TXE.
__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 ISR TCF LL_SWPMI_IsActiveFlag_TC.
__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 ISR SRF LL_SWPMI_IsActiveFlag_SR.
__STATIC_INLINE uint32_t LL_SWPMI_IsActiveFlag_SUSP (SWPMI_TypeDef *SWPMIx)
 Check if SWP bus is in SUSPENDED or DEACTIVATED state ISR SUSP LL_SWPMI_IsActiveFlag_SUSP.
__STATIC_INLINE uint32_t LL_SWPMI_IsActiveFlag_DEACT (SWPMI_TypeDef *SWPMIx)
 Check if SWP bus is in DEACTIVATED state ISR DEACTF LL_SWPMI_IsActiveFlag_DEACT.
__STATIC_INLINE void LL_SWPMI_ClearFlag_RXBF (SWPMI_TypeDef *SWPMIx)
 Clear receive buffer full flag ICR CRXBFF LL_SWPMI_ClearFlag_RXBF.
__STATIC_INLINE void LL_SWPMI_ClearFlag_TXBE (SWPMI_TypeDef *SWPMIx)
 Clear transmit buffer empty flag ICR CTXBEF LL_SWPMI_ClearFlag_TXBE.
__STATIC_INLINE void LL_SWPMI_ClearFlag_RXBER (SWPMI_TypeDef *SWPMIx)
 Clear receive CRC error flag ICR CRXBERF LL_SWPMI_ClearFlag_RXBER.
__STATIC_INLINE void LL_SWPMI_ClearFlag_RXOVR (SWPMI_TypeDef *SWPMIx)
 Clear receive overrun error flag ICR CRXOVRF LL_SWPMI_ClearFlag_RXOVR.
__STATIC_INLINE void LL_SWPMI_ClearFlag_TXUNR (SWPMI_TypeDef *SWPMIx)
 Clear transmit underrun error flag ICR CTXUNRF LL_SWPMI_ClearFlag_TXUNR.
__STATIC_INLINE void LL_SWPMI_ClearFlag_TC (SWPMI_TypeDef *SWPMIx)
 Clear transfer complete flag ICR CTCF LL_SWPMI_ClearFlag_TC.
__STATIC_INLINE void LL_SWPMI_ClearFlag_SR (SWPMI_TypeDef *SWPMIx)
 Clear slave resume flag ICR CSRF LL_SWPMI_ClearFlag_SR.

Function Documentation

__STATIC_INLINE void LL_SWPMI_ClearFlag_RXBER ( SWPMI_TypeDef *  SWPMIx )

Clear receive CRC error flag ICR CRXBERF LL_SWPMI_ClearFlag_RXBER.

Parameters:
SWPMIxSWPMI Instance
Return values:
None

Definition at line 554 of file stm32l4xx_ll_swpmi.h.

__STATIC_INLINE void LL_SWPMI_ClearFlag_RXBF ( SWPMI_TypeDef *  SWPMIx )

Clear receive buffer full flag ICR CRXBFF LL_SWPMI_ClearFlag_RXBF.

Parameters:
SWPMIxSWPMI Instance
Return values:
None

Definition at line 532 of file stm32l4xx_ll_swpmi.h.

__STATIC_INLINE void LL_SWPMI_ClearFlag_RXOVR ( SWPMI_TypeDef *  SWPMIx )

Clear receive overrun error flag ICR CRXOVRF LL_SWPMI_ClearFlag_RXOVR.

Parameters:
SWPMIxSWPMI Instance
Return values:
None

Definition at line 565 of file stm32l4xx_ll_swpmi.h.

__STATIC_INLINE void LL_SWPMI_ClearFlag_SR ( SWPMI_TypeDef *  SWPMIx )

Clear slave resume flag ICR CSRF LL_SWPMI_ClearFlag_SR.

Parameters:
SWPMIxSWPMI Instance
Return values:
None

Definition at line 598 of file stm32l4xx_ll_swpmi.h.

__STATIC_INLINE void LL_SWPMI_ClearFlag_TC ( SWPMI_TypeDef *  SWPMIx )

Clear transfer complete flag ICR CTCF LL_SWPMI_ClearFlag_TC.

Parameters:
SWPMIxSWPMI Instance
Return values:
None

Definition at line 587 of file stm32l4xx_ll_swpmi.h.

__STATIC_INLINE void LL_SWPMI_ClearFlag_TXBE ( SWPMI_TypeDef *  SWPMIx )

Clear transmit buffer empty flag ICR CTXBEF LL_SWPMI_ClearFlag_TXBE.

Parameters:
SWPMIxSWPMI Instance
Return values:
None

Definition at line 543 of file stm32l4xx_ll_swpmi.h.

__STATIC_INLINE void LL_SWPMI_ClearFlag_TXUNR ( SWPMI_TypeDef *  SWPMIx )

Clear transmit underrun error flag ICR CTXUNRF LL_SWPMI_ClearFlag_TXUNR.

Parameters:
SWPMIxSWPMI Instance
Return values:
None

Definition at line 576 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 ISR DEACTF LL_SWPMI_IsActiveFlag_DEACT.

Parameters:
SWPMIxSWPMI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 521 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 ISR RXBERF LL_SWPMI_IsActiveFlag_RXBER.

Parameters:
SWPMIxSWPMI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 429 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 underreception has arrived in SWPMI_RDR.

ISR RXBFF LL_SWPMI_IsActiveFlag_RXBF

Parameters:
SWPMIxSWPMI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 407 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) ISR RXNE LL_SWPMI_IsActiveFlag_RXNE.

Parameters:
SWPMIxSWPMI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 463 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 ISR RXOVRF LL_SWPMI_IsActiveFlag_RXOVR.

Parameters:
SWPMIxSWPMI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 440 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 ISR SRF LL_SWPMI_IsActiveFlag_SR.

Parameters:
SWPMIxSWPMI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 499 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 ISR SUSP LL_SWPMI_IsActiveFlag_SUSP.

Parameters:
SWPMIxSWPMI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 510 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 ISR TCF LL_SWPMI_IsActiveFlag_TC.

Parameters:
SWPMIxSWPMI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 487 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 ISR TXBEF LL_SWPMI_IsActiveFlag_TXBE.

Parameters:
SWPMIxSWPMI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 418 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) ISR TXE LL_SWPMI_IsActiveFlag_TXE.

Parameters:
SWPMIxSWPMI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 475 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 ISR TXUNRF LL_SWPMI_IsActiveFlag_TXUNR.

Parameters:
SWPMIxSWPMI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 451 of file stm32l4xx_ll_swpmi.h.