EasyManuals Logo

ST STM32F31xx User Manual

ST STM32F31xx
584 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #179 background imageLoading...
Page #179 background image
UM1581
Debug support (DBGMCU)
DocID023800 Rev 1
179/584
8.2.4.3 DBGMCU_APB2PeriphConfig
Function Name
void DBGMCU_APB2PeriphConfig ( uint32_t
DBGMCU_Periph, FunctionalState NewState)
Function Description
Configures APB2 peripheral behavior when the MCU is in Debug
mode.
Parameters
ï‚· DBGMCU_Periph : specifies the APB2 peripheral. This
parameter can be any combination of the following values:
 DBGMCU_TIM1_STOP : TIM1 counter stopped when
Core is halted.
 DBGMCU_TIM8_STOP : TIM8 counter stopped when
Core is halted.
 DBGMCU_TIM15_STOP : TIM15 counter stopped when
Core is halted.
 DBGMCU_TIM16_STOP : TIM16 counter stopped when
Core is halted.
 DBGMCU_TIM17_STOP : TIM17 counter stopped when
Core is halted.
ï‚· NewState : new state of the specified APB2 peripheral in
Debug mode. This parameter can be: ENABLE or DISABLE.
Return values
ï‚· None.
Notes
ï‚· None.
8.3 DBGMCU Firmware driver defines
8.3.1 DBGMCU
DBGMCU
DBGMCU_Exported_Constants
ï‚· #define: DBGMCU_SLEEP ((uint32_t)0x00000001)
ï‚· #define: DBGMCU_STOP ((uint32_t)0x00000002)
ï‚· #define: DBGMCU_STANDBY ((uint32_t)0x00000004)
ï‚· #define: DBGMCU_TIM2_STOP ((uint32_t)0x00000001)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F31xx and is the answer not in the manual?

ST STM32F31xx Specifications

General IconGeneral
BrandST
ModelSTM32F31xx
CategoryMicrocontrollers
LanguageEnglish

Related product manuals