STM32L4xx_HAL_Driver  1.14.0

HAL Debug functions. More...

Functions

void HAL_DBGMCU_EnableDBGSleepMode (void)
 Enable the Debug Module during SLEEP mode. More...
 
void HAL_DBGMCU_DisableDBGSleepMode (void)
 Disable the Debug Module during SLEEP mode. More...
 
void HAL_DBGMCU_EnableDBGStopMode (void)
 Enable the Debug Module during STOP0/STOP1/STOP2 modes. More...
 
void HAL_DBGMCU_DisableDBGStopMode (void)
 Disable the Debug Module during STOP0/STOP1/STOP2 modes. More...
 
void HAL_DBGMCU_EnableDBGStandbyMode (void)
 Enable the Debug Module during STANDBY mode. More...
 
void HAL_DBGMCU_DisableDBGStandbyMode (void)
 Disable the Debug Module during STANDBY mode. More...
 

Detailed Description

HAL Debug functions.

 ===============================================================================
                      ##### HAL Debug functions #####
 ===============================================================================
    [..]  This section provides functions allowing to:
      (+) Enable/Disable Debug module during SLEEP mode
      (+) Enable/Disable Debug module during STOP0/STOP1/STOP2 modes
      (+) Enable/Disable Debug module during STANDBY mode

Function Documentation

◆ HAL_DBGMCU_DisableDBGSleepMode()

void HAL_DBGMCU_DisableDBGSleepMode ( void  )

Disable the Debug Module during SLEEP mode.

Return values
None

Definition at line 529 of file stm32l4xx_hal.c.

530 {
531  CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_SLEEP);
532 }
CLEAR_BIT(hrtc->Instance->CR, RTC_CR_WUTE)

◆ HAL_DBGMCU_DisableDBGStandbyMode()

void HAL_DBGMCU_DisableDBGStandbyMode ( void  )

Disable the Debug Module during STANDBY mode.

Return values
None

Definition at line 565 of file stm32l4xx_hal.c.

566 {
567  CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_STANDBY);
568 }
CLEAR_BIT(hrtc->Instance->CR, RTC_CR_WUTE)

◆ HAL_DBGMCU_DisableDBGStopMode()

void HAL_DBGMCU_DisableDBGStopMode ( void  )

Disable the Debug Module during STOP0/STOP1/STOP2 modes.

Return values
None

Definition at line 547 of file stm32l4xx_hal.c.

548 {
549  CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_STOP);
550 }
CLEAR_BIT(hrtc->Instance->CR, RTC_CR_WUTE)

◆ HAL_DBGMCU_EnableDBGSleepMode()

void HAL_DBGMCU_EnableDBGSleepMode ( void  )

Enable the Debug Module during SLEEP mode.

Return values
None

Definition at line 520 of file stm32l4xx_hal.c.

521 {
522  SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_SLEEP);
523 }

◆ HAL_DBGMCU_EnableDBGStandbyMode()

void HAL_DBGMCU_EnableDBGStandbyMode ( void  )

Enable the Debug Module during STANDBY mode.

Return values
None

Definition at line 556 of file stm32l4xx_hal.c.

557 {
558  SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_STANDBY);
559 }

◆ HAL_DBGMCU_EnableDBGStopMode()

void HAL_DBGMCU_EnableDBGStopMode ( void  )

Enable the Debug Module during STOP0/STOP1/STOP2 modes.

Return values
None

Definition at line 538 of file stm32l4xx_hal.c.

539 {
540  SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_STOP);
541 }