Prusa MINI Firmware overview
AHB1 Force Release Reset

Force or release AHB1 peripheral reset. More...

Collaboration diagram for AHB1 Force Release Reset:

Macros

#define __HAL_RCC_AHB1_FORCE_RESET()   (RCC->AHB1RSTR = 0xFFFFFFFFU)
 
#define __HAL_RCC_GPIOA_FORCE_RESET()   (RCC->AHB1RSTR |= (RCC_AHB1RSTR_GPIOARST))
 
#define __HAL_RCC_GPIOB_FORCE_RESET()   (RCC->AHB1RSTR |= (RCC_AHB1RSTR_GPIOBRST))
 
#define __HAL_RCC_GPIOC_FORCE_RESET()   (RCC->AHB1RSTR |= (RCC_AHB1RSTR_GPIOCRST))
 
#define __HAL_RCC_GPIOH_FORCE_RESET()   (RCC->AHB1RSTR |= (RCC_AHB1RSTR_GPIOHRST))
 
#define __HAL_RCC_DMA1_FORCE_RESET()   (RCC->AHB1RSTR |= (RCC_AHB1RSTR_DMA1RST))
 
#define __HAL_RCC_DMA2_FORCE_RESET()   (RCC->AHB1RSTR |= (RCC_AHB1RSTR_DMA2RST))
 
#define __HAL_RCC_AHB1_RELEASE_RESET()   (RCC->AHB1RSTR = 0x00U)
 
#define __HAL_RCC_GPIOA_RELEASE_RESET()   (RCC->AHB1RSTR &= ~(RCC_AHB1RSTR_GPIOARST))
 
#define __HAL_RCC_GPIOB_RELEASE_RESET()   (RCC->AHB1RSTR &= ~(RCC_AHB1RSTR_GPIOBRST))
 
#define __HAL_RCC_GPIOC_RELEASE_RESET()   (RCC->AHB1RSTR &= ~(RCC_AHB1RSTR_GPIOCRST))
 
#define __HAL_RCC_GPIOH_RELEASE_RESET()   (RCC->AHB1RSTR &= ~(RCC_AHB1RSTR_GPIOHRST))
 
#define __HAL_RCC_DMA1_RELEASE_RESET()   (RCC->AHB1RSTR &= ~(RCC_AHB1RSTR_DMA1RST))
 
#define __HAL_RCC_DMA2_RELEASE_RESET()   (RCC->AHB1RSTR &= ~(RCC_AHB1RSTR_DMA2RST))
 

Detailed Description

Force or release AHB1 peripheral reset.

Macro Definition Documentation

◆ __HAL_RCC_AHB1_FORCE_RESET

#define __HAL_RCC_AHB1_FORCE_RESET ( )    (RCC->AHB1RSTR = 0xFFFFFFFFU)

◆ __HAL_RCC_GPIOA_FORCE_RESET

#define __HAL_RCC_GPIOA_FORCE_RESET ( )    (RCC->AHB1RSTR |= (RCC_AHB1RSTR_GPIOARST))

◆ __HAL_RCC_GPIOB_FORCE_RESET

#define __HAL_RCC_GPIOB_FORCE_RESET ( )    (RCC->AHB1RSTR |= (RCC_AHB1RSTR_GPIOBRST))

◆ __HAL_RCC_GPIOC_FORCE_RESET

#define __HAL_RCC_GPIOC_FORCE_RESET ( )    (RCC->AHB1RSTR |= (RCC_AHB1RSTR_GPIOCRST))

◆ __HAL_RCC_GPIOH_FORCE_RESET

#define __HAL_RCC_GPIOH_FORCE_RESET ( )    (RCC->AHB1RSTR |= (RCC_AHB1RSTR_GPIOHRST))

◆ __HAL_RCC_DMA1_FORCE_RESET

#define __HAL_RCC_DMA1_FORCE_RESET ( )    (RCC->AHB1RSTR |= (RCC_AHB1RSTR_DMA1RST))

◆ __HAL_RCC_DMA2_FORCE_RESET

#define __HAL_RCC_DMA2_FORCE_RESET ( )    (RCC->AHB1RSTR |= (RCC_AHB1RSTR_DMA2RST))

◆ __HAL_RCC_AHB1_RELEASE_RESET

#define __HAL_RCC_AHB1_RELEASE_RESET ( )    (RCC->AHB1RSTR = 0x00U)

◆ __HAL_RCC_GPIOA_RELEASE_RESET

#define __HAL_RCC_GPIOA_RELEASE_RESET ( )    (RCC->AHB1RSTR &= ~(RCC_AHB1RSTR_GPIOARST))

◆ __HAL_RCC_GPIOB_RELEASE_RESET

#define __HAL_RCC_GPIOB_RELEASE_RESET ( )    (RCC->AHB1RSTR &= ~(RCC_AHB1RSTR_GPIOBRST))

◆ __HAL_RCC_GPIOC_RELEASE_RESET

#define __HAL_RCC_GPIOC_RELEASE_RESET ( )    (RCC->AHB1RSTR &= ~(RCC_AHB1RSTR_GPIOCRST))

◆ __HAL_RCC_GPIOH_RELEASE_RESET

#define __HAL_RCC_GPIOH_RELEASE_RESET ( )    (RCC->AHB1RSTR &= ~(RCC_AHB1RSTR_GPIOHRST))

◆ __HAL_RCC_DMA1_RELEASE_RESET

#define __HAL_RCC_DMA1_RELEASE_RESET ( )    (RCC->AHB1RSTR &= ~(RCC_AHB1RSTR_DMA1RST))

◆ __HAL_RCC_DMA2_RELEASE_RESET

#define __HAL_RCC_DMA2_RELEASE_RESET ( )    (RCC->AHB1RSTR &= ~(RCC_AHB1RSTR_DMA2RST))