STM32L4xx_HAL_Driver  1.14.0

Functions

__STATIC_INLINE void LL_LPTIM_ClearFLAG_CMPM (LPTIM_TypeDef *LPTIMx)
 Clear the compare match flag (CMPMCF) ICR CMPMCF LL_LPTIM_ClearFLAG_CMPM. More...
 
__STATIC_INLINE uint32_t LL_LPTIM_IsActiveFlag_CMPM (LPTIM_TypeDef *LPTIMx)
 Inform application whether a compare match interrupt has occurred. ISR CMPM LL_LPTIM_IsActiveFlag_CMPM. More...
 
__STATIC_INLINE void LL_LPTIM_ClearFLAG_ARRM (LPTIM_TypeDef *LPTIMx)
 Clear the autoreload match flag (ARRMCF) ICR ARRMCF LL_LPTIM_ClearFLAG_ARRM. More...
 
__STATIC_INLINE uint32_t LL_LPTIM_IsActiveFlag_ARRM (LPTIM_TypeDef *LPTIMx)
 Inform application whether a autoreload match interrupt has occured. ISR ARRM LL_LPTIM_IsActiveFlag_ARRM. More...
 
__STATIC_INLINE void LL_LPTIM_ClearFlag_EXTTRIG (LPTIM_TypeDef *LPTIMx)
 Clear the external trigger valid edge flag(EXTTRIGCF). ICR EXTTRIGCF LL_LPTIM_ClearFlag_EXTTRIG. More...
 
__STATIC_INLINE uint32_t LL_LPTIM_IsActiveFlag_EXTTRIG (LPTIM_TypeDef *LPTIMx)
 Inform application whether a valid edge on the selected external trigger input has occurred. ISR EXTTRIG LL_LPTIM_IsActiveFlag_EXTTRIG. More...
 
__STATIC_INLINE void LL_LPTIM_ClearFlag_CMPOK (LPTIM_TypeDef *LPTIMx)
 Clear the compare register update interrupt flag (CMPOKCF). ICR CMPOKCF LL_LPTIM_ClearFlag_CMPOK. More...
 
__STATIC_INLINE uint32_t LL_LPTIM_IsActiveFlag_CMPOK (LPTIM_TypeDef *LPTIMx)
 Informs application whether the APB bus write operation to the LPTIMx_CMP register has been successfully completed. If so, a new one can be initiated. ISR CMPOK LL_LPTIM_IsActiveFlag_CMPOK. More...
 
__STATIC_INLINE void LL_LPTIM_ClearFlag_ARROK (LPTIM_TypeDef *LPTIMx)
 Clear the autoreload register update interrupt flag (ARROKCF). ICR ARROKCF LL_LPTIM_ClearFlag_ARROK. More...
 
__STATIC_INLINE uint32_t LL_LPTIM_IsActiveFlag_ARROK (LPTIM_TypeDef *LPTIMx)
 Informs application whether the APB bus write operation to the LPTIMx_ARR register has been successfully completed. If so, a new one can be initiated. ISR ARROK LL_LPTIM_IsActiveFlag_ARROK. More...
 
__STATIC_INLINE void LL_LPTIM_ClearFlag_UP (LPTIM_TypeDef *LPTIMx)
 Clear the counter direction change to up interrupt flag (UPCF). ICR UPCF LL_LPTIM_ClearFlag_UP. More...
 
__STATIC_INLINE uint32_t LL_LPTIM_IsActiveFlag_UP (LPTIM_TypeDef *LPTIMx)
 Informs the application whether the counter direction has changed from down to up (when the LPTIM instance operates in encoder mode). ISR UP LL_LPTIM_IsActiveFlag_UP. More...
 
__STATIC_INLINE void LL_LPTIM_ClearFlag_DOWN (LPTIM_TypeDef *LPTIMx)
 Clear the counter direction change to down interrupt flag (DOWNCF). ICR DOWNCF LL_LPTIM_ClearFlag_DOWN. More...
 
__STATIC_INLINE uint32_t LL_LPTIM_IsActiveFlag_DOWN (LPTIM_TypeDef *LPTIMx)
 Informs the application whether the counter direction has changed from up to down (when the LPTIM instance operates in encoder mode). ISR DOWN LL_LPTIM_IsActiveFlag_DOWN. More...
 
__STATIC_INLINE void LL_LPTIM_ClearFlag_REPOK (LPTIM_TypeDef *LPTIMx)
 Clear the repetition register update interrupt flag (REPOKCF). ICR REPOKCF LL_LPTIM_ClearFlag_REPOK. More...
 
__STATIC_INLINE uint32_t LL_LPTIM_IsActiveFlag_REPOK (LPTIM_TypeDef *LPTIMx)
 Informs application whether the APB bus write operation to the LPTIMx_RCR register has been successfully completed; If so, a new one can be initiated. ISR REPOK LL_LPTIM_IsActiveFlag_REPOK. More...
 
__STATIC_INLINE void LL_LPTIM_ClearFlag_UE (LPTIM_TypeDef *LPTIMx)
 Clear the update event flag (UECF). ICR UECF LL_LPTIM_ClearFlag_UE. More...
 
__STATIC_INLINE uint32_t LL_LPTIM_IsActiveFlag_UE (LPTIM_TypeDef *LPTIMx)
 Informs application whether the LPTIMx update event has occurred. ISR UE LL_LPTIM_IsActiveFlag_UE. More...
 

Detailed Description

Function Documentation

◆ LL_LPTIM_ClearFLAG_ARRM()

__STATIC_INLINE void LL_LPTIM_ClearFLAG_ARRM ( LPTIM_TypeDef *  LPTIMx)

Clear the autoreload match flag (ARRMCF) ICR ARRMCF LL_LPTIM_ClearFLAG_ARRM.

Parameters
LPTIMxLow-Power Timer instance
Return values
None

Definition at line 1106 of file stm32l4xx_ll_lptim.h.

1107 {
1108  SET_BIT(LPTIMx->ICR, LPTIM_ICR_ARRMCF);
1109 }

◆ LL_LPTIM_ClearFlag_ARROK()

__STATIC_INLINE void LL_LPTIM_ClearFlag_ARROK ( LPTIM_TypeDef *  LPTIMx)

Clear the autoreload register update interrupt flag (ARROKCF). ICR ARROKCF LL_LPTIM_ClearFlag_ARROK.

Parameters
LPTIMxLow-Power Timer instance
Return values
None

Definition at line 1172 of file stm32l4xx_ll_lptim.h.

1173 {
1174  SET_BIT(LPTIMx->ICR, LPTIM_ICR_ARROKCF);
1175 }

◆ LL_LPTIM_ClearFLAG_CMPM()

__STATIC_INLINE void LL_LPTIM_ClearFLAG_CMPM ( LPTIM_TypeDef *  LPTIMx)

Clear the compare match flag (CMPMCF) ICR CMPMCF LL_LPTIM_ClearFLAG_CMPM.

Parameters
LPTIMxLow-Power Timer instance
Return values
None

Definition at line 1084 of file stm32l4xx_ll_lptim.h.

1085 {
1086  SET_BIT(LPTIMx->ICR, LPTIM_ICR_CMPMCF);
1087 }

◆ LL_LPTIM_ClearFlag_CMPOK()

__STATIC_INLINE void LL_LPTIM_ClearFlag_CMPOK ( LPTIM_TypeDef *  LPTIMx)

Clear the compare register update interrupt flag (CMPOKCF). ICR CMPOKCF LL_LPTIM_ClearFlag_CMPOK.

Parameters
LPTIMxLow-Power Timer instance
Return values
None

Definition at line 1150 of file stm32l4xx_ll_lptim.h.

1151 {
1152  SET_BIT(LPTIMx->ICR, LPTIM_ICR_CMPOKCF);
1153 }

◆ LL_LPTIM_ClearFlag_DOWN()

__STATIC_INLINE void LL_LPTIM_ClearFlag_DOWN ( LPTIM_TypeDef *  LPTIMx)

Clear the counter direction change to down interrupt flag (DOWNCF). ICR DOWNCF LL_LPTIM_ClearFlag_DOWN.

Parameters
LPTIMxLow-Power Timer instance
Return values
None

Definition at line 1216 of file stm32l4xx_ll_lptim.h.

1217 {
1218  SET_BIT(LPTIMx->ICR, LPTIM_ICR_DOWNCF);
1219 }

◆ LL_LPTIM_ClearFlag_EXTTRIG()

__STATIC_INLINE void LL_LPTIM_ClearFlag_EXTTRIG ( LPTIM_TypeDef *  LPTIMx)

Clear the external trigger valid edge flag(EXTTRIGCF). ICR EXTTRIGCF LL_LPTIM_ClearFlag_EXTTRIG.

Parameters
LPTIMxLow-Power Timer instance
Return values
None

Definition at line 1128 of file stm32l4xx_ll_lptim.h.

1129 {
1130  SET_BIT(LPTIMx->ICR, LPTIM_ICR_EXTTRIGCF);
1131 }

◆ LL_LPTIM_ClearFlag_REPOK()

__STATIC_INLINE void LL_LPTIM_ClearFlag_REPOK ( LPTIM_TypeDef *  LPTIMx)

Clear the repetition register update interrupt flag (REPOKCF). ICR REPOKCF LL_LPTIM_ClearFlag_REPOK.

Parameters
LPTIMxLow-Power Timer instance
Return values
None

Definition at line 1239 of file stm32l4xx_ll_lptim.h.

1240 {
1241  SET_BIT(LPTIMx->ICR, LPTIM_ICR_REPOKCF);
1242 }

◆ LL_LPTIM_ClearFlag_UE()

__STATIC_INLINE void LL_LPTIM_ClearFlag_UE ( LPTIM_TypeDef *  LPTIMx)

Clear the update event flag (UECF). ICR UECF LL_LPTIM_ClearFlag_UE.

Parameters
LPTIMxLow-Power Timer instance
Return values
None

Definition at line 1261 of file stm32l4xx_ll_lptim.h.

1262 {
1263  SET_BIT(LPTIMx->ICR, LPTIM_ICR_UECF);
1264 }

◆ LL_LPTIM_ClearFlag_UP()

__STATIC_INLINE void LL_LPTIM_ClearFlag_UP ( LPTIM_TypeDef *  LPTIMx)

Clear the counter direction change to up interrupt flag (UPCF). ICR UPCF LL_LPTIM_ClearFlag_UP.

Parameters
LPTIMxLow-Power Timer instance
Return values
None

Definition at line 1194 of file stm32l4xx_ll_lptim.h.

1195 {
1196  SET_BIT(LPTIMx->ICR, LPTIM_ICR_UPCF);
1197 }

◆ LL_LPTIM_IsActiveFlag_ARRM()

__STATIC_INLINE uint32_t LL_LPTIM_IsActiveFlag_ARRM ( LPTIM_TypeDef *  LPTIMx)

Inform application whether a autoreload match interrupt has occured. ISR ARRM LL_LPTIM_IsActiveFlag_ARRM.

Parameters
LPTIMxLow-Power Timer instance
Return values
Stateof bit (1 or 0).

Definition at line 1117 of file stm32l4xx_ll_lptim.h.

1118 {
1119  return (((READ_BIT(LPTIMx->ISR, LPTIM_ISR_ARRM) == LPTIM_ISR_ARRM)? 1UL : 0UL));
1120 }

◆ LL_LPTIM_IsActiveFlag_ARROK()

__STATIC_INLINE uint32_t LL_LPTIM_IsActiveFlag_ARROK ( LPTIM_TypeDef *  LPTIMx)

Informs application whether the APB bus write operation to the LPTIMx_ARR register has been successfully completed. If so, a new one can be initiated. ISR ARROK LL_LPTIM_IsActiveFlag_ARROK.

Parameters
LPTIMxLow-Power Timer instance
Return values
Stateof bit (1 or 0).

Definition at line 1183 of file stm32l4xx_ll_lptim.h.

1184 {
1185  return (((READ_BIT(LPTIMx->ISR, LPTIM_ISR_ARROK) == LPTIM_ISR_ARROK)? 1UL : 0UL));
1186 }

◆ LL_LPTIM_IsActiveFlag_CMPM()

__STATIC_INLINE uint32_t LL_LPTIM_IsActiveFlag_CMPM ( LPTIM_TypeDef *  LPTIMx)

Inform application whether a compare match interrupt has occurred. ISR CMPM LL_LPTIM_IsActiveFlag_CMPM.

Parameters
LPTIMxLow-Power Timer instance
Return values
Stateof bit (1 or 0).

Definition at line 1095 of file stm32l4xx_ll_lptim.h.

1096 {
1097  return (((READ_BIT(LPTIMx->ISR, LPTIM_ISR_CMPM) == LPTIM_ISR_CMPM)? 1UL : 0UL));
1098 }

◆ LL_LPTIM_IsActiveFlag_CMPOK()

__STATIC_INLINE uint32_t LL_LPTIM_IsActiveFlag_CMPOK ( LPTIM_TypeDef *  LPTIMx)

Informs application whether the APB bus write operation to the LPTIMx_CMP register has been successfully completed. If so, a new one can be initiated. ISR CMPOK LL_LPTIM_IsActiveFlag_CMPOK.

Parameters
LPTIMxLow-Power Timer instance
Return values
Stateof bit (1 or 0).

Definition at line 1161 of file stm32l4xx_ll_lptim.h.

1162 {
1163  return (((READ_BIT(LPTIMx->ISR, LPTIM_ISR_CMPOK) == LPTIM_ISR_CMPOK)? 1UL : 0UL));
1164 }

◆ LL_LPTIM_IsActiveFlag_DOWN()

__STATIC_INLINE uint32_t LL_LPTIM_IsActiveFlag_DOWN ( LPTIM_TypeDef *  LPTIMx)

Informs the application whether the counter direction has changed from up to down (when the LPTIM instance operates in encoder mode). ISR DOWN LL_LPTIM_IsActiveFlag_DOWN.

Parameters
LPTIMxLow-Power Timer instance
Return values
Stateof bit (1 or 0).

Definition at line 1227 of file stm32l4xx_ll_lptim.h.

1228 {
1229  return (((READ_BIT(LPTIMx->ISR, LPTIM_ISR_DOWN) == LPTIM_ISR_DOWN)? 1UL : 0UL));
1230 }

◆ LL_LPTIM_IsActiveFlag_EXTTRIG()

__STATIC_INLINE uint32_t LL_LPTIM_IsActiveFlag_EXTTRIG ( LPTIM_TypeDef *  LPTIMx)

Inform application whether a valid edge on the selected external trigger input has occurred. ISR EXTTRIG LL_LPTIM_IsActiveFlag_EXTTRIG.

Parameters
LPTIMxLow-Power Timer instance
Return values
Stateof bit (1 or 0).

Definition at line 1139 of file stm32l4xx_ll_lptim.h.

1140 {
1141  return (((READ_BIT(LPTIMx->ISR, LPTIM_ISR_EXTTRIG) == LPTIM_ISR_EXTTRIG)? 1UL : 0UL));
1142 }

◆ LL_LPTIM_IsActiveFlag_REPOK()

__STATIC_INLINE uint32_t LL_LPTIM_IsActiveFlag_REPOK ( LPTIM_TypeDef *  LPTIMx)

Informs application whether the APB bus write operation to the LPTIMx_RCR register has been successfully completed; If so, a new one can be initiated. ISR REPOK LL_LPTIM_IsActiveFlag_REPOK.

Parameters
LPTIMxLow-Power Timer instance
Return values
Stateof bit (1 or 0).

Definition at line 1250 of file stm32l4xx_ll_lptim.h.

1251 {
1252  return ((READ_BIT(LPTIMx->ISR, LPTIM_ISR_REPOK) == LPTIM_ISR_REPOK) ? 1UL : 0UL);
1253 }

◆ LL_LPTIM_IsActiveFlag_UE()

__STATIC_INLINE uint32_t LL_LPTIM_IsActiveFlag_UE ( LPTIM_TypeDef *  LPTIMx)

Informs application whether the LPTIMx update event has occurred. ISR UE LL_LPTIM_IsActiveFlag_UE.

Parameters
LPTIMxLow-Power Timer instance
Return values
Stateof bit (1 or 0).

Definition at line 1272 of file stm32l4xx_ll_lptim.h.

1273 {
1274  return ((READ_BIT(LPTIMx->ISR, LPTIM_ISR_UE) == LPTIM_ISR_UE) ? 1UL : 0UL);
1275 }

◆ LL_LPTIM_IsActiveFlag_UP()

__STATIC_INLINE uint32_t LL_LPTIM_IsActiveFlag_UP ( LPTIM_TypeDef *  LPTIMx)

Informs the application whether the counter direction has changed from down to up (when the LPTIM instance operates in encoder mode). ISR UP LL_LPTIM_IsActiveFlag_UP.

Parameters
LPTIMxLow-Power Timer instance
Return values
Stateof bit (1 or 0).

Definition at line 1205 of file stm32l4xx_ll_lptim.h.

1206 {
1207  return (((READ_BIT(LPTIMx->ISR, LPTIM_ISR_UP) == LPTIM_ISR_UP)? 1UL : 0UL));
1208 }