RTEMS 6.1-rc5
|
Functions | |
__STATIC_INLINE void | LL_SWPMI_SetReceptionMode (SWPMI_TypeDef *SWPMIx, uint32_t RxBufferingMode) |
Set Reception buffering mode. | |
__STATIC_INLINE uint32_t | LL_SWPMI_GetReceptionMode (SWPMI_TypeDef *SWPMIx) |
Get Reception buffering mode @rmtoll CR RXMODE LL_SWPMI_GetReceptionMode. | |
__STATIC_INLINE void | LL_SWPMI_SetTransmissionMode (SWPMI_TypeDef *SWPMIx, uint32_t TxBufferingMode) |
Set Transmission buffering mode. | |
__STATIC_INLINE uint32_t | LL_SWPMI_GetTransmissionMode (SWPMI_TypeDef *SWPMIx) |
Get Transmission buffering mode @rmtoll CR TXMODE LL_SWPMI_GetTransmissionMode. | |
__STATIC_INLINE void | LL_SWPMI_EnableLoopback (SWPMI_TypeDef *SWPMIx) |
Enable loopback mode @rmtoll CR LPBK LL_SWPMI_EnableLoopback. | |
__STATIC_INLINE void | LL_SWPMI_DisableLoopback (SWPMI_TypeDef *SWPMIx) |
Disable loopback mode @rmtoll CR LPBK LL_SWPMI_DisableLoopback. | |
__STATIC_INLINE void | LL_SWPMI_EnableTransceiver (SWPMI_TypeDef *SWPMIx) |
Enable SWPMI transceiver. | |
__STATIC_INLINE void | LL_SWPMI_DisableTransceiver (SWPMI_TypeDef *SWPMIx) |
Disable SWPMI transceiver. | |
__STATIC_INLINE uint32_t | LL_SWPMI_IsEnabledTransceiver (SWPMI_TypeDef *SWPMIx) |
Check if SWPMI transceiver is enabled @rmtoll CR SWPEN LL_SWPMI_IsEnabledTransceiver. | |
__STATIC_INLINE void | LL_SWPMI_Activate (SWPMI_TypeDef *SWPMIx) |
Activate Single wire protocol bus (SUSPENDED or ACTIVATED state) | |
__STATIC_INLINE uint32_t | LL_SWPMI_IsActivated (SWPMI_TypeDef *SWPMIx) |
Check if Single wire protocol bus is in ACTIVATED state. @rmtoll CR SWPACT LL_SWPMI_Activate. | |
__STATIC_INLINE void | LL_SWPMI_Deactivate (SWPMI_TypeDef *SWPMIx) |
Deactivate immediately Single wire protocol bus (immediate transition to DEACTIVATED state) @rmtoll CR SWPACT LL_SWPMI_Deactivate. | |
__STATIC_INLINE void | LL_SWPMI_RequestDeactivation (SWPMI_TypeDef *SWPMIx) |
Request a deactivation of Single wire protocol bus (request to go in DEACTIVATED state if no resume from slave) @rmtoll CR DEACT LL_SWPMI_RequestDeactivation. | |
__STATIC_INLINE void | LL_SWPMI_SetBitRatePrescaler (SWPMI_TypeDef *SWPMIx, uint32_t BitRatePrescaler) |
Set Bitrate prescaler SWPMI_freq = SWPMI_clk / (((BitRate) + 1) * 4) @rmtoll BRR BR LL_SWPMI_SetBitRatePrescaler. | |
__STATIC_INLINE uint32_t | LL_SWPMI_GetBitRatePrescaler (SWPMI_TypeDef *SWPMIx) |
Get Bitrate prescaler @rmtoll BRR BR LL_SWPMI_GetBitRatePrescaler. | |
__STATIC_INLINE void | LL_SWPMI_SetVoltageClass (SWPMI_TypeDef *SWPMIx, uint32_t VoltageClass) |
Set SWP Voltage Class @rmtoll OR CLASS LL_SWPMI_SetVoltageClass. | |
__STATIC_INLINE uint32_t | LL_SWPMI_GetVoltageClass (SWPMI_TypeDef *SWPMIx) |
Get SWP Voltage Class @rmtoll OR CLASS LL_SWPMI_GetVoltageClass. | |
__STATIC_INLINE void LL_SWPMI_Activate | ( | SWPMI_TypeDef * | SWPMIx | ) |
Activate Single wire protocol bus (SUSPENDED or ACTIVATED state)
SWPMIx | SWPMI Instance |
None |
__STATIC_INLINE void LL_SWPMI_Deactivate | ( | SWPMI_TypeDef * | SWPMIx | ) |
Deactivate immediately Single wire protocol bus (immediate transition to DEACTIVATED state) @rmtoll CR SWPACT LL_SWPMI_Deactivate.
SWPMIx | SWPMI Instance |
None |
__STATIC_INLINE void LL_SWPMI_DisableLoopback | ( | SWPMI_TypeDef * | SWPMIx | ) |
Disable loopback mode @rmtoll CR LPBK LL_SWPMI_DisableLoopback.
SWPMIx | SWPMI Instance |
None |
__STATIC_INLINE void LL_SWPMI_DisableTransceiver | ( | SWPMI_TypeDef * | SWPMIx | ) |
Disable SWPMI transceiver.
SWPMIx | SWPMI Instance |
None |
__STATIC_INLINE void LL_SWPMI_EnableLoopback | ( | SWPMI_TypeDef * | SWPMIx | ) |
Enable loopback mode @rmtoll CR LPBK LL_SWPMI_EnableLoopback.
SWPMIx | SWPMI Instance |
None |
__STATIC_INLINE void LL_SWPMI_EnableTransceiver | ( | SWPMI_TypeDef * | SWPMIx | ) |
Enable SWPMI transceiver.
SWPMIx | SWPMI Instance |
None |
__STATIC_INLINE uint32_t LL_SWPMI_GetBitRatePrescaler | ( | SWPMI_TypeDef * | SWPMIx | ) |
Get Bitrate prescaler @rmtoll BRR BR LL_SWPMI_GetBitRatePrescaler.
SWPMIx | SWPMI Instance |
A | number between Min_Data=0 and Max_Data=255U |
__STATIC_INLINE uint32_t LL_SWPMI_GetReceptionMode | ( | SWPMI_TypeDef * | SWPMIx | ) |
Get Reception buffering mode @rmtoll CR RXMODE LL_SWPMI_GetReceptionMode.
SWPMIx | SWPMI Instance |
Returned | value can be one of the following values: |
__STATIC_INLINE uint32_t LL_SWPMI_GetTransmissionMode | ( | SWPMI_TypeDef * | SWPMIx | ) |
Get Transmission buffering mode @rmtoll CR TXMODE LL_SWPMI_GetTransmissionMode.
SWPMIx | SWPMI Instance |
Returned | value can be one of the following values: |
__STATIC_INLINE uint32_t LL_SWPMI_GetVoltageClass | ( | SWPMI_TypeDef * | SWPMIx | ) |
Get SWP Voltage Class @rmtoll OR CLASS LL_SWPMI_GetVoltageClass.
SWPMIx | SWPMI Instance |
Returned | value can be one of the following values: |
__STATIC_INLINE uint32_t LL_SWPMI_IsActivated | ( | SWPMI_TypeDef * | SWPMIx | ) |
Check if Single wire protocol bus is in ACTIVATED state. @rmtoll CR SWPACT LL_SWPMI_Activate.
SWPMIx | SWPMI Instance |
State | of bit (1 or 0). |
__STATIC_INLINE uint32_t LL_SWPMI_IsEnabledTransceiver | ( | SWPMI_TypeDef * | SWPMIx | ) |
Check if SWPMI transceiver is enabled @rmtoll CR SWPEN LL_SWPMI_IsEnabledTransceiver.
SWPMIx | SWPMI Instance |
State | of bit (1 or 0). |
__STATIC_INLINE void LL_SWPMI_RequestDeactivation | ( | SWPMI_TypeDef * | SWPMIx | ) |
Request a deactivation of Single wire protocol bus (request to go in DEACTIVATED state if no resume from slave) @rmtoll CR DEACT LL_SWPMI_RequestDeactivation.
SWPMIx | SWPMI Instance |
None |
__STATIC_INLINE void LL_SWPMI_SetBitRatePrescaler | ( | SWPMI_TypeDef * | SWPMIx, |
uint32_t | BitRatePrescaler | ||
) |
Set Bitrate prescaler SWPMI_freq = SWPMI_clk / (((BitRate) + 1) * 4) @rmtoll BRR BR LL_SWPMI_SetBitRatePrescaler.
SWPMIx | SWPMI Instance |
BitRatePrescaler | A number between Min_Data=0 and Max_Data=255U |
None |
__STATIC_INLINE void LL_SWPMI_SetReceptionMode | ( | SWPMI_TypeDef * | SWPMIx, |
uint32_t | RxBufferingMode | ||
) |
Set Reception buffering mode.
SWPMIx | SWPMI Instance |
RxBufferingMode | This parameter can be one of the following values: |
None |
__STATIC_INLINE void LL_SWPMI_SetTransmissionMode | ( | SWPMI_TypeDef * | SWPMIx, |
uint32_t | TxBufferingMode | ||
) |
Set Transmission buffering mode.
SWPMIx | SWPMI Instance |
TxBufferingMode | This parameter can be one of the following values: |
None |
__STATIC_INLINE void LL_SWPMI_SetVoltageClass | ( | SWPMI_TypeDef * | SWPMIx, |
uint32_t | VoltageClass | ||
) |
Set SWP Voltage Class @rmtoll OR CLASS LL_SWPMI_SetVoltageClass.
SWPMIx | SWPMI Instance |
VoltageClass | This parameter can be one of the following values: |
None |