Hal Drivers for L4

Dependents:   BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo

Fork of STM32L4xx_HAL_Driver by Senior Design: Sound Monitor

Embed: (wiki syntax)

« Back to documentation index

DBGMCU

Functions

__STATIC_INLINE uint32_t LL_DBGMCU_GetDeviceID (void)
 Returns the device identifier DBGMCU_IDCODE DEV_ID LL_DBGMCU_GetDeviceID.
__STATIC_INLINE uint32_t LL_DBGMCU_GetRevisionID (void)
 Returns the device revision identifier DBGMCU_IDCODE REV_ID LL_DBGMCU_GetRevisionID.
__STATIC_INLINE void LL_DBGMCU_EnableDBGSleepMode (void)
 Enable the Debug Module during SLEEP mode DBGMCU_CR DBG_SLEEP LL_DBGMCU_EnableDBGSleepMode.
__STATIC_INLINE void LL_DBGMCU_DisableDBGSleepMode (void)
 Disable the Debug Module during SLEEP mode DBGMCU_CR DBG_SLEEP LL_DBGMCU_DisableDBGSleepMode.
__STATIC_INLINE void LL_DBGMCU_EnableDBGStopMode (void)
 Enable the Debug Module during STOP mode DBGMCU_CR DBG_STOP LL_DBGMCU_EnableDBGStopMode.
__STATIC_INLINE void LL_DBGMCU_DisableDBGStopMode (void)
 Disable the Debug Module during STOP mode DBGMCU_CR DBG_STOP LL_DBGMCU_DisableDBGStopMode.
__STATIC_INLINE void LL_DBGMCU_EnableDBGStandbyMode (void)
 Enable the Debug Module during STANDBY mode DBGMCU_CR DBG_STANDBY LL_DBGMCU_EnableDBGStandbyMode.
__STATIC_INLINE void LL_DBGMCU_DisableDBGStandbyMode (void)
 Disable the Debug Module during STANDBY mode DBGMCU_CR DBG_STANDBY LL_DBGMCU_DisableDBGStandbyMode.
__STATIC_INLINE void LL_DBGMCU_SetTracePinAssignment (uint32_t PinAssignment)
 Set Trace pin assignment control DBGMCU_CR TRACE_IOEN LL_DBGMCU_SetTracePinAssignment
DBGMCU_CR TRACE_MODE LL_DBGMCU_SetTracePinAssignment.
__STATIC_INLINE uint32_t LL_DBGMCU_GetTracePinAssignment (void)
 Get Trace pin assignment control DBGMCU_CR TRACE_IOEN LL_DBGMCU_GetTracePinAssignment
DBGMCU_CR TRACE_MODE LL_DBGMCU_GetTracePinAssignment.
__STATIC_INLINE void LL_DBGMCU_ABP1_GRP1_FreezePeriph (uint32_t Periphs)
 Freeze APB1 peripherals (group1 peripherals) DBGMCU_APB1FZR1 DBG_xxxx_STOP LL_DBGMCU_ABP1_GRP1_FreezePeriph.
__STATIC_INLINE void LL_DBGMCU_ABP1_GRP2_FreezePeriph (uint32_t Periphs)
 Freeze APB1 peripherals (group2 peripherals) DBGMCU_APB1FZR2 DBG_xxxx_STOP LL_DBGMCU_ABP1_GRP2_FreezePeriph.
__STATIC_INLINE void LL_DBGMCU_ABP1_GRP1_UnFreezePeriph (uint32_t Periphs)
 Unfreeze APB1 peripherals (group1 peripherals) DBGMCU_APB1FZR1 DBG_xxxx_STOP LL_DBGMCU_ABP1_GRP1_UnFreezePeriph.
__STATIC_INLINE void LL_DBGMCU_ABP1_GRP2_UnFreezePeriph (uint32_t Periphs)
 Unfreeze APB1 peripherals (group2 peripherals) DBGMCU_APB1FZR2 DBG_xxxx_STOP LL_DBGMCU_ABP1_GRP2_UnFreezePeriph.
__STATIC_INLINE void LL_DBGMCU_ABP2_GRP1_FreezePeriph (uint32_t Periphs)
 Freeze APB2 peripherals DBGMCU_APB2FZ DBG_TIMx_STOP LL_DBGMCU_ABP2_GRP1_FreezePeriph.
__STATIC_INLINE void LL_DBGMCU_ABP2_GRP1_UnFreezePeriph (uint32_t Periphs)
 Unfreeze APB2 peripherals DBGMCU_APB2FZ DBG_TIMx_STOP LL_DBGMCU_ABP2_GRP1_UnFreezePeriph.

Function Documentation

__STATIC_INLINE void LL_DBGMCU_ABP1_GRP1_FreezePeriph ( uint32_t  Periphs )

Freeze APB1 peripherals (group1 peripherals) DBGMCU_APB1FZR1 DBG_xxxx_STOP LL_DBGMCU_ABP1_GRP1_FreezePeriph.

Parameters:
PeriphsThis parameter can be a combination of the following values:

  • LL_DBGMCU_ABP1_GRP1_TIM2_STOP
  • LL_DBGMCU_ABP1_GRP1_TIM3_STOP
  • LL_DBGMCU_ABP1_GRP1_TIM4_STOP
  • LL_DBGMCU_ABP1_GRP1_TIM5_STOP
  • LL_DBGMCU_ABP1_GRP1_TIM6_STOP
  • LL_DBGMCU_ABP1_GRP1_TIM7_STOP
  • LL_DBGMCU_ABP1_GRP1_RTC_STOP
  • LL_DBGMCU_ABP1_GRP1_WWDG_STOP
  • LL_DBGMCU_ABP1_GRP1_IWDG_STOP
  • LL_DBGMCU_ABP1_GRP1_I2C1_STOP
  • LL_DBGMCU_ABP1_GRP1_I2C2_STOP
  • LL_DBGMCU_ABP1_GRP1_I2C3_STOP
  • LL_DBGMCU_ABP1_GRP1_CAN_STOP
  • LL_DBGMCU_ABP1_GRP1_LPTIM1_STOP
Return values:
None

Definition at line 1006 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_DBGMCU_ABP1_GRP1_UnFreezePeriph ( uint32_t  Periphs )

Unfreeze APB1 peripherals (group1 peripherals) DBGMCU_APB1FZR1 DBG_xxxx_STOP LL_DBGMCU_ABP1_GRP1_UnFreezePeriph.

Parameters:
PeriphsThis parameter can be a combination of the following values:

  • LL_DBGMCU_ABP1_GRP1_TIM2_STOP
  • LL_DBGMCU_ABP1_GRP1_TIM3_STOP
  • LL_DBGMCU_ABP1_GRP1_TIM4_STOP
  • LL_DBGMCU_ABP1_GRP1_TIM5_STOP
  • LL_DBGMCU_ABP1_GRP1_TIM6_STOP
  • LL_DBGMCU_ABP1_GRP1_TIM7_STOP
  • LL_DBGMCU_ABP1_GRP1_RTC_STOP
  • LL_DBGMCU_ABP1_GRP1_WWDG_STOP
  • LL_DBGMCU_ABP1_GRP1_IWDG_STOP
  • LL_DBGMCU_ABP1_GRP1_I2C1_STOP
  • LL_DBGMCU_ABP1_GRP1_I2C2_STOP
  • LL_DBGMCU_ABP1_GRP1_I2C3_STOP
  • LL_DBGMCU_ABP1_GRP1_CAN_STOP
  • LL_DBGMCU_ABP1_GRP1_LPTIM1_STOP
Return values:
None

Definition at line 1043 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_DBGMCU_ABP1_GRP2_FreezePeriph ( uint32_t  Periphs )

Freeze APB1 peripherals (group2 peripherals) DBGMCU_APB1FZR2 DBG_xxxx_STOP LL_DBGMCU_ABP1_GRP2_FreezePeriph.

Parameters:
PeriphsThis parameter can be a combination of the following values:

  • LL_DBGMCU_ABP1_GRP2_LPTIM2_STOP
Return values:
None

Definition at line 1018 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_DBGMCU_ABP1_GRP2_UnFreezePeriph ( uint32_t  Periphs )

Unfreeze APB1 peripherals (group2 peripherals) DBGMCU_APB1FZR2 DBG_xxxx_STOP LL_DBGMCU_ABP1_GRP2_UnFreezePeriph.

Parameters:
PeriphsThis parameter can be a combination of the following values:

  • LL_DBGMCU_ABP1_GRP2_LPTIM2_STOP
Return values:
None

Definition at line 1055 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_DBGMCU_ABP2_GRP1_FreezePeriph ( uint32_t  Periphs )

Freeze APB2 peripherals DBGMCU_APB2FZ DBG_TIMx_STOP LL_DBGMCU_ABP2_GRP1_FreezePeriph.

Parameters:
PeriphsThis parameter can be a combination of the following values:

  • LL_DBGMCU_ABP2_GRP1_TIM1_STOP
  • LL_DBGMCU_ABP2_GRP1_TIM8_STOP
  • LL_DBGMCU_ABP2_GRP1_TIM15_STOP
  • LL_DBGMCU_ABP2_GRP1_TIM16_STOP
  • LL_DBGMCU_ABP2_GRP1_TIM17_STOP
Return values:
None

Definition at line 1071 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_DBGMCU_ABP2_GRP1_UnFreezePeriph ( uint32_t  Periphs )

Unfreeze APB2 peripherals DBGMCU_APB2FZ DBG_TIMx_STOP LL_DBGMCU_ABP2_GRP1_UnFreezePeriph.

Parameters:
PeriphsThis parameter can be a combination of the following values:

  • LL_DBGMCU_ABP2_GRP1_TIM1_STOP
  • LL_DBGMCU_ABP2_GRP1_TIM8_STOP
  • LL_DBGMCU_ABP2_GRP1_TIM15_STOP
  • LL_DBGMCU_ABP2_GRP1_TIM16_STOP
  • LL_DBGMCU_ABP2_GRP1_TIM17_STOP
Return values:
None

Definition at line 1087 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_DBGMCU_DisableDBGSleepMode ( void   )

Disable the Debug Module during SLEEP mode DBGMCU_CR DBG_SLEEP LL_DBGMCU_DisableDBGSleepMode.

Return values:
None

Definition at line 908 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_DBGMCU_DisableDBGStandbyMode ( void   )

Disable the Debug Module during STANDBY mode DBGMCU_CR DBG_STANDBY LL_DBGMCU_DisableDBGStandbyMode.

Return values:
None

Definition at line 948 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_DBGMCU_DisableDBGStopMode ( void   )

Disable the Debug Module during STOP mode DBGMCU_CR DBG_STOP LL_DBGMCU_DisableDBGStopMode.

Return values:
None

Definition at line 928 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_DBGMCU_EnableDBGSleepMode ( void   )

Enable the Debug Module during SLEEP mode DBGMCU_CR DBG_SLEEP LL_DBGMCU_EnableDBGSleepMode.

Return values:
None

Definition at line 898 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_DBGMCU_EnableDBGStandbyMode ( void   )

Enable the Debug Module during STANDBY mode DBGMCU_CR DBG_STANDBY LL_DBGMCU_EnableDBGStandbyMode.

Return values:
None

Definition at line 938 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_DBGMCU_EnableDBGStopMode ( void   )

Enable the Debug Module during STOP mode DBGMCU_CR DBG_STOP LL_DBGMCU_EnableDBGStopMode.

Return values:
None

Definition at line 918 of file stm32l4xx_ll_system.h.

__STATIC_INLINE uint32_t LL_DBGMCU_GetDeviceID ( void   )

Returns the device identifier DBGMCU_IDCODE DEV_ID LL_DBGMCU_GetDeviceID.

Return values:
Valuesbetween 0x00 and 0xFFFF (ex: device ID is 0x6415)

Definition at line 878 of file stm32l4xx_ll_system.h.

__STATIC_INLINE uint32_t LL_DBGMCU_GetRevisionID ( void   )

Returns the device revision identifier DBGMCU_IDCODE REV_ID LL_DBGMCU_GetRevisionID.

Return values:
Valuesbetween 0x00 and 0xFFFF (ex: This field indicates the revision of the device.

Definition at line 888 of file stm32l4xx_ll_system.h.

__STATIC_INLINE uint32_t LL_DBGMCU_GetTracePinAssignment ( void   )

Get Trace pin assignment control DBGMCU_CR TRACE_IOEN LL_DBGMCU_GetTracePinAssignment
DBGMCU_CR TRACE_MODE LL_DBGMCU_GetTracePinAssignment.

Return values:
Returnedvalue can be one of the following values:

  • LL_DBGMCU_TRACE_NONE
  • LL_DBGMCU_TRACE_ASYNCH
  • LL_DBGMCU_TRACE_SYNCH_SIZE1
  • LL_DBGMCU_TRACE_SYNCH_SIZE2
  • LL_DBGMCU_TRACE_SYNCH_SIZE4

Definition at line 981 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_DBGMCU_SetTracePinAssignment ( uint32_t  PinAssignment )

Set Trace pin assignment control DBGMCU_CR TRACE_IOEN LL_DBGMCU_SetTracePinAssignment
DBGMCU_CR TRACE_MODE LL_DBGMCU_SetTracePinAssignment.

Parameters:
PinAssignmentThis parameter can be one of the following values:

  • LL_DBGMCU_TRACE_NONE
  • LL_DBGMCU_TRACE_ASYNCH
  • LL_DBGMCU_TRACE_SYNCH_SIZE1
  • LL_DBGMCU_TRACE_SYNCH_SIZE2
  • LL_DBGMCU_TRACE_SYNCH_SIZE4
Return values:
None

Definition at line 965 of file stm32l4xx_ll_system.h.