42 #define IDCODE_DEVID_MASK ((uint32_t)0x00000FFF) 60 return(
DBGMCU->IDCODE >> 16);
91 DBGMCU->CR |= DBGMCU_Periph;
95 DBGMCU->CR &= ~DBGMCU_Periph;
131 DBGMCU->APB1FZ |= DBGMCU_Periph;
135 DBGMCU->APB1FZ &= ~DBGMCU_Periph;
160 DBGMCU->APB2FZ |= DBGMCU_Periph;
164 DBGMCU->APB2FZ &= ~DBGMCU_Periph;
void DBGMCU_APB2PeriphConfig(uint32_t DBGMCU_Periph, FunctionalState NewState)
Configures APB2 peripheral behavior when the MCU is in Debug mode.
This file contains all the functions prototypes for the DBGMCU firmware library.
void assert_param(int val)
#define IS_DBGMCU_PERIPH(PERIPH)
#define IS_FUNCTIONAL_STATE(STATE)
void DBGMCU_APB1PeriphConfig(uint32_t DBGMCU_Periph, FunctionalState NewState)
Configures APB1 peripheral behavior when the MCU is in Debug mode.
#define IS_DBGMCU_APB2PERIPH(PERIPH)
#define IDCODE_DEVID_MASK
uint32_t DBGMCU_GetREVID(void)
Returns the device revision identifier.
uint32_t DBGMCU_GetDEVID(void)
Returns the device identifier.
#define IS_DBGMCU_APB1PERIPH(PERIPH)
void DBGMCU_Config(uint32_t DBGMCU_Periph, FunctionalState NewState)
Configures low power mode behavior when the MCU is in Debug mode.