LL DBGMCU functions

LL DBGMCU Identifications

group DBGMCU_LL_EF_ID

Functions

uint32_t LL_DBGMCU_GetDeviceID ( void )

Return the device identifier.

Reference Manual to LL API cross reference (Register Field Functions)

DBGMCU_IDCODE DEV_ID LL_DBGMCU_GetDeviceID

Return values :

Returned – value can be one of the following values:

uint32_t LL_DBGMCU_GetRevisionID ( void )

Return the device revision identifier.

Reference Manual to LL API cross reference (Register Field Functions)

DBGMCU_IDCODE REV_ID LL_DBGMCU_GetRevisionID

Note

This field indicates the revision of the device.

Return values :

Returned – value can be one of the following values:

LL DBGMCU Debug Low power mode

group DBGMCU_LL_EF_LOW_POWER_MODE

Functions

void LL_DBGMCU_EnableDebugLowPowerMode ( uint32_t mode )

Enable the debug module during low power mode (Stop0/1/2 and standby modes)

Reference Manual to LL API cross reference (Register Field Functions)

DBGMCU_CR DBG_STOP LL_DBGMCU_EnableDebugLowPowerMode

DBGMCU_CR DBG_STANBY LL_DBGMCU_EnableDebugLowPowerMode

Parameters :

mode – This parameter can be one of the following values:

void LL_DBGMCU_DisableDebugLowPowerMode ( uint32_t mode )

Disable the debug module during low power mode (Stop0/1/2 and standby modes)

Reference Manual to LL API cross reference (Register Field Functions)

DBGMCU_CR DBG_STOP LL_DBGMCU_DisableDebugLowPowerMode

DBGMCU_CR DBG_STANBY LL_DBGMCU_DisableDebugLowPowerMode

Parameters :

mode – This parameter can be one of the following values:

uint32_t LL_DBGMCU_IsEnabledDebugLowPowerMode ( uint32_t mode )

Check if the debug module during low power mode (Stop0/1/2 and standby modes) is enabled.

Reference Manual to LL API cross reference (Register Field Functions)

DBGMCU_CR DBG_STOP LL_DBGMCU_IsEnabledDebugLowPowerMode

DBGMCU_CR DBG_STANDBY LL_DBGMCU_IsEnabledDebugLowPowerMode

Parameters :

mode – This parameter can be one of the following values:

Return values :

State – of bit (1 or 0).

void LL_DBGMCU_EnableDBGStopMode ( void )

Enable the debug module during Stop0/1/2 mode.

Reference Manual to LL API cross reference (Register Field Functions)

DBGMCU_CR DBG_STOP LL_DBGMCU_EnableDBGStopMode

void LL_DBGMCU_DisableDBGStopMode ( void )

Disable the debug module during Stop0/1/2 mode.

Reference Manual to LL API cross reference (Register Field Functions)

DBGMCU_CR DBG_STOP LL_DBGMCU_DisableDBGStopMode

uint32_t LL_DBGMCU_IsEnabledDBGStopMode ( void )

Check if the debug module during Stop0/1/2 mode is enabled.

Reference Manual to LL API cross reference (Register Field Functions)

DBGMCU_CR DBG_STOP LL_DBGMCU_IsEnabledDBGStopMode

Return values :

State – of bit (1 or 0).

void LL_DBGMCU_EnableDBGStandbyMode ( void )

Enable the debug module during Standby mode.

Reference Manual to LL API cross reference (Register Field Functions)

DBGMCU_CR DBG_STANDBY LL_DBGMCU_EnableDBGStandbyMode

void LL_DBGMCU_DisableDBGStandbyMode ( void )

Disable the debug module during Standby mode.

Reference Manual to LL API cross reference (Register Field Functions)

DBGMCU_CR DBG_STANDBY LL_DBGMCU_DisableDBGStandbyMode

uint32_t LL_DBGMCU_IsEnabledDBGStandbyMode ( void )

Check if the debug module during Standby mode is enabled.

Reference Manual to LL API cross reference (Register Field Functions)

DBGMCU_CR DBG_STANDBY LL_DBGMCU_IsEnabledDBGStandbyMode

Return values :

State – of bit (1 or 0).

LL DBGMCU Freeze/Unfreeze

group DBGMCU_LL_EF_FREEZE_UNFREEZE

Functions

void LL_DBGMCU_APB1_GRP1_FreezePeriph ( uint32_t periphs )

Freeze APB1 peripherals (group1 peripherals)

Reference Manual to LL API cross reference (Register Field Functions)

DBGMCU_APB1FZR1 DBG_xxxx_STOP LL_DBGMCU_APB1_GRP1_FreezePeriph

Parameters :

periphs – This parameter can be a combination of the following values:

void LL_DBGMCU_APB1_GRP1_UnFreezePeriph ( uint32_t periphs )

Unfreeze APB1 peripherals (group1 peripherals)

Reference Manual to LL API cross reference (Register Field Functions)

DBGMCU_APB1FZR1 DBG_xxxx_STOP LL_DBGMCU_APB1_GRP1_UnFreezePeriph

Parameters :

periphs – This parameter can be a combination of the following values:

void LL_DBGMCU_APB1_GRP2_FreezePeriph ( uint32_t periphs )

Freeze APB1 peripherals (group2 peripherals)

Reference Manual to LL API cross reference (Register Field Functions)

DBGMCU_APB1FZR2 DBG_xxxx_STOP LL_DBGMCU_APB1_GRP2_FreezePeriph

Note

(*) Availability depends on devices.

Parameters :

periphs – This parameter can be a combination of the following values:

void LL_DBGMCU_APB1_GRP2_UnFreezePeriph ( uint32_t periphs )

Unfreeze APB1 peripherals (group2 peripherals)

Reference Manual to LL API cross reference (Register Field Functions)

DBGMCU_APB1FZR2 DBG_xxxx_STOP LL_DBGMCU_APB1_GRP2_UnFreezePeriph

Note

(*) Availability depends on devices.

Parameters :

periphs – This parameter can be a combination of the following values:

void LL_DBGMCU_APB2_GRP1_FreezePeriph ( uint32_t periphs )

Freeze APB2 peripherals.

Reference Manual to LL API cross reference (Register Field Functions)

DBGMCU_APB2FZ DBG_TIMx_STOP LL_DBGMCU_APB2_GRP1_FreezePeriph

Parameters :

periphs – This parameter can be a combination of the following values:

void LL_DBGMCU_APB2_GRP1_UnFreezePeriph ( uint32_t periphs )

Unfreeze APB2 peripherals.

Reference Manual to LL API cross reference (Register Field Functions)

DBGMCU_APB2FZR DBG_TIMx_STOP LL_DBGMCU_APB2_GRP1_UnFreezePeriph

Parameters :

periphs – This parameter can be a combination of the following values:

void LL_DBGMCU_APB3_GRP1_FreezePeriph ( uint32_t periphs )

Freeze APB3 peripherals.

Reference Manual to LL API cross reference (Register Field Functions)

DBGMCU_APB3FZ DBG_TIMx_STOP LL_DBGMCU_APB3_GRP1_FreezePeriph

Parameters :

periphs – This parameter can be a combination of the following values:

void LL_DBGMCU_APB3_GRP1_UnFreezePeriph ( uint32_t periphs )

Unfreeze APB3 peripherals.

Reference Manual to LL API cross reference (Register Field Functions)

DBGMCU_APB3FZR DBG_TIMx_STOP LL_DBGMCU_APB3_GRP1_UnFreezePeriph

Parameters :

periphs – This parameter can be a combination of the following values:

void LL_DBGMCU_AHB1_GRP1_FreezePeriph ( uint32_t periphs )

Freeze AHB1 peripherals.

Reference Manual to LL API cross reference (Register Field Functions)

DBGMCU_AHB1FZ DBG_GPDMAx_STOP LL_DBGMCU_AHB1_GRP1_FreezePeriph

Parameters :

periphs – This parameter can be a combination of the following values:

void LL_DBGMCU_AHB1_GRP1_UnFreezePeriph ( uint32_t periphs )

Unfreeze AHB1 peripherals.

Reference Manual to LL API cross reference (Register Field Functions)

DBGMCU_AHB1FZ DBG_GPDMAx_STOP LL_DBGMCU_AHB1_GRP1_UnFreezePeriph

Parameters :

periphs – This parameter can be a combination of the following values:

void LL_DBGMCU_AHB3_GRP1_FreezePeriph ( uint32_t periphs )

Freeze AHB3 peripherals.

Reference Manual to LL API cross reference (Register Field Functions)

DBGMCU_AHB3FZ DBG_LPDMAx_STOP LL_DBGMCU_AHB3_GRP1_FreezePeriph

Parameters :

periphs – This parameter can be a combination of the following values:

void LL_DBGMCU_AHB3_GRP1_UnFreezePeriph ( uint32_t periphs )

Unfreeze AHB3 peripherals.

Reference Manual to LL API cross reference (Register Field Functions)

DBGMCU_AHB3FZ DBG_LPDMAx_STOP LL_DBGMCU_AHB3_GRP1_UnFreezePeriph

Parameters :

periphs – This parameter can be a combination of the following values: