STM32L4xx_HAL_Driver  1.14.0

Functions

__STATIC_INLINE void LL_LPTIM_EnableIT_CMPM (LPTIM_TypeDef *LPTIMx)
 Enable compare match interrupt (CMPMIE). IER CMPMIE LL_LPTIM_EnableIT_CMPM. More...
 
__STATIC_INLINE void LL_LPTIM_DisableIT_CMPM (LPTIM_TypeDef *LPTIMx)
 Disable compare match interrupt (CMPMIE). IER CMPMIE LL_LPTIM_DisableIT_CMPM. More...
 
__STATIC_INLINE uint32_t LL_LPTIM_IsEnabledIT_CMPM (LPTIM_TypeDef *LPTIMx)
 Indicates whether the compare match interrupt (CMPMIE) is enabled. IER CMPMIE LL_LPTIM_IsEnabledIT_CMPM. More...
 
__STATIC_INLINE void LL_LPTIM_EnableIT_ARRM (LPTIM_TypeDef *LPTIMx)
 Enable autoreload match interrupt (ARRMIE). IER ARRMIE LL_LPTIM_EnableIT_ARRM. More...
 
__STATIC_INLINE void LL_LPTIM_DisableIT_ARRM (LPTIM_TypeDef *LPTIMx)
 Disable autoreload match interrupt (ARRMIE). IER ARRMIE LL_LPTIM_DisableIT_ARRM. More...
 
__STATIC_INLINE uint32_t LL_LPTIM_IsEnabledIT_ARRM (LPTIM_TypeDef *LPTIMx)
 Indicates whether the autoreload match interrupt (ARRMIE) is enabled. IER ARRMIE LL_LPTIM_IsEnabledIT_ARRM. More...
 
__STATIC_INLINE void LL_LPTIM_EnableIT_EXTTRIG (LPTIM_TypeDef *LPTIMx)
 Enable external trigger valid edge interrupt (EXTTRIGIE). IER EXTTRIGIE LL_LPTIM_EnableIT_EXTTRIG. More...
 
__STATIC_INLINE void LL_LPTIM_DisableIT_EXTTRIG (LPTIM_TypeDef *LPTIMx)
 Disable external trigger valid edge interrupt (EXTTRIGIE). IER EXTTRIGIE LL_LPTIM_DisableIT_EXTTRIG. More...
 
__STATIC_INLINE uint32_t LL_LPTIM_IsEnabledIT_EXTTRIG (LPTIM_TypeDef *LPTIMx)
 Indicates external trigger valid edge interrupt (EXTTRIGIE) is enabled. IER EXTTRIGIE LL_LPTIM_IsEnabledIT_EXTTRIG. More...
 
__STATIC_INLINE void LL_LPTIM_EnableIT_CMPOK (LPTIM_TypeDef *LPTIMx)
 Enable compare register write completed interrupt (CMPOKIE). IER CMPOKIE LL_LPTIM_EnableIT_CMPOK. More...
 
__STATIC_INLINE void LL_LPTIM_DisableIT_CMPOK (LPTIM_TypeDef *LPTIMx)
 Disable compare register write completed interrupt (CMPOKIE). IER CMPOKIE LL_LPTIM_DisableIT_CMPOK. More...
 
__STATIC_INLINE uint32_t LL_LPTIM_IsEnabledIT_CMPOK (LPTIM_TypeDef *LPTIMx)
 Indicates whether the compare register write completed interrupt (CMPOKIE) is enabled. IER CMPOKIE LL_LPTIM_IsEnabledIT_CMPOK. More...
 
__STATIC_INLINE void LL_LPTIM_EnableIT_ARROK (LPTIM_TypeDef *LPTIMx)
 Enable autoreload register write completed interrupt (ARROKIE). IER ARROKIE LL_LPTIM_EnableIT_ARROK. More...
 
__STATIC_INLINE void LL_LPTIM_DisableIT_ARROK (LPTIM_TypeDef *LPTIMx)
 Disable autoreload register write completed interrupt (ARROKIE). IER ARROKIE LL_LPTIM_DisableIT_ARROK. More...
 
__STATIC_INLINE uint32_t LL_LPTIM_IsEnabledIT_ARROK (LPTIM_TypeDef *LPTIMx)
 Indicates whether the autoreload register write completed interrupt (ARROKIE) is enabled. IER ARROKIE LL_LPTIM_IsEnabledIT_ARROK. More...
 
__STATIC_INLINE void LL_LPTIM_EnableIT_UP (LPTIM_TypeDef *LPTIMx)
 Enable direction change to up interrupt (UPIE). IER UPIE LL_LPTIM_EnableIT_UP. More...
 
__STATIC_INLINE void LL_LPTIM_DisableIT_UP (LPTIM_TypeDef *LPTIMx)
 Disable direction change to up interrupt (UPIE). IER UPIE LL_LPTIM_DisableIT_UP. More...
 
__STATIC_INLINE uint32_t LL_LPTIM_IsEnabledIT_UP (LPTIM_TypeDef *LPTIMx)
 Indicates whether the direction change to up interrupt (UPIE) is enabled. IER UPIE LL_LPTIM_IsEnabledIT_UP. More...
 
__STATIC_INLINE void LL_LPTIM_EnableIT_DOWN (LPTIM_TypeDef *LPTIMx)
 Enable direction change to down interrupt (DOWNIE). IER DOWNIE LL_LPTIM_EnableIT_DOWN. More...
 
__STATIC_INLINE void LL_LPTIM_DisableIT_DOWN (LPTIM_TypeDef *LPTIMx)
 Disable direction change to down interrupt (DOWNIE). IER DOWNIE LL_LPTIM_DisableIT_DOWN. More...
 
__STATIC_INLINE uint32_t LL_LPTIM_IsEnabledIT_DOWN (LPTIM_TypeDef *LPTIMx)
 Indicates whether the direction change to down interrupt (DOWNIE) is enabled. IER DOWNIE LL_LPTIM_IsEnabledIT_DOWN. More...
 
__STATIC_INLINE void LL_LPTIM_EnableIT_REPOK (LPTIM_TypeDef *LPTIMx)
 Enable repetition register update successfully completed interrupt (REPOKIE). IER REPOKIE LL_LPTIM_EnableIT_REPOK. More...
 
__STATIC_INLINE void LL_LPTIM_DisableIT_REPOK (LPTIM_TypeDef *LPTIMx)
 Disable repetition register update successfully completed interrupt (REPOKIE). IER REPOKIE LL_LPTIM_DisableIT_REPOK. More...
 
__STATIC_INLINE uint32_t LL_LPTIM_IsEnabledIT_REPOK (LPTIM_TypeDef *LPTIMx)
 Indicates whether the repetition register update successfully completed interrupt (REPOKIE) is enabled. IER REPOKIE LL_LPTIM_IsEnabledIT_REPOK. More...
 
__STATIC_INLINE void LL_LPTIM_EnableIT_UE (LPTIM_TypeDef *LPTIMx)
 Enable update event interrupt (UEIE). IER UEIE LL_LPTIM_EnableIT_UE. More...
 
__STATIC_INLINE void LL_LPTIM_DisableIT_UE (LPTIM_TypeDef *LPTIMx)
 Disable update event interrupt (UEIE). IER UEIE LL_LPTIM_DisableIT_UE. More...
 
__STATIC_INLINE uint32_t LL_LPTIM_IsEnabledIT_UE (LPTIM_TypeDef *LPTIMx)
 Indicates whether the update event interrupt (UEIE) is enabled. IER UEIE LL_LPTIM_IsEnabledIT_UE. More...
 

Detailed Description

Function Documentation

◆ LL_LPTIM_DisableIT_ARRM()

__STATIC_INLINE void LL_LPTIM_DisableIT_ARRM ( LPTIM_TypeDef *  LPTIMx)

Disable autoreload match interrupt (ARRMIE). IER ARRMIE LL_LPTIM_DisableIT_ARRM.

Parameters
LPTIMxLow-Power Timer instance
Return values
None

Definition at line 1336 of file stm32l4xx_ll_lptim.h.

1337 {
1338  CLEAR_BIT(LPTIMx->IER, LPTIM_IER_ARRMIE);
1339 }
CLEAR_BIT(hrtc->Instance->CR, RTC_CR_WUTE)

◆ LL_LPTIM_DisableIT_ARROK()

__STATIC_INLINE void LL_LPTIM_DisableIT_ARROK ( LPTIM_TypeDef *  LPTIMx)

Disable autoreload register write completed interrupt (ARROKIE). IER ARROKIE LL_LPTIM_DisableIT_ARROK.

Parameters
LPTIMxLow-Power Timer instance
Return values
None

Definition at line 1435 of file stm32l4xx_ll_lptim.h.

1436 {
1437  CLEAR_BIT(LPTIMx->IER, LPTIM_IER_ARROKIE);
1438 }
CLEAR_BIT(hrtc->Instance->CR, RTC_CR_WUTE)

◆ LL_LPTIM_DisableIT_CMPM()

__STATIC_INLINE void LL_LPTIM_DisableIT_CMPM ( LPTIM_TypeDef *  LPTIMx)

Disable compare match interrupt (CMPMIE). IER CMPMIE LL_LPTIM_DisableIT_CMPM.

Parameters
LPTIMxLow-Power Timer instance
Return values
None

Definition at line 1303 of file stm32l4xx_ll_lptim.h.

1304 {
1305  CLEAR_BIT(LPTIMx->IER, LPTIM_IER_CMPMIE);
1306 }
CLEAR_BIT(hrtc->Instance->CR, RTC_CR_WUTE)

◆ LL_LPTIM_DisableIT_CMPOK()

__STATIC_INLINE void LL_LPTIM_DisableIT_CMPOK ( LPTIM_TypeDef *  LPTIMx)

Disable compare register write completed interrupt (CMPOKIE). IER CMPOKIE LL_LPTIM_DisableIT_CMPOK.

Parameters
LPTIMxLow-Power Timer instance
Return values
None

Definition at line 1402 of file stm32l4xx_ll_lptim.h.

1403 {
1404  CLEAR_BIT(LPTIMx->IER, LPTIM_IER_CMPOKIE);
1405 }
CLEAR_BIT(hrtc->Instance->CR, RTC_CR_WUTE)

◆ LL_LPTIM_DisableIT_DOWN()

__STATIC_INLINE void LL_LPTIM_DisableIT_DOWN ( LPTIM_TypeDef *  LPTIMx)

Disable direction change to down interrupt (DOWNIE). IER DOWNIE LL_LPTIM_DisableIT_DOWN.

Parameters
LPTIMxLow-Power Timer instance
Return values
None

Definition at line 1501 of file stm32l4xx_ll_lptim.h.

1502 {
1503  CLEAR_BIT(LPTIMx->IER, LPTIM_IER_DOWNIE);
1504 }
CLEAR_BIT(hrtc->Instance->CR, RTC_CR_WUTE)

◆ LL_LPTIM_DisableIT_EXTTRIG()

__STATIC_INLINE void LL_LPTIM_DisableIT_EXTTRIG ( LPTIM_TypeDef *  LPTIMx)

Disable external trigger valid edge interrupt (EXTTRIGIE). IER EXTTRIGIE LL_LPTIM_DisableIT_EXTTRIG.

Parameters
LPTIMxLow-Power Timer instance
Return values
None

Definition at line 1369 of file stm32l4xx_ll_lptim.h.

1370 {
1371  CLEAR_BIT(LPTIMx->IER, LPTIM_IER_EXTTRIGIE);
1372 }
CLEAR_BIT(hrtc->Instance->CR, RTC_CR_WUTE)

◆ LL_LPTIM_DisableIT_REPOK()

__STATIC_INLINE void LL_LPTIM_DisableIT_REPOK ( LPTIM_TypeDef *  LPTIMx)

Disable repetition register update successfully completed interrupt (REPOKIE). IER REPOKIE LL_LPTIM_DisableIT_REPOK.

Parameters
LPTIMxLow-Power Timer instance
Return values
None

Definition at line 1535 of file stm32l4xx_ll_lptim.h.

1536 {
1537  CLEAR_BIT(LPTIMx->IER, LPTIM_IER_REPOKIE);
1538 }
CLEAR_BIT(hrtc->Instance->CR, RTC_CR_WUTE)

◆ LL_LPTIM_DisableIT_UE()

__STATIC_INLINE void LL_LPTIM_DisableIT_UE ( LPTIM_TypeDef *  LPTIMx)

Disable update event interrupt (UEIE). IER UEIE LL_LPTIM_DisableIT_UE.

Parameters
LPTIMxLow-Power Timer instance
Return values
None

Definition at line 1568 of file stm32l4xx_ll_lptim.h.

1569 {
1570  CLEAR_BIT(LPTIMx->IER, LPTIM_IER_UEIE);
1571 }
CLEAR_BIT(hrtc->Instance->CR, RTC_CR_WUTE)

◆ LL_LPTIM_DisableIT_UP()

__STATIC_INLINE void LL_LPTIM_DisableIT_UP ( LPTIM_TypeDef *  LPTIMx)

Disable direction change to up interrupt (UPIE). IER UPIE LL_LPTIM_DisableIT_UP.

Parameters
LPTIMxLow-Power Timer instance
Return values
None

Definition at line 1468 of file stm32l4xx_ll_lptim.h.

1469 {
1470  CLEAR_BIT(LPTIMx->IER, LPTIM_IER_UPIE);
1471 }
CLEAR_BIT(hrtc->Instance->CR, RTC_CR_WUTE)

◆ LL_LPTIM_EnableIT_ARRM()

__STATIC_INLINE void LL_LPTIM_EnableIT_ARRM ( LPTIM_TypeDef *  LPTIMx)

Enable autoreload match interrupt (ARRMIE). IER ARRMIE LL_LPTIM_EnableIT_ARRM.

Parameters
LPTIMxLow-Power Timer instance
Return values
None

Definition at line 1325 of file stm32l4xx_ll_lptim.h.

1326 {
1327  SET_BIT(LPTIMx->IER, LPTIM_IER_ARRMIE);
1328 }

◆ LL_LPTIM_EnableIT_ARROK()

__STATIC_INLINE void LL_LPTIM_EnableIT_ARROK ( LPTIM_TypeDef *  LPTIMx)

Enable autoreload register write completed interrupt (ARROKIE). IER ARROKIE LL_LPTIM_EnableIT_ARROK.

Parameters
LPTIMxLow-Power Timer instance
Return values
None

Definition at line 1424 of file stm32l4xx_ll_lptim.h.

1425 {
1426  SET_BIT(LPTIMx->IER, LPTIM_IER_ARROKIE);
1427 }

◆ LL_LPTIM_EnableIT_CMPM()

__STATIC_INLINE void LL_LPTIM_EnableIT_CMPM ( LPTIM_TypeDef *  LPTIMx)

Enable compare match interrupt (CMPMIE). IER CMPMIE LL_LPTIM_EnableIT_CMPM.

Parameters
LPTIMxLow-Power Timer instance
Return values
None

Definition at line 1292 of file stm32l4xx_ll_lptim.h.

1293 {
1294  SET_BIT(LPTIMx->IER, LPTIM_IER_CMPMIE);
1295 }

◆ LL_LPTIM_EnableIT_CMPOK()

__STATIC_INLINE void LL_LPTIM_EnableIT_CMPOK ( LPTIM_TypeDef *  LPTIMx)

Enable compare register write completed interrupt (CMPOKIE). IER CMPOKIE LL_LPTIM_EnableIT_CMPOK.

Parameters
LPTIMxLow-Power Timer instance
Return values
None

Definition at line 1391 of file stm32l4xx_ll_lptim.h.

1392 {
1393  SET_BIT(LPTIMx->IER, LPTIM_IER_CMPOKIE);
1394 }

◆ LL_LPTIM_EnableIT_DOWN()

__STATIC_INLINE void LL_LPTIM_EnableIT_DOWN ( LPTIM_TypeDef *  LPTIMx)

Enable direction change to down interrupt (DOWNIE). IER DOWNIE LL_LPTIM_EnableIT_DOWN.

Parameters
LPTIMxLow-Power Timer instance
Return values
None

Definition at line 1490 of file stm32l4xx_ll_lptim.h.

1491 {
1492  SET_BIT(LPTIMx->IER, LPTIM_IER_DOWNIE);
1493 }

◆ LL_LPTIM_EnableIT_EXTTRIG()

__STATIC_INLINE void LL_LPTIM_EnableIT_EXTTRIG ( LPTIM_TypeDef *  LPTIMx)

Enable external trigger valid edge interrupt (EXTTRIGIE). IER EXTTRIGIE LL_LPTIM_EnableIT_EXTTRIG.

Parameters
LPTIMxLow-Power Timer instance
Return values
None

Definition at line 1358 of file stm32l4xx_ll_lptim.h.

1359 {
1360  SET_BIT(LPTIMx->IER, LPTIM_IER_EXTTRIGIE);
1361 }

◆ LL_LPTIM_EnableIT_REPOK()

__STATIC_INLINE void LL_LPTIM_EnableIT_REPOK ( LPTIM_TypeDef *  LPTIMx)

Enable repetition register update successfully completed interrupt (REPOKIE). IER REPOKIE LL_LPTIM_EnableIT_REPOK.

Parameters
LPTIMxLow-Power Timer instance
Return values
None

Definition at line 1524 of file stm32l4xx_ll_lptim.h.

1525 {
1526  SET_BIT(LPTIMx->IER, LPTIM_IER_REPOKIE);
1527 }

◆ LL_LPTIM_EnableIT_UE()

__STATIC_INLINE void LL_LPTIM_EnableIT_UE ( LPTIM_TypeDef *  LPTIMx)

Enable update event interrupt (UEIE). IER UEIE LL_LPTIM_EnableIT_UE.

Parameters
LPTIMxLow-Power Timer instance
Return values
None

Definition at line 1557 of file stm32l4xx_ll_lptim.h.

1558 {
1559  SET_BIT(LPTIMx->IER, LPTIM_IER_UEIE);
1560 }

◆ LL_LPTIM_EnableIT_UP()

__STATIC_INLINE void LL_LPTIM_EnableIT_UP ( LPTIM_TypeDef *  LPTIMx)

Enable direction change to up interrupt (UPIE). IER UPIE LL_LPTIM_EnableIT_UP.

Parameters
LPTIMxLow-Power Timer instance
Return values
None

Definition at line 1457 of file stm32l4xx_ll_lptim.h.

1458 {
1459  SET_BIT(LPTIMx->IER, LPTIM_IER_UPIE);
1460 }

◆ LL_LPTIM_IsEnabledIT_ARRM()

__STATIC_INLINE uint32_t LL_LPTIM_IsEnabledIT_ARRM ( LPTIM_TypeDef *  LPTIMx)

Indicates whether the autoreload match interrupt (ARRMIE) is enabled. IER ARRMIE LL_LPTIM_IsEnabledIT_ARRM.

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

Definition at line 1347 of file stm32l4xx_ll_lptim.h.

1348 {
1349  return (((READ_BIT(LPTIMx->IER, LPTIM_IER_ARRMIE) == LPTIM_IER_ARRMIE)? 1UL : 0UL));
1350 }

◆ LL_LPTIM_IsEnabledIT_ARROK()

__STATIC_INLINE uint32_t LL_LPTIM_IsEnabledIT_ARROK ( LPTIM_TypeDef *  LPTIMx)

Indicates whether the autoreload register write completed interrupt (ARROKIE) is enabled. IER ARROKIE LL_LPTIM_IsEnabledIT_ARROK.

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

Definition at line 1446 of file stm32l4xx_ll_lptim.h.

1447 {
1448  return (((READ_BIT(LPTIMx->IER, LPTIM_IER_ARROKIE) == LPTIM_IER_ARROKIE)? 1UL : 0UL));
1449 }

◆ LL_LPTIM_IsEnabledIT_CMPM()

__STATIC_INLINE uint32_t LL_LPTIM_IsEnabledIT_CMPM ( LPTIM_TypeDef *  LPTIMx)

Indicates whether the compare match interrupt (CMPMIE) is enabled. IER CMPMIE LL_LPTIM_IsEnabledIT_CMPM.

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

Definition at line 1314 of file stm32l4xx_ll_lptim.h.

1315 {
1316  return (((READ_BIT(LPTIMx->IER, LPTIM_IER_CMPMIE) == LPTIM_IER_CMPMIE)? 1UL : 0UL));
1317 }

◆ LL_LPTIM_IsEnabledIT_CMPOK()

__STATIC_INLINE uint32_t LL_LPTIM_IsEnabledIT_CMPOK ( LPTIM_TypeDef *  LPTIMx)

Indicates whether the compare register write completed interrupt (CMPOKIE) is enabled. IER CMPOKIE LL_LPTIM_IsEnabledIT_CMPOK.

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

Definition at line 1413 of file stm32l4xx_ll_lptim.h.

1414 {
1415  return (((READ_BIT(LPTIMx->IER, LPTIM_IER_CMPOKIE) == LPTIM_IER_CMPOKIE)? 1UL : 0UL));
1416 }

◆ LL_LPTIM_IsEnabledIT_DOWN()

__STATIC_INLINE uint32_t LL_LPTIM_IsEnabledIT_DOWN ( LPTIM_TypeDef *  LPTIMx)

Indicates whether the direction change to down interrupt (DOWNIE) is enabled. IER DOWNIE LL_LPTIM_IsEnabledIT_DOWN.

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

Definition at line 1512 of file stm32l4xx_ll_lptim.h.

1513 {
1514  return ((READ_BIT(LPTIMx->IER, LPTIM_IER_DOWNIE) == LPTIM_IER_DOWNIE) ? 1UL : 0UL);
1515 }

◆ LL_LPTIM_IsEnabledIT_EXTTRIG()

__STATIC_INLINE uint32_t LL_LPTIM_IsEnabledIT_EXTTRIG ( LPTIM_TypeDef *  LPTIMx)

Indicates external trigger valid edge interrupt (EXTTRIGIE) is enabled. IER EXTTRIGIE LL_LPTIM_IsEnabledIT_EXTTRIG.

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

Definition at line 1380 of file stm32l4xx_ll_lptim.h.

1381 {
1382  return (((READ_BIT(LPTIMx->IER, LPTIM_IER_EXTTRIGIE) == LPTIM_IER_EXTTRIGIE)? 1UL : 0UL));
1383 }

◆ LL_LPTIM_IsEnabledIT_REPOK()

__STATIC_INLINE uint32_t LL_LPTIM_IsEnabledIT_REPOK ( LPTIM_TypeDef *  LPTIMx)

Indicates whether the repetition register update successfully completed interrupt (REPOKIE) is enabled. IER REPOKIE LL_LPTIM_IsEnabledIT_REPOK.

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

Definition at line 1546 of file stm32l4xx_ll_lptim.h.

1547 {
1548  return ((READ_BIT(LPTIMx->IER, LPTIM_IER_REPOKIE) == LPTIM_IER_REPOKIE) ? 1UL : 0UL);
1549 }

◆ LL_LPTIM_IsEnabledIT_UE()

__STATIC_INLINE uint32_t LL_LPTIM_IsEnabledIT_UE ( LPTIM_TypeDef *  LPTIMx)

Indicates whether the update event interrupt (UEIE) is enabled. IER UEIE LL_LPTIM_IsEnabledIT_UE.

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

Definition at line 1579 of file stm32l4xx_ll_lptim.h.

1580 {
1581  return ((READ_BIT(LPTIMx->IER, LPTIM_IER_UEIE) == LPTIM_IER_UEIE) ? 1UL : 0UL);
1582 }

◆ LL_LPTIM_IsEnabledIT_UP()

__STATIC_INLINE uint32_t LL_LPTIM_IsEnabledIT_UP ( LPTIM_TypeDef *  LPTIMx)

Indicates whether the direction change to up interrupt (UPIE) is enabled. IER UPIE LL_LPTIM_IsEnabledIT_UP.

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

Definition at line 1479 of file stm32l4xx_ll_lptim.h.

1480 {
1481  return (((READ_BIT(LPTIMx->IER, LPTIM_IER_UPIE) == LPTIM_IER_UPIE)? 1UL : 0UL));
1482 }