Imt.Base C++ API V4.1.1.0
Loading...
Searching...
No Matches
imt::base::hal::stm32f767::peripherals::DBG Class Reference

Debug Hardware abstaction layer Reference: ST_CortexM7_STM32F767_TRM_Rev2.pdf Chapter 44. More...

#include <Imt.Base.HAL.STM32F767/Peripherals/DBG.h>

Public Types

enum class  StopPeripheral {
  CAN1 , CAN2 , CAN3 , I2C4 ,
  I2C3 , I2C2 , I2C1 , IWDG ,
  WWDG , RTC , LPTIM1 , TIM1 ,
  TIM2 , TIM3 , TIM4 , TIM5 ,
  TIM6 , TIM7 , TIM8 , TIM9 ,
  TIM10 , TIM11 , TIM12 , TIM13 ,
  TIM14
}
 A list of supported peripherals which can be stopped during debug mode. More...
 

Static Public Member Functions

static void stopDuringDebug (StopPeripheral const peripheral)
 Stop the peripheral when the core is halted during debug -> see chapter 44.16.5/6.
 
static bool isDebuggerAttached ()
 Detects if a debugger is attached.
 

Detailed Description

Debug Hardware abstaction layer Reference: ST_CortexM7_STM32F767_TRM_Rev2.pdf Chapter 44.

Definition at line 18 of file DBG.h.

Member Enumeration Documentation

◆ StopPeripheral

A list of supported peripherals which can be stopped during debug mode.

Enumerator
CAN1 
CAN2 
CAN3 
I2C4 
I2C3 
I2C2 
I2C1 
IWDG 
WWDG 
RTC 
LPTIM1 
TIM1 
TIM2 
TIM3 
TIM4 
TIM5 
TIM6 
TIM7 
TIM8 
TIM9 
TIM10 
TIM11 
TIM12 
TIM13 
TIM14 

Definition at line 25 of file DBG.h.

Member Function Documentation

◆ isDebuggerAttached()

static bool imt::base::hal::stm32f767::peripherals::DBG::isDebuggerAttached ( )
static

Detects if a debugger is attached.

◆ stopDuringDebug()

static void imt::base::hal::stm32f767::peripherals::DBG::stopDuringDebug ( StopPeripheral const  peripheral)
static

Stop the peripheral when the core is halted during debug -> see chapter 44.16.5/6.


The documentation for this class was generated from the following file: