STM32L4xx_HAL_Driver  1.14.0

Functions

__STATIC_INLINE uint32_t LL_SWPMI_GetReceiveFrameLength (SWPMI_TypeDef *SWPMIx)
 Retrieve number of data bytes present in payload of received frame RFL RFL LL_SWPMI_GetReceiveFrameLength. More...
 
__STATIC_INLINE void LL_SWPMI_TransmitData32 (SWPMI_TypeDef *SWPMIx, uint32_t TxData)
 Transmit Data Register TDR TD LL_SWPMI_TransmitData32. More...
 
__STATIC_INLINE uint32_t LL_SWPMI_ReceiveData32 (SWPMI_TypeDef *SWPMIx)
 Receive Data Register RDR RD LL_SWPMI_ReceiveData32. More...
 
__STATIC_INLINE void LL_SWPMI_EnableTXBypass (SWPMI_TypeDef *SWPMIx)
 Enable SWP Transceiver Bypass. More...
 
__STATIC_INLINE void LL_SWPMI_DisableTXBypass (SWPMI_TypeDef *SWPMIx)
 Disable SWP Transceiver Bypass. More...
 

Detailed Description

Function Documentation

◆ LL_SWPMI_DisableTXBypass()

__STATIC_INLINE void LL_SWPMI_DisableTXBypass ( SWPMI_TypeDef *  SWPMIx)

Disable SWP Transceiver Bypass.

Note
SWPMI_RX, SWPMI_TX and SWPMI_SUSPEND signals are available as alternate function on GPIOs. This configuration is selected to connect an external transceiver OR TBYP LL_SWPMI_DisableTXBypass
Parameters
SWPMIxSWPMI Instance
Return values
None

Definition at line 1110 of file stm32l4xx_ll_swpmi.h.

1111 {
1112  SET_BIT(SWPMIx->OR, SWPMI_OR_TBYP);
1113 }

◆ LL_SWPMI_EnableTXBypass()

__STATIC_INLINE void LL_SWPMI_EnableTXBypass ( SWPMI_TypeDef *  SWPMIx)

Enable SWP Transceiver Bypass.

Note
The external interface for SWPMI is SWPMI_IO (SWPMI_RX, SWPMI_TX and SWPMI_SUSPEND signals are not available on GPIOs) OR TBYP LL_SWPMI_EnableTXBypass
Parameters
SWPMIxSWPMI Instance
Return values
None

Definition at line 1097 of file stm32l4xx_ll_swpmi.h.

1098 {
1099  CLEAR_BIT(SWPMIx->OR, SWPMI_OR_TBYP);
1100 }
CLEAR_BIT(hrtc->Instance->CR, RTC_CR_WUTE)

◆ LL_SWPMI_GetReceiveFrameLength()

__STATIC_INLINE uint32_t LL_SWPMI_GetReceiveFrameLength ( SWPMI_TypeDef *  SWPMIx)

Retrieve number of data bytes present in payload of received frame RFL RFL LL_SWPMI_GetReceiveFrameLength.

Parameters
SWPMIxSWPMI Instance
Return values
Valuebetween Min_Data=0x00 and Max_Data=0x1F

Definition at line 1061 of file stm32l4xx_ll_swpmi.h.

1062 {
1063  return (uint32_t)(READ_BIT(SWPMIx->RFL, SWPMI_RFL_RFL));
1064 }

◆ LL_SWPMI_ReceiveData32()

__STATIC_INLINE uint32_t LL_SWPMI_ReceiveData32 ( SWPMI_TypeDef *  SWPMIx)

Receive Data Register RDR RD LL_SWPMI_ReceiveData32.

Parameters
SWPMIxSWPMI Instance
Return values
Valuebetween Min_Data=0x00000000 and Max_Data=0xFFFFFFFF

Definition at line 1084 of file stm32l4xx_ll_swpmi.h.

1085 {
1086  return (uint32_t)(READ_BIT(SWPMIx->RDR, SWPMI_RDR_RD));
1087 }

◆ LL_SWPMI_TransmitData32()

__STATIC_INLINE void LL_SWPMI_TransmitData32 ( SWPMI_TypeDef *  SWPMIx,
uint32_t  TxData 
)

Transmit Data Register TDR TD LL_SWPMI_TransmitData32.

Parameters
SWPMIxSWPMI Instance
TxDataValue between Min_Data=0x00000000 and Max_Data=0xFFFFFFFF
Return values
None

Definition at line 1073 of file stm32l4xx_ll_swpmi.h.

1074 {
1075  WRITE_REG(SWPMIx->TDR, TxData);
1076 }