Lines Matching refs:LPUARTx

495 __STATIC_INLINE void LL_LPUART_Enable(USART_TypeDef *LPUARTx)  in LL_LPUART_Enable()  argument
497 SET_BIT(LPUARTx->CR1, USART_CR1_UE); in LL_LPUART_Enable()
514 __STATIC_INLINE void LL_LPUART_Disable(USART_TypeDef *LPUARTx) in LL_LPUART_Disable() argument
516 CLEAR_BIT(LPUARTx->CR1, USART_CR1_UE); in LL_LPUART_Disable()
525 __STATIC_INLINE uint32_t LL_LPUART_IsEnabled(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabled() argument
527 return ((READ_BIT(LPUARTx->CR1, USART_CR1_UE) == (USART_CR1_UE)) ? 1UL : 0UL); in LL_LPUART_IsEnabled()
536 __STATIC_INLINE void LL_LPUART_EnableFIFO(USART_TypeDef *LPUARTx) in LL_LPUART_EnableFIFO() argument
538 SET_BIT(LPUARTx->CR1, USART_CR1_FIFOEN); in LL_LPUART_EnableFIFO()
547 __STATIC_INLINE void LL_LPUART_DisableFIFO(USART_TypeDef *LPUARTx) in LL_LPUART_DisableFIFO() argument
549 CLEAR_BIT(LPUARTx->CR1, USART_CR1_FIFOEN); in LL_LPUART_DisableFIFO()
558 __STATIC_INLINE uint32_t LL_LPUART_IsEnabledFIFO(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabledFIFO() argument
560 return ((READ_BIT(LPUARTx->CR1, USART_CR1_FIFOEN) == (USART_CR1_FIFOEN)) ? 1UL : 0UL); in LL_LPUART_IsEnabledFIFO()
576 __STATIC_INLINE void LL_LPUART_SetTXFIFOThreshold(USART_TypeDef *LPUARTx, uint32_t Threshold) in LL_LPUART_SetTXFIFOThreshold() argument
578 ATOMIC_MODIFY_REG(LPUARTx->CR3, USART_CR3_TXFTCFG, Threshold << USART_CR3_TXFTCFG_Pos); in LL_LPUART_SetTXFIFOThreshold()
593 __STATIC_INLINE uint32_t LL_LPUART_GetTXFIFOThreshold(const USART_TypeDef *LPUARTx) in LL_LPUART_GetTXFIFOThreshold() argument
595 return (uint32_t)(READ_BIT(LPUARTx->CR3, USART_CR3_TXFTCFG) >> USART_CR3_TXFTCFG_Pos); in LL_LPUART_GetTXFIFOThreshold()
611 __STATIC_INLINE void LL_LPUART_SetRXFIFOThreshold(USART_TypeDef *LPUARTx, uint32_t Threshold) in LL_LPUART_SetRXFIFOThreshold() argument
613 ATOMIC_MODIFY_REG(LPUARTx->CR3, USART_CR3_RXFTCFG, Threshold << USART_CR3_RXFTCFG_Pos); in LL_LPUART_SetRXFIFOThreshold()
628 __STATIC_INLINE uint32_t LL_LPUART_GetRXFIFOThreshold(const USART_TypeDef *LPUARTx) in LL_LPUART_GetRXFIFOThreshold() argument
630 return (uint32_t)(READ_BIT(LPUARTx->CR3, USART_CR3_RXFTCFG) >> USART_CR3_RXFTCFG_Pos); in LL_LPUART_GetRXFIFOThreshold()
654 __STATIC_INLINE void LL_LPUART_ConfigFIFOsThreshold(USART_TypeDef *LPUARTx, uint32_t TXThreshold, u… in LL_LPUART_ConfigFIFOsThreshold() argument
656 …ATOMIC_MODIFY_REG(LPUARTx->CR3, USART_CR3_TXFTCFG | USART_CR3_RXFTCFG, (TXThreshold << USART_CR3_T… in LL_LPUART_ConfigFIFOsThreshold()
668 __STATIC_INLINE void LL_LPUART_EnableInStopMode(USART_TypeDef *LPUARTx) in LL_LPUART_EnableInStopMode() argument
670 ATOMIC_SET_BIT(LPUARTx->CR1, USART_CR1_UESM); in LL_LPUART_EnableInStopMode()
680 __STATIC_INLINE void LL_LPUART_DisableInStopMode(USART_TypeDef *LPUARTx) in LL_LPUART_DisableInStopMode() argument
682 ATOMIC_CLEAR_BIT(LPUARTx->CR1, USART_CR1_UESM); in LL_LPUART_DisableInStopMode()
692 __STATIC_INLINE uint32_t LL_LPUART_IsEnabledInStopMode(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabledInStopMode() argument
694 return ((READ_BIT(LPUARTx->CR1, USART_CR1_UESM) == (USART_CR1_UESM)) ? 1UL : 0UL); in LL_LPUART_IsEnabledInStopMode()
703 __STATIC_INLINE void LL_LPUART_EnableDirectionRx(USART_TypeDef *LPUARTx) in LL_LPUART_EnableDirectionRx() argument
705 ATOMIC_SET_BIT(LPUARTx->CR1, USART_CR1_RE); in LL_LPUART_EnableDirectionRx()
714 __STATIC_INLINE void LL_LPUART_DisableDirectionRx(USART_TypeDef *LPUARTx) in LL_LPUART_DisableDirectionRx() argument
716 ATOMIC_CLEAR_BIT(LPUARTx->CR1, USART_CR1_RE); in LL_LPUART_DisableDirectionRx()
725 __STATIC_INLINE void LL_LPUART_EnableDirectionTx(USART_TypeDef *LPUARTx) in LL_LPUART_EnableDirectionTx() argument
727 ATOMIC_SET_BIT(LPUARTx->CR1, USART_CR1_TE); in LL_LPUART_EnableDirectionTx()
736 __STATIC_INLINE void LL_LPUART_DisableDirectionTx(USART_TypeDef *LPUARTx) in LL_LPUART_DisableDirectionTx() argument
738 ATOMIC_CLEAR_BIT(LPUARTx->CR1, USART_CR1_TE); in LL_LPUART_DisableDirectionTx()
754 __STATIC_INLINE void LL_LPUART_SetTransferDirection(USART_TypeDef *LPUARTx, uint32_t TransferDirect… in LL_LPUART_SetTransferDirection() argument
756 ATOMIC_MODIFY_REG(LPUARTx->CR1, USART_CR1_RE | USART_CR1_TE, TransferDirection); in LL_LPUART_SetTransferDirection()
770 __STATIC_INLINE uint32_t LL_LPUART_GetTransferDirection(const USART_TypeDef *LPUARTx) in LL_LPUART_GetTransferDirection() argument
772 return (uint32_t)(READ_BIT(LPUARTx->CR1, USART_CR1_RE | USART_CR1_TE)); in LL_LPUART_GetTransferDirection()
789 __STATIC_INLINE void LL_LPUART_SetParity(USART_TypeDef *LPUARTx, uint32_t Parity) in LL_LPUART_SetParity() argument
791 MODIFY_REG(LPUARTx->CR1, USART_CR1_PS | USART_CR1_PCE, Parity); in LL_LPUART_SetParity()
804 __STATIC_INLINE uint32_t LL_LPUART_GetParity(const USART_TypeDef *LPUARTx) in LL_LPUART_GetParity() argument
806 return (uint32_t)(READ_BIT(LPUARTx->CR1, USART_CR1_PS | USART_CR1_PCE)); in LL_LPUART_GetParity()
818 __STATIC_INLINE void LL_LPUART_SetWakeUpMethod(USART_TypeDef *LPUARTx, uint32_t Method) in LL_LPUART_SetWakeUpMethod() argument
820 MODIFY_REG(LPUARTx->CR1, USART_CR1_WAKE, Method); in LL_LPUART_SetWakeUpMethod()
831 __STATIC_INLINE uint32_t LL_LPUART_GetWakeUpMethod(const USART_TypeDef *LPUARTx) in LL_LPUART_GetWakeUpMethod() argument
833 return (uint32_t)(READ_BIT(LPUARTx->CR1, USART_CR1_WAKE)); in LL_LPUART_GetWakeUpMethod()
846 __STATIC_INLINE void LL_LPUART_SetDataWidth(USART_TypeDef *LPUARTx, uint32_t DataWidth) in LL_LPUART_SetDataWidth() argument
848 MODIFY_REG(LPUARTx->CR1, USART_CR1_M, DataWidth); in LL_LPUART_SetDataWidth()
860 __STATIC_INLINE uint32_t LL_LPUART_GetDataWidth(const USART_TypeDef *LPUARTx) in LL_LPUART_GetDataWidth() argument
862 return (uint32_t)(READ_BIT(LPUARTx->CR1, USART_CR1_M)); in LL_LPUART_GetDataWidth()
871 __STATIC_INLINE void LL_LPUART_EnableMuteMode(USART_TypeDef *LPUARTx) in LL_LPUART_EnableMuteMode() argument
873 ATOMIC_SET_BIT(LPUARTx->CR1, USART_CR1_MME); in LL_LPUART_EnableMuteMode()
882 __STATIC_INLINE void LL_LPUART_DisableMuteMode(USART_TypeDef *LPUARTx) in LL_LPUART_DisableMuteMode() argument
884 ATOMIC_CLEAR_BIT(LPUARTx->CR1, USART_CR1_MME); in LL_LPUART_DisableMuteMode()
893 __STATIC_INLINE uint32_t LL_LPUART_IsEnabledMuteMode(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabledMuteMode() argument
895 return ((READ_BIT(LPUARTx->CR1, USART_CR1_MME) == (USART_CR1_MME)) ? 1UL : 0UL); in LL_LPUART_IsEnabledMuteMode()
917 __STATIC_INLINE void LL_LPUART_SetPrescaler(USART_TypeDef *LPUARTx, uint32_t PrescalerValue) in LL_LPUART_SetPrescaler() argument
919 MODIFY_REG(LPUARTx->PRESC, USART_PRESC_PRESCALER, (uint16_t)PrescalerValue); in LL_LPUART_SetPrescaler()
940 __STATIC_INLINE uint32_t LL_LPUART_GetPrescaler(const USART_TypeDef *LPUARTx) in LL_LPUART_GetPrescaler() argument
942 return (uint32_t)(READ_BIT(LPUARTx->PRESC, USART_PRESC_PRESCALER)); in LL_LPUART_GetPrescaler()
954 __STATIC_INLINE void LL_LPUART_SetStopBitsLength(USART_TypeDef *LPUARTx, uint32_t StopBits) in LL_LPUART_SetStopBitsLength() argument
956 MODIFY_REG(LPUARTx->CR2, USART_CR2_STOP, StopBits); in LL_LPUART_SetStopBitsLength()
967 __STATIC_INLINE uint32_t LL_LPUART_GetStopBitsLength(const USART_TypeDef *LPUARTx) in LL_LPUART_GetStopBitsLength() argument
969 return (uint32_t)(READ_BIT(LPUARTx->CR2, USART_CR2_STOP)); in LL_LPUART_GetStopBitsLength()
996 __STATIC_INLINE void LL_LPUART_ConfigCharacter(USART_TypeDef *LPUARTx, uint32_t DataWidth, uint32_t… in LL_LPUART_ConfigCharacter() argument
999 MODIFY_REG(LPUARTx->CR1, USART_CR1_PS | USART_CR1_PCE | USART_CR1_M, Parity | DataWidth); in LL_LPUART_ConfigCharacter()
1000 MODIFY_REG(LPUARTx->CR2, USART_CR2_STOP, StopBits); in LL_LPUART_ConfigCharacter()
1012 __STATIC_INLINE void LL_LPUART_SetTXRXSwap(USART_TypeDef *LPUARTx, uint32_t SwapConfig) in LL_LPUART_SetTXRXSwap() argument
1014 MODIFY_REG(LPUARTx->CR2, USART_CR2_SWAP, SwapConfig); in LL_LPUART_SetTXRXSwap()
1025 __STATIC_INLINE uint32_t LL_LPUART_GetTXRXSwap(const USART_TypeDef *LPUARTx) in LL_LPUART_GetTXRXSwap() argument
1027 return (uint32_t)(READ_BIT(LPUARTx->CR2, USART_CR2_SWAP)); in LL_LPUART_GetTXRXSwap()
1039 __STATIC_INLINE void LL_LPUART_SetRXPinLevel(USART_TypeDef *LPUARTx, uint32_t PinInvMethod) in LL_LPUART_SetRXPinLevel() argument
1041 MODIFY_REG(LPUARTx->CR2, USART_CR2_RXINV, PinInvMethod); in LL_LPUART_SetRXPinLevel()
1052 __STATIC_INLINE uint32_t LL_LPUART_GetRXPinLevel(const USART_TypeDef *LPUARTx) in LL_LPUART_GetRXPinLevel() argument
1054 return (uint32_t)(READ_BIT(LPUARTx->CR2, USART_CR2_RXINV)); in LL_LPUART_GetRXPinLevel()
1066 __STATIC_INLINE void LL_LPUART_SetTXPinLevel(USART_TypeDef *LPUARTx, uint32_t PinInvMethod) in LL_LPUART_SetTXPinLevel() argument
1068 MODIFY_REG(LPUARTx->CR2, USART_CR2_TXINV, PinInvMethod); in LL_LPUART_SetTXPinLevel()
1079 __STATIC_INLINE uint32_t LL_LPUART_GetTXPinLevel(const USART_TypeDef *LPUARTx) in LL_LPUART_GetTXPinLevel() argument
1081 return (uint32_t)(READ_BIT(LPUARTx->CR2, USART_CR2_TXINV)); in LL_LPUART_GetTXPinLevel()
1096 __STATIC_INLINE void LL_LPUART_SetBinaryDataLogic(USART_TypeDef *LPUARTx, uint32_t DataLogic) in LL_LPUART_SetBinaryDataLogic() argument
1098 MODIFY_REG(LPUARTx->CR2, USART_CR2_DATAINV, DataLogic); in LL_LPUART_SetBinaryDataLogic()
1109 __STATIC_INLINE uint32_t LL_LPUART_GetBinaryDataLogic(const USART_TypeDef *LPUARTx) in LL_LPUART_GetBinaryDataLogic() argument
1111 return (uint32_t)(READ_BIT(LPUARTx->CR2, USART_CR2_DATAINV)); in LL_LPUART_GetBinaryDataLogic()
1125 __STATIC_INLINE void LL_LPUART_SetTransferBitOrder(USART_TypeDef *LPUARTx, uint32_t BitOrder) in LL_LPUART_SetTransferBitOrder() argument
1127 MODIFY_REG(LPUARTx->CR2, USART_CR2_MSBFIRST, BitOrder); in LL_LPUART_SetTransferBitOrder()
1140 __STATIC_INLINE uint32_t LL_LPUART_GetTransferBitOrder(const USART_TypeDef *LPUARTx) in LL_LPUART_GetTransferBitOrder() argument
1142 return (uint32_t)(READ_BIT(LPUARTx->CR2, USART_CR2_MSBFIRST)); in LL_LPUART_GetTransferBitOrder()
1168 __STATIC_INLINE void LL_LPUART_ConfigNodeAddress(USART_TypeDef *LPUARTx, uint32_t AddressLen, uint3… in LL_LPUART_ConfigNodeAddress() argument
1170 MODIFY_REG(LPUARTx->CR2, USART_CR2_ADD | USART_CR2_ADDM7, in LL_LPUART_ConfigNodeAddress()
1184 __STATIC_INLINE uint32_t LL_LPUART_GetNodeAddress(const USART_TypeDef *LPUARTx) in LL_LPUART_GetNodeAddress() argument
1186 return (uint32_t)(READ_BIT(LPUARTx->CR2, USART_CR2_ADD) >> USART_CR2_ADD_Pos); in LL_LPUART_GetNodeAddress()
1197 __STATIC_INLINE uint32_t LL_LPUART_GetNodeAddressLen(const USART_TypeDef *LPUARTx) in LL_LPUART_GetNodeAddressLen() argument
1199 return (uint32_t)(READ_BIT(LPUARTx->CR2, USART_CR2_ADDM7)); in LL_LPUART_GetNodeAddressLen()
1208 __STATIC_INLINE void LL_LPUART_EnableRTSHWFlowCtrl(USART_TypeDef *LPUARTx) in LL_LPUART_EnableRTSHWFlowCtrl() argument
1210 SET_BIT(LPUARTx->CR3, USART_CR3_RTSE); in LL_LPUART_EnableRTSHWFlowCtrl()
1219 __STATIC_INLINE void LL_LPUART_DisableRTSHWFlowCtrl(USART_TypeDef *LPUARTx) in LL_LPUART_DisableRTSHWFlowCtrl() argument
1221 CLEAR_BIT(LPUARTx->CR3, USART_CR3_RTSE); in LL_LPUART_DisableRTSHWFlowCtrl()
1230 __STATIC_INLINE void LL_LPUART_EnableCTSHWFlowCtrl(USART_TypeDef *LPUARTx) in LL_LPUART_EnableCTSHWFlowCtrl() argument
1232 SET_BIT(LPUARTx->CR3, USART_CR3_CTSE); in LL_LPUART_EnableCTSHWFlowCtrl()
1241 __STATIC_INLINE void LL_LPUART_DisableCTSHWFlowCtrl(USART_TypeDef *LPUARTx) in LL_LPUART_DisableCTSHWFlowCtrl() argument
1243 CLEAR_BIT(LPUARTx->CR3, USART_CR3_CTSE); in LL_LPUART_DisableCTSHWFlowCtrl()
1258 __STATIC_INLINE void LL_LPUART_SetHWFlowCtrl(USART_TypeDef *LPUARTx, uint32_t HardwareFlowControl) in LL_LPUART_SetHWFlowCtrl() argument
1260 MODIFY_REG(LPUARTx->CR3, USART_CR3_RTSE | USART_CR3_CTSE, HardwareFlowControl); in LL_LPUART_SetHWFlowCtrl()
1274 __STATIC_INLINE uint32_t LL_LPUART_GetHWFlowCtrl(const USART_TypeDef *LPUARTx) in LL_LPUART_GetHWFlowCtrl() argument
1276 return (uint32_t)(READ_BIT(LPUARTx->CR3, USART_CR3_RTSE | USART_CR3_CTSE)); in LL_LPUART_GetHWFlowCtrl()
1285 __STATIC_INLINE void LL_LPUART_EnableOverrunDetect(USART_TypeDef *LPUARTx) in LL_LPUART_EnableOverrunDetect() argument
1287 CLEAR_BIT(LPUARTx->CR3, USART_CR3_OVRDIS); in LL_LPUART_EnableOverrunDetect()
1296 __STATIC_INLINE void LL_LPUART_DisableOverrunDetect(USART_TypeDef *LPUARTx) in LL_LPUART_DisableOverrunDetect() argument
1298 SET_BIT(LPUARTx->CR3, USART_CR3_OVRDIS); in LL_LPUART_DisableOverrunDetect()
1307 __STATIC_INLINE uint32_t LL_LPUART_IsEnabledOverrunDetect(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabledOverrunDetect() argument
1309 return ((READ_BIT(LPUARTx->CR3, USART_CR3_OVRDIS) != USART_CR3_OVRDIS) ? 1UL : 0UL); in LL_LPUART_IsEnabledOverrunDetect()
1322 __STATIC_INLINE void LL_LPUART_SetWKUPType(USART_TypeDef *LPUARTx, uint32_t Type) in LL_LPUART_SetWKUPType() argument
1324 MODIFY_REG(LPUARTx->CR3, USART_CR3_WUS, Type); in LL_LPUART_SetWKUPType()
1336 __STATIC_INLINE uint32_t LL_LPUART_GetWKUPType(const USART_TypeDef *LPUARTx) in LL_LPUART_GetWKUPType() argument
1338 return (uint32_t)(READ_BIT(LPUARTx->CR3, USART_CR3_WUS)); in LL_LPUART_GetWKUPType()
1370 __STATIC_INLINE void LL_LPUART_SetBaudRate(USART_TypeDef *LPUARTx, uint32_t PeriphClk, uint32_t Pre… in LL_LPUART_SetBaudRate() argument
1375 LPUARTx->BRR = __LL_LPUART_DIV(PeriphClk, PrescalerValue, BaudRate); in LL_LPUART_SetBaudRate()
1401 __STATIC_INLINE uint32_t LL_LPUART_GetBaudRate(const USART_TypeDef *LPUARTx, uint32_t PeriphClk, in LL_LPUART_GetBaudRate() argument
1408 lpuartdiv = LPUARTx->BRR & LPUART_BRR_MASK; in LL_LPUART_GetBaudRate()
1436 __STATIC_INLINE void LL_LPUART_EnableHalfDuplex(USART_TypeDef *LPUARTx) in LL_LPUART_EnableHalfDuplex() argument
1438 SET_BIT(LPUARTx->CR3, USART_CR3_HDSEL); in LL_LPUART_EnableHalfDuplex()
1447 __STATIC_INLINE void LL_LPUART_DisableHalfDuplex(USART_TypeDef *LPUARTx) in LL_LPUART_DisableHalfDuplex() argument
1449 CLEAR_BIT(LPUARTx->CR3, USART_CR3_HDSEL); in LL_LPUART_DisableHalfDuplex()
1458 __STATIC_INLINE uint32_t LL_LPUART_IsEnabledHalfDuplex(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabledHalfDuplex() argument
1460 return ((READ_BIT(LPUARTx->CR3, USART_CR3_HDSEL) == (USART_CR3_HDSEL)) ? 1UL : 0UL); in LL_LPUART_IsEnabledHalfDuplex()
1478 __STATIC_INLINE void LL_LPUART_SetDEDeassertionTime(USART_TypeDef *LPUARTx, uint32_t Time) in LL_LPUART_SetDEDeassertionTime() argument
1480 MODIFY_REG(LPUARTx->CR1, USART_CR1_DEDT, Time << USART_CR1_DEDT_Pos); in LL_LPUART_SetDEDeassertionTime()
1489 __STATIC_INLINE uint32_t LL_LPUART_GetDEDeassertionTime(const USART_TypeDef *LPUARTx) in LL_LPUART_GetDEDeassertionTime() argument
1491 return (uint32_t)(READ_BIT(LPUARTx->CR1, USART_CR1_DEDT) >> USART_CR1_DEDT_Pos); in LL_LPUART_GetDEDeassertionTime()
1501 __STATIC_INLINE void LL_LPUART_SetDEAssertionTime(USART_TypeDef *LPUARTx, uint32_t Time) in LL_LPUART_SetDEAssertionTime() argument
1503 MODIFY_REG(LPUARTx->CR1, USART_CR1_DEAT, Time << USART_CR1_DEAT_Pos); in LL_LPUART_SetDEAssertionTime()
1512 __STATIC_INLINE uint32_t LL_LPUART_GetDEAssertionTime(const USART_TypeDef *LPUARTx) in LL_LPUART_GetDEAssertionTime() argument
1514 return (uint32_t)(READ_BIT(LPUARTx->CR1, USART_CR1_DEAT) >> USART_CR1_DEAT_Pos); in LL_LPUART_GetDEAssertionTime()
1523 __STATIC_INLINE void LL_LPUART_EnableDEMode(USART_TypeDef *LPUARTx) in LL_LPUART_EnableDEMode() argument
1525 SET_BIT(LPUARTx->CR3, USART_CR3_DEM); in LL_LPUART_EnableDEMode()
1534 __STATIC_INLINE void LL_LPUART_DisableDEMode(USART_TypeDef *LPUARTx) in LL_LPUART_DisableDEMode() argument
1536 CLEAR_BIT(LPUARTx->CR3, USART_CR3_DEM); in LL_LPUART_DisableDEMode()
1545 __STATIC_INLINE uint32_t LL_LPUART_IsEnabledDEMode(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabledDEMode() argument
1547 return ((READ_BIT(LPUARTx->CR3, USART_CR3_DEM) == (USART_CR3_DEM)) ? 1UL : 0UL); in LL_LPUART_IsEnabledDEMode()
1559 __STATIC_INLINE void LL_LPUART_SetDESignalPolarity(USART_TypeDef *LPUARTx, uint32_t Polarity) in LL_LPUART_SetDESignalPolarity() argument
1561 MODIFY_REG(LPUARTx->CR3, USART_CR3_DEP, Polarity); in LL_LPUART_SetDESignalPolarity()
1572 __STATIC_INLINE uint32_t LL_LPUART_GetDESignalPolarity(const USART_TypeDef *LPUARTx) in LL_LPUART_GetDESignalPolarity() argument
1574 return (uint32_t)(READ_BIT(LPUARTx->CR3, USART_CR3_DEP)); in LL_LPUART_GetDESignalPolarity()
1591 __STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_PE(const USART_TypeDef *LPUARTx) in LL_LPUART_IsActiveFlag_PE() argument
1593 return ((READ_BIT(LPUARTx->ISR, USART_ISR_PE) == (USART_ISR_PE)) ? 1UL : 0UL); in LL_LPUART_IsActiveFlag_PE()
1602 __STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_FE(const USART_TypeDef *LPUARTx) in LL_LPUART_IsActiveFlag_FE() argument
1604 return ((READ_BIT(LPUARTx->ISR, USART_ISR_FE) == (USART_ISR_FE)) ? 1UL : 0UL); in LL_LPUART_IsActiveFlag_FE()
1613 __STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_NE(const USART_TypeDef *LPUARTx) in LL_LPUART_IsActiveFlag_NE() argument
1615 return ((READ_BIT(LPUARTx->ISR, USART_ISR_NE) == (USART_ISR_NE)) ? 1UL : 0UL); in LL_LPUART_IsActiveFlag_NE()
1624 __STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_ORE(const USART_TypeDef *LPUARTx) in LL_LPUART_IsActiveFlag_ORE() argument
1626 return ((READ_BIT(LPUARTx->ISR, USART_ISR_ORE) == (USART_ISR_ORE)) ? 1UL : 0UL); in LL_LPUART_IsActiveFlag_ORE()
1635 __STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_IDLE(const USART_TypeDef *LPUARTx) in LL_LPUART_IsActiveFlag_IDLE() argument
1637 return ((READ_BIT(LPUARTx->ISR, USART_ISR_IDLE) == (USART_ISR_IDLE)) ? 1UL : 0UL); in LL_LPUART_IsActiveFlag_IDLE()
1648 __STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_RXNE_RXFNE(const USART_TypeDef *LPUARTx) in LL_LPUART_IsActiveFlag_RXNE_RXFNE() argument
1650 return ((READ_BIT(LPUARTx->ISR, USART_ISR_RXNE_RXFNE) == (USART_ISR_RXNE_RXFNE)) ? 1UL : 0UL); in LL_LPUART_IsActiveFlag_RXNE_RXFNE()
1659 __STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_TC(const USART_TypeDef *LPUARTx) in LL_LPUART_IsActiveFlag_TC() argument
1661 return ((READ_BIT(LPUARTx->ISR, USART_ISR_TC) == (USART_ISR_TC)) ? 1UL : 0UL); in LL_LPUART_IsActiveFlag_TC()
1672 __STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_TXE_TXFNF(const USART_TypeDef *LPUARTx) in LL_LPUART_IsActiveFlag_TXE_TXFNF() argument
1674 return ((READ_BIT(LPUARTx->ISR, USART_ISR_TXE_TXFNF) == (USART_ISR_TXE_TXFNF)) ? 1UL : 0UL); in LL_LPUART_IsActiveFlag_TXE_TXFNF()
1683 __STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_nCTS(const USART_TypeDef *LPUARTx) in LL_LPUART_IsActiveFlag_nCTS() argument
1685 return ((READ_BIT(LPUARTx->ISR, USART_ISR_CTSIF) == (USART_ISR_CTSIF)) ? 1UL : 0UL); in LL_LPUART_IsActiveFlag_nCTS()
1694 __STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_CTS(const USART_TypeDef *LPUARTx) in LL_LPUART_IsActiveFlag_CTS() argument
1696 return ((READ_BIT(LPUARTx->ISR, USART_ISR_CTS) == (USART_ISR_CTS)) ? 1UL : 0UL); in LL_LPUART_IsActiveFlag_CTS()
1705 __STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_BUSY(const USART_TypeDef *LPUARTx) in LL_LPUART_IsActiveFlag_BUSY() argument
1707 return ((READ_BIT(LPUARTx->ISR, USART_ISR_BUSY) == (USART_ISR_BUSY)) ? 1UL : 0UL); in LL_LPUART_IsActiveFlag_BUSY()
1716 __STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_CM(const USART_TypeDef *LPUARTx) in LL_LPUART_IsActiveFlag_CM() argument
1718 return ((READ_BIT(LPUARTx->ISR, USART_ISR_CMF) == (USART_ISR_CMF)) ? 1UL : 0UL); in LL_LPUART_IsActiveFlag_CM()
1727 __STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_SBK(const USART_TypeDef *LPUARTx) in LL_LPUART_IsActiveFlag_SBK() argument
1729 return ((READ_BIT(LPUARTx->ISR, USART_ISR_SBKF) == (USART_ISR_SBKF)) ? 1UL : 0UL); in LL_LPUART_IsActiveFlag_SBK()
1738 __STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_RWU(const USART_TypeDef *LPUARTx) in LL_LPUART_IsActiveFlag_RWU() argument
1740 return ((READ_BIT(LPUARTx->ISR, USART_ISR_RWU) == (USART_ISR_RWU)) ? 1UL : 0UL); in LL_LPUART_IsActiveFlag_RWU()
1749 __STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_WKUP(const USART_TypeDef *LPUARTx) in LL_LPUART_IsActiveFlag_WKUP() argument
1751 return ((READ_BIT(LPUARTx->ISR, USART_ISR_WUF) == (USART_ISR_WUF)) ? 1UL : 0UL); in LL_LPUART_IsActiveFlag_WKUP()
1760 __STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_TEACK(const USART_TypeDef *LPUARTx) in LL_LPUART_IsActiveFlag_TEACK() argument
1762 return ((READ_BIT(LPUARTx->ISR, USART_ISR_TEACK) == (USART_ISR_TEACK)) ? 1UL : 0UL); in LL_LPUART_IsActiveFlag_TEACK()
1771 __STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_REACK(const USART_TypeDef *LPUARTx) in LL_LPUART_IsActiveFlag_REACK() argument
1773 return ((READ_BIT(LPUARTx->ISR, USART_ISR_REACK) == (USART_ISR_REACK)) ? 1UL : 0UL); in LL_LPUART_IsActiveFlag_REACK()
1782 __STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_TXFE(const USART_TypeDef *LPUARTx) in LL_LPUART_IsActiveFlag_TXFE() argument
1784 return ((READ_BIT(LPUARTx->ISR, USART_ISR_TXFE) == (USART_ISR_TXFE)) ? 1UL : 0UL); in LL_LPUART_IsActiveFlag_TXFE()
1793 __STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_RXFF(const USART_TypeDef *LPUARTx) in LL_LPUART_IsActiveFlag_RXFF() argument
1795 return ((READ_BIT(LPUARTx->ISR, USART_ISR_RXFF) == (USART_ISR_RXFF)) ? 1UL : 0UL); in LL_LPUART_IsActiveFlag_RXFF()
1804 __STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_TXFT(const USART_TypeDef *LPUARTx) in LL_LPUART_IsActiveFlag_TXFT() argument
1806 return ((READ_BIT(LPUARTx->ISR, USART_ISR_TXFT) == (USART_ISR_TXFT)) ? 1UL : 0UL); in LL_LPUART_IsActiveFlag_TXFT()
1815 __STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_RXFT(const USART_TypeDef *LPUARTx) in LL_LPUART_IsActiveFlag_RXFT() argument
1817 return ((READ_BIT(LPUARTx->ISR, USART_ISR_RXFT) == (USART_ISR_RXFT)) ? 1UL : 0UL); in LL_LPUART_IsActiveFlag_RXFT()
1826 __STATIC_INLINE void LL_LPUART_ClearFlag_PE(USART_TypeDef *LPUARTx) in LL_LPUART_ClearFlag_PE() argument
1828 WRITE_REG(LPUARTx->ICR, USART_ICR_PECF); in LL_LPUART_ClearFlag_PE()
1837 __STATIC_INLINE void LL_LPUART_ClearFlag_FE(USART_TypeDef *LPUARTx) in LL_LPUART_ClearFlag_FE() argument
1839 WRITE_REG(LPUARTx->ICR, USART_ICR_FECF); in LL_LPUART_ClearFlag_FE()
1848 __STATIC_INLINE void LL_LPUART_ClearFlag_NE(USART_TypeDef *LPUARTx) in LL_LPUART_ClearFlag_NE() argument
1850 WRITE_REG(LPUARTx->ICR, USART_ICR_NECF); in LL_LPUART_ClearFlag_NE()
1859 __STATIC_INLINE void LL_LPUART_ClearFlag_ORE(USART_TypeDef *LPUARTx) in LL_LPUART_ClearFlag_ORE() argument
1861 WRITE_REG(LPUARTx->ICR, USART_ICR_ORECF); in LL_LPUART_ClearFlag_ORE()
1870 __STATIC_INLINE void LL_LPUART_ClearFlag_IDLE(USART_TypeDef *LPUARTx) in LL_LPUART_ClearFlag_IDLE() argument
1872 WRITE_REG(LPUARTx->ICR, USART_ICR_IDLECF); in LL_LPUART_ClearFlag_IDLE()
1881 __STATIC_INLINE void LL_LPUART_ClearFlag_TC(USART_TypeDef *LPUARTx) in LL_LPUART_ClearFlag_TC() argument
1883 WRITE_REG(LPUARTx->ICR, USART_ICR_TCCF); in LL_LPUART_ClearFlag_TC()
1892 __STATIC_INLINE void LL_LPUART_ClearFlag_nCTS(USART_TypeDef *LPUARTx) in LL_LPUART_ClearFlag_nCTS() argument
1894 WRITE_REG(LPUARTx->ICR, USART_ICR_CTSCF); in LL_LPUART_ClearFlag_nCTS()
1903 __STATIC_INLINE void LL_LPUART_ClearFlag_CM(USART_TypeDef *LPUARTx) in LL_LPUART_ClearFlag_CM() argument
1905 WRITE_REG(LPUARTx->ICR, USART_ICR_CMCF); in LL_LPUART_ClearFlag_CM()
1914 __STATIC_INLINE void LL_LPUART_ClearFlag_WKUP(USART_TypeDef *LPUARTx) in LL_LPUART_ClearFlag_WKUP() argument
1916 WRITE_REG(LPUARTx->ICR, USART_ICR_WUCF); in LL_LPUART_ClearFlag_WKUP()
1933 __STATIC_INLINE void LL_LPUART_EnableIT_IDLE(USART_TypeDef *LPUARTx) in LL_LPUART_EnableIT_IDLE() argument
1935 ATOMIC_SET_BIT(LPUARTx->CR1, USART_CR1_IDLEIE); in LL_LPUART_EnableIT_IDLE()
1946 __STATIC_INLINE void LL_LPUART_EnableIT_RXNE_RXFNE(USART_TypeDef *LPUARTx) in LL_LPUART_EnableIT_RXNE_RXFNE() argument
1948 ATOMIC_SET_BIT(LPUARTx->CR1, USART_CR1_RXNEIE_RXFNEIE); in LL_LPUART_EnableIT_RXNE_RXFNE()
1957 __STATIC_INLINE void LL_LPUART_EnableIT_TC(USART_TypeDef *LPUARTx) in LL_LPUART_EnableIT_TC() argument
1959 ATOMIC_SET_BIT(LPUARTx->CR1, USART_CR1_TCIE); in LL_LPUART_EnableIT_TC()
1970 __STATIC_INLINE void LL_LPUART_EnableIT_TXE_TXFNF(USART_TypeDef *LPUARTx) in LL_LPUART_EnableIT_TXE_TXFNF() argument
1972 ATOMIC_SET_BIT(LPUARTx->CR1, USART_CR1_TXEIE_TXFNFIE); in LL_LPUART_EnableIT_TXE_TXFNF()
1981 __STATIC_INLINE void LL_LPUART_EnableIT_PE(USART_TypeDef *LPUARTx) in LL_LPUART_EnableIT_PE() argument
1983 ATOMIC_SET_BIT(LPUARTx->CR1, USART_CR1_PEIE); in LL_LPUART_EnableIT_PE()
1992 __STATIC_INLINE void LL_LPUART_EnableIT_CM(USART_TypeDef *LPUARTx) in LL_LPUART_EnableIT_CM() argument
1994 ATOMIC_SET_BIT(LPUARTx->CR1, USART_CR1_CMIE); in LL_LPUART_EnableIT_CM()
2003 __STATIC_INLINE void LL_LPUART_EnableIT_TXFE(USART_TypeDef *LPUARTx) in LL_LPUART_EnableIT_TXFE() argument
2005 ATOMIC_SET_BIT(LPUARTx->CR1, USART_CR1_TXFEIE); in LL_LPUART_EnableIT_TXFE()
2014 __STATIC_INLINE void LL_LPUART_EnableIT_RXFF(USART_TypeDef *LPUARTx) in LL_LPUART_EnableIT_RXFF() argument
2016 ATOMIC_SET_BIT(LPUARTx->CR1, USART_CR1_RXFFIE); in LL_LPUART_EnableIT_RXFF()
2029 __STATIC_INLINE void LL_LPUART_EnableIT_ERROR(USART_TypeDef *LPUARTx) in LL_LPUART_EnableIT_ERROR() argument
2031 ATOMIC_SET_BIT(LPUARTx->CR3, USART_CR3_EIE); in LL_LPUART_EnableIT_ERROR()
2040 __STATIC_INLINE void LL_LPUART_EnableIT_CTS(USART_TypeDef *LPUARTx) in LL_LPUART_EnableIT_CTS() argument
2042 ATOMIC_SET_BIT(LPUARTx->CR3, USART_CR3_CTSIE); in LL_LPUART_EnableIT_CTS()
2051 __STATIC_INLINE void LL_LPUART_EnableIT_WKUP(USART_TypeDef *LPUARTx) in LL_LPUART_EnableIT_WKUP() argument
2053 ATOMIC_SET_BIT(LPUARTx->CR3, USART_CR3_WUFIE); in LL_LPUART_EnableIT_WKUP()
2062 __STATIC_INLINE void LL_LPUART_EnableIT_TXFT(USART_TypeDef *LPUARTx) in LL_LPUART_EnableIT_TXFT() argument
2064 ATOMIC_SET_BIT(LPUARTx->CR3, USART_CR3_TXFTIE); in LL_LPUART_EnableIT_TXFT()
2073 __STATIC_INLINE void LL_LPUART_EnableIT_RXFT(USART_TypeDef *LPUARTx) in LL_LPUART_EnableIT_RXFT() argument
2075 ATOMIC_SET_BIT(LPUARTx->CR3, USART_CR3_RXFTIE); in LL_LPUART_EnableIT_RXFT()
2084 __STATIC_INLINE void LL_LPUART_DisableIT_IDLE(USART_TypeDef *LPUARTx) in LL_LPUART_DisableIT_IDLE() argument
2086 ATOMIC_CLEAR_BIT(LPUARTx->CR1, USART_CR1_IDLEIE); in LL_LPUART_DisableIT_IDLE()
2097 __STATIC_INLINE void LL_LPUART_DisableIT_RXNE_RXFNE(USART_TypeDef *LPUARTx) in LL_LPUART_DisableIT_RXNE_RXFNE() argument
2099 ATOMIC_CLEAR_BIT(LPUARTx->CR1, USART_CR1_RXNEIE_RXFNEIE); in LL_LPUART_DisableIT_RXNE_RXFNE()
2108 __STATIC_INLINE void LL_LPUART_DisableIT_TC(USART_TypeDef *LPUARTx) in LL_LPUART_DisableIT_TC() argument
2110 ATOMIC_CLEAR_BIT(LPUARTx->CR1, USART_CR1_TCIE); in LL_LPUART_DisableIT_TC()
2121 __STATIC_INLINE void LL_LPUART_DisableIT_TXE_TXFNF(USART_TypeDef *LPUARTx) in LL_LPUART_DisableIT_TXE_TXFNF() argument
2123 ATOMIC_CLEAR_BIT(LPUARTx->CR1, USART_CR1_TXEIE_TXFNFIE); in LL_LPUART_DisableIT_TXE_TXFNF()
2132 __STATIC_INLINE void LL_LPUART_DisableIT_PE(USART_TypeDef *LPUARTx) in LL_LPUART_DisableIT_PE() argument
2134 ATOMIC_CLEAR_BIT(LPUARTx->CR1, USART_CR1_PEIE); in LL_LPUART_DisableIT_PE()
2143 __STATIC_INLINE void LL_LPUART_DisableIT_CM(USART_TypeDef *LPUARTx) in LL_LPUART_DisableIT_CM() argument
2145 ATOMIC_CLEAR_BIT(LPUARTx->CR1, USART_CR1_CMIE); in LL_LPUART_DisableIT_CM()
2154 __STATIC_INLINE void LL_LPUART_DisableIT_TXFE(USART_TypeDef *LPUARTx) in LL_LPUART_DisableIT_TXFE() argument
2156 ATOMIC_CLEAR_BIT(LPUARTx->CR1, USART_CR1_TXFEIE); in LL_LPUART_DisableIT_TXFE()
2165 __STATIC_INLINE void LL_LPUART_DisableIT_RXFF(USART_TypeDef *LPUARTx) in LL_LPUART_DisableIT_RXFF() argument
2167 ATOMIC_CLEAR_BIT(LPUARTx->CR1, USART_CR1_RXFFIE); in LL_LPUART_DisableIT_RXFF()
2180 __STATIC_INLINE void LL_LPUART_DisableIT_ERROR(USART_TypeDef *LPUARTx) in LL_LPUART_DisableIT_ERROR() argument
2182 ATOMIC_CLEAR_BIT(LPUARTx->CR3, USART_CR3_EIE); in LL_LPUART_DisableIT_ERROR()
2191 __STATIC_INLINE void LL_LPUART_DisableIT_CTS(USART_TypeDef *LPUARTx) in LL_LPUART_DisableIT_CTS() argument
2193 ATOMIC_CLEAR_BIT(LPUARTx->CR3, USART_CR3_CTSIE); in LL_LPUART_DisableIT_CTS()
2202 __STATIC_INLINE void LL_LPUART_DisableIT_WKUP(USART_TypeDef *LPUARTx) in LL_LPUART_DisableIT_WKUP() argument
2204 ATOMIC_CLEAR_BIT(LPUARTx->CR3, USART_CR3_WUFIE); in LL_LPUART_DisableIT_WKUP()
2213 __STATIC_INLINE void LL_LPUART_DisableIT_TXFT(USART_TypeDef *LPUARTx) in LL_LPUART_DisableIT_TXFT() argument
2215 ATOMIC_CLEAR_BIT(LPUARTx->CR3, USART_CR3_TXFTIE); in LL_LPUART_DisableIT_TXFT()
2224 __STATIC_INLINE void LL_LPUART_DisableIT_RXFT(USART_TypeDef *LPUARTx) in LL_LPUART_DisableIT_RXFT() argument
2226 ATOMIC_CLEAR_BIT(LPUARTx->CR3, USART_CR3_RXFTIE); in LL_LPUART_DisableIT_RXFT()
2235 __STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_IDLE(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabledIT_IDLE() argument
2237 return ((READ_BIT(LPUARTx->CR1, USART_CR1_IDLEIE) == (USART_CR1_IDLEIE)) ? 1UL : 0UL); in LL_LPUART_IsEnabledIT_IDLE()
2248 __STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_RXNE_RXFNE(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabledIT_RXNE_RXFNE() argument
2250 …return ((READ_BIT(LPUARTx->CR1, USART_CR1_RXNEIE_RXFNEIE) == (USART_CR1_RXNEIE_RXFNEIE)) ? 1UL : 0… in LL_LPUART_IsEnabledIT_RXNE_RXFNE()
2259 __STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_TC(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabledIT_TC() argument
2261 return ((READ_BIT(LPUARTx->CR1, USART_CR1_TCIE) == (USART_CR1_TCIE)) ? 1UL : 0UL); in LL_LPUART_IsEnabledIT_TC()
2272 __STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_TXE_TXFNF(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabledIT_TXE_TXFNF() argument
2274 …return ((READ_BIT(LPUARTx->CR1, USART_CR1_TXEIE_TXFNFIE) == (USART_CR1_TXEIE_TXFNFIE)) ? 1UL : 0UL… in LL_LPUART_IsEnabledIT_TXE_TXFNF()
2283 __STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_PE(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabledIT_PE() argument
2285 return ((READ_BIT(LPUARTx->CR1, USART_CR1_PEIE) == (USART_CR1_PEIE)) ? 1UL : 0UL); in LL_LPUART_IsEnabledIT_PE()
2294 __STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_CM(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabledIT_CM() argument
2296 return ((READ_BIT(LPUARTx->CR1, USART_CR1_CMIE) == (USART_CR1_CMIE)) ? 1UL : 0UL); in LL_LPUART_IsEnabledIT_CM()
2305 __STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_TXFE(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabledIT_TXFE() argument
2307 return ((READ_BIT(LPUARTx->CR1, USART_CR1_TXFEIE) == (USART_CR1_TXFEIE)) ? 1UL : 0UL); in LL_LPUART_IsEnabledIT_TXFE()
2316 __STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_RXFF(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabledIT_RXFF() argument
2318 return ((READ_BIT(LPUARTx->CR1, USART_CR1_RXFFIE) == (USART_CR1_RXFFIE)) ? 1UL : 0UL); in LL_LPUART_IsEnabledIT_RXFF()
2327 __STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_ERROR(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabledIT_ERROR() argument
2329 return ((READ_BIT(LPUARTx->CR3, USART_CR3_EIE) == (USART_CR3_EIE)) ? 1UL : 0UL); in LL_LPUART_IsEnabledIT_ERROR()
2338 __STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_CTS(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabledIT_CTS() argument
2340 return ((READ_BIT(LPUARTx->CR3, USART_CR3_CTSIE) == (USART_CR3_CTSIE)) ? 1UL : 0UL); in LL_LPUART_IsEnabledIT_CTS()
2349 __STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_WKUP(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabledIT_WKUP() argument
2351 return ((READ_BIT(LPUARTx->CR3, USART_CR3_WUFIE) == (USART_CR3_WUFIE)) ? 1UL : 0UL); in LL_LPUART_IsEnabledIT_WKUP()
2360 __STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_TXFT(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabledIT_TXFT() argument
2362 return ((READ_BIT(LPUARTx->CR3, USART_CR3_TXFTIE) == (USART_CR3_TXFTIE)) ? 1UL : 0UL); in LL_LPUART_IsEnabledIT_TXFT()
2371 __STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_RXFT(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabledIT_RXFT() argument
2373 return ((READ_BIT(LPUARTx->CR3, USART_CR3_RXFTIE) == (USART_CR3_RXFTIE)) ? 1UL : 0UL); in LL_LPUART_IsEnabledIT_RXFT()
2390 __STATIC_INLINE void LL_LPUART_EnableDMAReq_RX(USART_TypeDef *LPUARTx) in LL_LPUART_EnableDMAReq_RX() argument
2392 ATOMIC_SET_BIT(LPUARTx->CR3, USART_CR3_DMAR); in LL_LPUART_EnableDMAReq_RX()
2401 __STATIC_INLINE void LL_LPUART_DisableDMAReq_RX(USART_TypeDef *LPUARTx) in LL_LPUART_DisableDMAReq_RX() argument
2403 ATOMIC_CLEAR_BIT(LPUARTx->CR3, USART_CR3_DMAR); in LL_LPUART_DisableDMAReq_RX()
2412 __STATIC_INLINE uint32_t LL_LPUART_IsEnabledDMAReq_RX(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabledDMAReq_RX() argument
2414 return ((READ_BIT(LPUARTx->CR3, USART_CR3_DMAR) == (USART_CR3_DMAR)) ? 1UL : 0UL); in LL_LPUART_IsEnabledDMAReq_RX()
2423 __STATIC_INLINE void LL_LPUART_EnableDMAReq_TX(USART_TypeDef *LPUARTx) in LL_LPUART_EnableDMAReq_TX() argument
2425 ATOMIC_SET_BIT(LPUARTx->CR3, USART_CR3_DMAT); in LL_LPUART_EnableDMAReq_TX()
2434 __STATIC_INLINE void LL_LPUART_DisableDMAReq_TX(USART_TypeDef *LPUARTx) in LL_LPUART_DisableDMAReq_TX() argument
2436 ATOMIC_CLEAR_BIT(LPUARTx->CR3, USART_CR3_DMAT); in LL_LPUART_DisableDMAReq_TX()
2445 __STATIC_INLINE uint32_t LL_LPUART_IsEnabledDMAReq_TX(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabledDMAReq_TX() argument
2447 return ((READ_BIT(LPUARTx->CR3, USART_CR3_DMAT) == (USART_CR3_DMAT)) ? 1UL : 0UL); in LL_LPUART_IsEnabledDMAReq_TX()
2456 __STATIC_INLINE void LL_LPUART_EnableDMADeactOnRxErr(USART_TypeDef *LPUARTx) in LL_LPUART_EnableDMADeactOnRxErr() argument
2458 SET_BIT(LPUARTx->CR3, USART_CR3_DDRE); in LL_LPUART_EnableDMADeactOnRxErr()
2467 __STATIC_INLINE void LL_LPUART_DisableDMADeactOnRxErr(USART_TypeDef *LPUARTx) in LL_LPUART_DisableDMADeactOnRxErr() argument
2469 CLEAR_BIT(LPUARTx->CR3, USART_CR3_DDRE); in LL_LPUART_DisableDMADeactOnRxErr()
2478 __STATIC_INLINE uint32_t LL_LPUART_IsEnabledDMADeactOnRxErr(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabledDMADeactOnRxErr() argument
2480 return ((READ_BIT(LPUARTx->CR3, USART_CR3_DDRE) == (USART_CR3_DDRE)) ? 1UL : 0UL); in LL_LPUART_IsEnabledDMADeactOnRxErr()
2493 __STATIC_INLINE uint32_t LL_LPUART_DMA_GetRegAddr(const USART_TypeDef *LPUARTx, uint32_t Direction) in LL_LPUART_DMA_GetRegAddr() argument
2500 data_reg_addr = (uint32_t) &(LPUARTx->TDR); in LL_LPUART_DMA_GetRegAddr()
2505 data_reg_addr = (uint32_t) &(LPUARTx->RDR); in LL_LPUART_DMA_GetRegAddr()
2525 __STATIC_INLINE uint8_t LL_LPUART_ReceiveData8(const USART_TypeDef *LPUARTx) in LL_LPUART_ReceiveData8() argument
2527 return (uint8_t)(READ_BIT(LPUARTx->RDR, USART_RDR_RDR) & 0xFFU); in LL_LPUART_ReceiveData8()
2536 __STATIC_INLINE uint16_t LL_LPUART_ReceiveData9(const USART_TypeDef *LPUARTx) in LL_LPUART_ReceiveData9() argument
2538 return (uint16_t)(READ_BIT(LPUARTx->RDR, USART_RDR_RDR)); in LL_LPUART_ReceiveData9()
2548 __STATIC_INLINE void LL_LPUART_TransmitData8(USART_TypeDef *LPUARTx, uint8_t Value) in LL_LPUART_TransmitData8() argument
2550 LPUARTx->TDR = Value; in LL_LPUART_TransmitData8()
2560 __STATIC_INLINE void LL_LPUART_TransmitData9(USART_TypeDef *LPUARTx, uint16_t Value) in LL_LPUART_TransmitData9() argument
2562 LPUARTx->TDR = Value & 0x1FFUL; in LL_LPUART_TransmitData9()
2579 __STATIC_INLINE void LL_LPUART_RequestBreakSending(USART_TypeDef *LPUARTx) in LL_LPUART_RequestBreakSending() argument
2581 SET_BIT(LPUARTx->RQR, (uint16_t)USART_RQR_SBKRQ); in LL_LPUART_RequestBreakSending()
2590 __STATIC_INLINE void LL_LPUART_RequestEnterMuteMode(USART_TypeDef *LPUARTx) in LL_LPUART_RequestEnterMuteMode() argument
2592 SET_BIT(LPUARTx->RQR, (uint16_t)USART_RQR_MMRQ); in LL_LPUART_RequestEnterMuteMode()
2603 __STATIC_INLINE void LL_LPUART_RequestRxDataFlush(USART_TypeDef *LPUARTx) in LL_LPUART_RequestRxDataFlush() argument
2605 SET_BIT(LPUARTx->RQR, (uint16_t)USART_RQR_RXFRQ); in LL_LPUART_RequestRxDataFlush()
2616 ErrorStatus LL_LPUART_DeInit(const USART_TypeDef *LPUARTx);
2617 ErrorStatus LL_LPUART_Init(USART_TypeDef *LPUARTx, const LL_LPUART_InitTypeDef *LPUART_InitStruct);