Prusa MINI Firmware overview
HAL Exported Macros
Collaboration diagram for HAL Exported Macros:

Macros

#define __HAL_DBGMCU_FREEZE_TIM2()   (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM2_STOP))
 Freeze/Unfreeze Peripherals in Debug mode. More...
 
#define __HAL_DBGMCU_FREEZE_TIM3()   (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM3_STOP))
 
#define __HAL_DBGMCU_FREEZE_TIM4()   (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM4_STOP))
 
#define __HAL_DBGMCU_FREEZE_TIM5()   (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM5_STOP))
 
#define __HAL_DBGMCU_FREEZE_TIM6()   (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM6_STOP))
 
#define __HAL_DBGMCU_FREEZE_TIM7()   (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM7_STOP))
 
#define __HAL_DBGMCU_FREEZE_TIM12()   (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM12_STOP))
 
#define __HAL_DBGMCU_FREEZE_TIM13()   (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM13_STOP))
 
#define __HAL_DBGMCU_FREEZE_TIM14()   (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM14_STOP))
 
#define __HAL_DBGMCU_FREEZE_RTC()   (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_RTC_STOP))
 
#define __HAL_DBGMCU_FREEZE_WWDG()   (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_WWDG_STOP))
 
#define __HAL_DBGMCU_FREEZE_IWDG()   (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_IWDG_STOP))
 
#define __HAL_DBGMCU_FREEZE_I2C1_TIMEOUT()   (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_I2C1_SMBUS_TIMEOUT))
 
#define __HAL_DBGMCU_FREEZE_I2C2_TIMEOUT()   (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_I2C2_SMBUS_TIMEOUT))
 
#define __HAL_DBGMCU_FREEZE_I2C3_TIMEOUT()   (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_I2C3_SMBUS_TIMEOUT))
 
#define __HAL_DBGMCU_FREEZE_CAN1()   (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_CAN1_STOP))
 
#define __HAL_DBGMCU_FREEZE_CAN2()   (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_CAN2_STOP))
 
#define __HAL_DBGMCU_FREEZE_TIM1()   (DBGMCU->APB2FZ |= (DBGMCU_APB2_FZ_DBG_TIM1_STOP))
 
#define __HAL_DBGMCU_FREEZE_TIM8()   (DBGMCU->APB2FZ |= (DBGMCU_APB2_FZ_DBG_TIM8_STOP))
 
#define __HAL_DBGMCU_FREEZE_TIM9()   (DBGMCU->APB2FZ |= (DBGMCU_APB2_FZ_DBG_TIM9_STOP))
 
#define __HAL_DBGMCU_FREEZE_TIM10()   (DBGMCU->APB2FZ |= (DBGMCU_APB2_FZ_DBG_TIM10_STOP))
 
#define __HAL_DBGMCU_FREEZE_TIM11()   (DBGMCU->APB2FZ |= (DBGMCU_APB2_FZ_DBG_TIM11_STOP))
 
#define __HAL_DBGMCU_UNFREEZE_TIM2()   (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM2_STOP))
 
#define __HAL_DBGMCU_UNFREEZE_TIM3()   (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM3_STOP))
 
#define __HAL_DBGMCU_UNFREEZE_TIM4()   (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM4_STOP))
 
#define __HAL_DBGMCU_UNFREEZE_TIM5()   (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM5_STOP))
 
#define __HAL_DBGMCU_UNFREEZE_TIM6()   (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM6_STOP))
 
#define __HAL_DBGMCU_UNFREEZE_TIM7()   (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM7_STOP))
 
#define __HAL_DBGMCU_UNFREEZE_TIM12()   (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM12_STOP))
 
#define __HAL_DBGMCU_UNFREEZE_TIM13()   (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM13_STOP))
 
#define __HAL_DBGMCU_UNFREEZE_TIM14()   (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM14_STOP))
 
#define __HAL_DBGMCU_UNFREEZE_RTC()   (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_RTC_STOP))
 
#define __HAL_DBGMCU_UNFREEZE_WWDG()   (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_WWDG_STOP))
 
#define __HAL_DBGMCU_UNFREEZE_IWDG()   (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_IWDG_STOP))
 
#define __HAL_DBGMCU_UNFREEZE_I2C1_TIMEOUT()   (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_I2C1_SMBUS_TIMEOUT))
 
#define __HAL_DBGMCU_UNFREEZE_I2C2_TIMEOUT()   (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_I2C2_SMBUS_TIMEOUT))
 
#define __HAL_DBGMCU_UNFREEZE_I2C3_TIMEOUT()   (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_I2C3_SMBUS_TIMEOUT))
 
#define __HAL_DBGMCU_UNFREEZE_CAN1()   (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_CAN1_STOP))
 
#define __HAL_DBGMCU_UNFREEZE_CAN2()   (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_CAN2_STOP))
 
#define __HAL_DBGMCU_UNFREEZE_TIM1()   (DBGMCU->APB2FZ &= ~(DBGMCU_APB2_FZ_DBG_TIM1_STOP))
 
#define __HAL_DBGMCU_UNFREEZE_TIM8()   (DBGMCU->APB2FZ &= ~(DBGMCU_APB2_FZ_DBG_TIM8_STOP))
 
#define __HAL_DBGMCU_UNFREEZE_TIM9()   (DBGMCU->APB2FZ &= ~(DBGMCU_APB2_FZ_DBG_TIM9_STOP))
 
#define __HAL_DBGMCU_UNFREEZE_TIM10()   (DBGMCU->APB2FZ &= ~(DBGMCU_APB2_FZ_DBG_TIM10_STOP))
 
#define __HAL_DBGMCU_UNFREEZE_TIM11()   (DBGMCU->APB2FZ &= ~(DBGMCU_APB2_FZ_DBG_TIM11_STOP))
 
#define __HAL_SYSCFG_REMAPMEMORY_FLASH()   (SYSCFG->MEMRMP &= ~(SYSCFG_MEMRMP_MEM_MODE))
 Main Flash memory mapped at 0x00000000. More...
 
#define __HAL_SYSCFG_REMAPMEMORY_SYSTEMFLASH()
 System Flash memory mapped at 0x00000000. More...
 
#define __HAL_SYSCFG_REMAPMEMORY_SRAM()
 Embedded SRAM mapped at 0x00000000. More...
 

Detailed Description

Macro Definition Documentation

◆ __HAL_DBGMCU_FREEZE_TIM2

#define __HAL_DBGMCU_FREEZE_TIM2 ( )    (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM2_STOP))

Freeze/Unfreeze Peripherals in Debug mode.

◆ __HAL_DBGMCU_FREEZE_TIM3

#define __HAL_DBGMCU_FREEZE_TIM3 ( )    (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM3_STOP))

◆ __HAL_DBGMCU_FREEZE_TIM4

#define __HAL_DBGMCU_FREEZE_TIM4 ( )    (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM4_STOP))

◆ __HAL_DBGMCU_FREEZE_TIM5

#define __HAL_DBGMCU_FREEZE_TIM5 ( )    (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM5_STOP))

◆ __HAL_DBGMCU_FREEZE_TIM6

#define __HAL_DBGMCU_FREEZE_TIM6 ( )    (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM6_STOP))

◆ __HAL_DBGMCU_FREEZE_TIM7

#define __HAL_DBGMCU_FREEZE_TIM7 ( )    (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM7_STOP))

◆ __HAL_DBGMCU_FREEZE_TIM12

#define __HAL_DBGMCU_FREEZE_TIM12 ( )    (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM12_STOP))

◆ __HAL_DBGMCU_FREEZE_TIM13

#define __HAL_DBGMCU_FREEZE_TIM13 ( )    (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM13_STOP))

◆ __HAL_DBGMCU_FREEZE_TIM14

#define __HAL_DBGMCU_FREEZE_TIM14 ( )    (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM14_STOP))

◆ __HAL_DBGMCU_FREEZE_RTC

#define __HAL_DBGMCU_FREEZE_RTC ( )    (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_RTC_STOP))

◆ __HAL_DBGMCU_FREEZE_WWDG

#define __HAL_DBGMCU_FREEZE_WWDG ( )    (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_WWDG_STOP))

◆ __HAL_DBGMCU_FREEZE_IWDG

#define __HAL_DBGMCU_FREEZE_IWDG ( )    (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_IWDG_STOP))

◆ __HAL_DBGMCU_FREEZE_I2C1_TIMEOUT

#define __HAL_DBGMCU_FREEZE_I2C1_TIMEOUT ( )    (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_I2C1_SMBUS_TIMEOUT))

◆ __HAL_DBGMCU_FREEZE_I2C2_TIMEOUT

#define __HAL_DBGMCU_FREEZE_I2C2_TIMEOUT ( )    (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_I2C2_SMBUS_TIMEOUT))

◆ __HAL_DBGMCU_FREEZE_I2C3_TIMEOUT

#define __HAL_DBGMCU_FREEZE_I2C3_TIMEOUT ( )    (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_I2C3_SMBUS_TIMEOUT))

◆ __HAL_DBGMCU_FREEZE_CAN1

#define __HAL_DBGMCU_FREEZE_CAN1 ( )    (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_CAN1_STOP))

◆ __HAL_DBGMCU_FREEZE_CAN2

#define __HAL_DBGMCU_FREEZE_CAN2 ( )    (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_CAN2_STOP))

◆ __HAL_DBGMCU_FREEZE_TIM1

#define __HAL_DBGMCU_FREEZE_TIM1 ( )    (DBGMCU->APB2FZ |= (DBGMCU_APB2_FZ_DBG_TIM1_STOP))

◆ __HAL_DBGMCU_FREEZE_TIM8

#define __HAL_DBGMCU_FREEZE_TIM8 ( )    (DBGMCU->APB2FZ |= (DBGMCU_APB2_FZ_DBG_TIM8_STOP))

◆ __HAL_DBGMCU_FREEZE_TIM9

#define __HAL_DBGMCU_FREEZE_TIM9 ( )    (DBGMCU->APB2FZ |= (DBGMCU_APB2_FZ_DBG_TIM9_STOP))

◆ __HAL_DBGMCU_FREEZE_TIM10

#define __HAL_DBGMCU_FREEZE_TIM10 ( )    (DBGMCU->APB2FZ |= (DBGMCU_APB2_FZ_DBG_TIM10_STOP))

◆ __HAL_DBGMCU_FREEZE_TIM11

#define __HAL_DBGMCU_FREEZE_TIM11 ( )    (DBGMCU->APB2FZ |= (DBGMCU_APB2_FZ_DBG_TIM11_STOP))

◆ __HAL_DBGMCU_UNFREEZE_TIM2

#define __HAL_DBGMCU_UNFREEZE_TIM2 ( )    (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM2_STOP))

◆ __HAL_DBGMCU_UNFREEZE_TIM3

#define __HAL_DBGMCU_UNFREEZE_TIM3 ( )    (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM3_STOP))

◆ __HAL_DBGMCU_UNFREEZE_TIM4

#define __HAL_DBGMCU_UNFREEZE_TIM4 ( )    (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM4_STOP))

◆ __HAL_DBGMCU_UNFREEZE_TIM5

#define __HAL_DBGMCU_UNFREEZE_TIM5 ( )    (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM5_STOP))

◆ __HAL_DBGMCU_UNFREEZE_TIM6

#define __HAL_DBGMCU_UNFREEZE_TIM6 ( )    (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM6_STOP))

◆ __HAL_DBGMCU_UNFREEZE_TIM7

#define __HAL_DBGMCU_UNFREEZE_TIM7 ( )    (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM7_STOP))

◆ __HAL_DBGMCU_UNFREEZE_TIM12

#define __HAL_DBGMCU_UNFREEZE_TIM12 ( )    (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM12_STOP))

◆ __HAL_DBGMCU_UNFREEZE_TIM13

#define __HAL_DBGMCU_UNFREEZE_TIM13 ( )    (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM13_STOP))

◆ __HAL_DBGMCU_UNFREEZE_TIM14

#define __HAL_DBGMCU_UNFREEZE_TIM14 ( )    (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM14_STOP))

◆ __HAL_DBGMCU_UNFREEZE_RTC

#define __HAL_DBGMCU_UNFREEZE_RTC ( )    (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_RTC_STOP))

◆ __HAL_DBGMCU_UNFREEZE_WWDG

#define __HAL_DBGMCU_UNFREEZE_WWDG ( )    (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_WWDG_STOP))

◆ __HAL_DBGMCU_UNFREEZE_IWDG

#define __HAL_DBGMCU_UNFREEZE_IWDG ( )    (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_IWDG_STOP))

◆ __HAL_DBGMCU_UNFREEZE_I2C1_TIMEOUT

#define __HAL_DBGMCU_UNFREEZE_I2C1_TIMEOUT ( )    (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_I2C1_SMBUS_TIMEOUT))

◆ __HAL_DBGMCU_UNFREEZE_I2C2_TIMEOUT

#define __HAL_DBGMCU_UNFREEZE_I2C2_TIMEOUT ( )    (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_I2C2_SMBUS_TIMEOUT))

◆ __HAL_DBGMCU_UNFREEZE_I2C3_TIMEOUT

#define __HAL_DBGMCU_UNFREEZE_I2C3_TIMEOUT ( )    (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_I2C3_SMBUS_TIMEOUT))

◆ __HAL_DBGMCU_UNFREEZE_CAN1

#define __HAL_DBGMCU_UNFREEZE_CAN1 ( )    (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_CAN1_STOP))

◆ __HAL_DBGMCU_UNFREEZE_CAN2

#define __HAL_DBGMCU_UNFREEZE_CAN2 ( )    (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_CAN2_STOP))

◆ __HAL_DBGMCU_UNFREEZE_TIM1

#define __HAL_DBGMCU_UNFREEZE_TIM1 ( )    (DBGMCU->APB2FZ &= ~(DBGMCU_APB2_FZ_DBG_TIM1_STOP))

◆ __HAL_DBGMCU_UNFREEZE_TIM8

#define __HAL_DBGMCU_UNFREEZE_TIM8 ( )    (DBGMCU->APB2FZ &= ~(DBGMCU_APB2_FZ_DBG_TIM8_STOP))

◆ __HAL_DBGMCU_UNFREEZE_TIM9

#define __HAL_DBGMCU_UNFREEZE_TIM9 ( )    (DBGMCU->APB2FZ &= ~(DBGMCU_APB2_FZ_DBG_TIM9_STOP))

◆ __HAL_DBGMCU_UNFREEZE_TIM10

#define __HAL_DBGMCU_UNFREEZE_TIM10 ( )    (DBGMCU->APB2FZ &= ~(DBGMCU_APB2_FZ_DBG_TIM10_STOP))

◆ __HAL_DBGMCU_UNFREEZE_TIM11

#define __HAL_DBGMCU_UNFREEZE_TIM11 ( )    (DBGMCU->APB2FZ &= ~(DBGMCU_APB2_FZ_DBG_TIM11_STOP))

◆ __HAL_SYSCFG_REMAPMEMORY_FLASH

#define __HAL_SYSCFG_REMAPMEMORY_FLASH ( )    (SYSCFG->MEMRMP &= ~(SYSCFG_MEMRMP_MEM_MODE))

Main Flash memory mapped at 0x00000000.

◆ __HAL_SYSCFG_REMAPMEMORY_SYSTEMFLASH

#define __HAL_SYSCFG_REMAPMEMORY_SYSTEMFLASH ( )
Value:
do {SYSCFG->MEMRMP &= ~(SYSCFG_MEMRMP_MEM_MODE);\
SYSCFG->MEMRMP |= SYSCFG_MEMRMP_MEM_MODE_0;\
}while(0);

System Flash memory mapped at 0x00000000.

◆ __HAL_SYSCFG_REMAPMEMORY_SRAM

#define __HAL_SYSCFG_REMAPMEMORY_SRAM ( )
Value:
do {SYSCFG->MEMRMP &= ~(SYSCFG_MEMRMP_MEM_MODE);\
SYSCFG->MEMRMP |= (SYSCFG_MEMRMP_MEM_MODE_0 | SYSCFG_MEMRMP_MEM_MODE_1);\
}while(0);

Embedded SRAM mapped at 0x00000000.