STM32F439xx HAL User Manual
Defines
APB1 Force Release Reset
RCCEx Exported Macros

Force or release APB1 peripheral reset. More...

Defines

#define __HAL_RCC_TIM6_FORCE_RESET()   (RCC->APB1RSTR |= (RCC_APB1RSTR_TIM6RST))
#define __HAL_RCC_TIM7_FORCE_RESET()   (RCC->APB1RSTR |= (RCC_APB1RSTR_TIM7RST))
#define __HAL_RCC_TIM12_FORCE_RESET()   (RCC->APB1RSTR |= (RCC_APB1RSTR_TIM12RST))
#define __HAL_RCC_TIM13_FORCE_RESET()   (RCC->APB1RSTR |= (RCC_APB1RSTR_TIM13RST))
#define __HAL_RCC_TIM14_FORCE_RESET()   (RCC->APB1RSTR |= (RCC_APB1RSTR_TIM14RST))
#define __HAL_RCC_USART3_FORCE_RESET()   (RCC->APB1RSTR |= (RCC_APB1RSTR_USART3RST))
#define __HAL_RCC_UART4_FORCE_RESET()   (RCC->APB1RSTR |= (RCC_APB1RSTR_UART4RST))
#define __HAL_RCC_UART5_FORCE_RESET()   (RCC->APB1RSTR |= (RCC_APB1RSTR_UART5RST))
#define __HAL_RCC_CAN1_FORCE_RESET()   (RCC->APB1RSTR |= (RCC_APB1RSTR_CAN1RST))
#define __HAL_RCC_CAN2_FORCE_RESET()   (RCC->APB1RSTR |= (RCC_APB1RSTR_CAN2RST))
#define __HAL_RCC_DAC_FORCE_RESET()   (RCC->APB1RSTR |= (RCC_APB1RSTR_DACRST))
#define __HAL_RCC_UART7_FORCE_RESET()   (RCC->APB1RSTR |= (RCC_APB1RSTR_UART7RST))
#define __HAL_RCC_UART8_FORCE_RESET()   (RCC->APB1RSTR |= (RCC_APB1RSTR_UART8RST))
#define __HAL_RCC_TIM2_FORCE_RESET()   (RCC->APB1RSTR |= (RCC_APB1RSTR_TIM2RST))
#define __HAL_RCC_TIM3_FORCE_RESET()   (RCC->APB1RSTR |= (RCC_APB1RSTR_TIM3RST))
#define __HAL_RCC_TIM4_FORCE_RESET()   (RCC->APB1RSTR |= (RCC_APB1RSTR_TIM4RST))
#define __HAL_RCC_SPI3_FORCE_RESET()   (RCC->APB1RSTR |= (RCC_APB1RSTR_SPI3RST))
#define __HAL_RCC_I2C3_FORCE_RESET()   (RCC->APB1RSTR |= (RCC_APB1RSTR_I2C3RST))
#define __HAL_RCC_TIM2_RELEASE_RESET()   (RCC->APB1RSTR &= ~(RCC_APB1RSTR_TIM2RST))
#define __HAL_RCC_TIM3_RELEASE_RESET()   (RCC->APB1RSTR &= ~(RCC_APB1RSTR_TIM3RST))
#define __HAL_RCC_TIM4_RELEASE_RESET()   (RCC->APB1RSTR &= ~(RCC_APB1RSTR_TIM4RST))
#define __HAL_RCC_SPI3_RELEASE_RESET()   (RCC->APB1RSTR &= ~(RCC_APB1RSTR_SPI3RST))
#define __HAL_RCC_I2C3_RELEASE_RESET()   (RCC->APB1RSTR &= ~(RCC_APB1RSTR_I2C3RST))
#define __HAL_RCC_TIM6_RELEASE_RESET()   (RCC->APB1RSTR &= ~(RCC_APB1RSTR_TIM6RST))
#define __HAL_RCC_TIM7_RELEASE_RESET()   (RCC->APB1RSTR &= ~(RCC_APB1RSTR_TIM7RST))
#define __HAL_RCC_TIM12_RELEASE_RESET()   (RCC->APB1RSTR &= ~(RCC_APB1RSTR_TIM12RST))
#define __HAL_RCC_TIM13_RELEASE_RESET()   (RCC->APB1RSTR &= ~(RCC_APB1RSTR_TIM13RST))
#define __HAL_RCC_TIM14_RELEASE_RESET()   (RCC->APB1RSTR &= ~(RCC_APB1RSTR_TIM14RST))
#define __HAL_RCC_USART3_RELEASE_RESET()   (RCC->APB1RSTR &= ~(RCC_APB1RSTR_USART3RST))
#define __HAL_RCC_UART4_RELEASE_RESET()   (RCC->APB1RSTR &= ~(RCC_APB1RSTR_UART4RST))
#define __HAL_RCC_UART5_RELEASE_RESET()   (RCC->APB1RSTR &= ~(RCC_APB1RSTR_UART5RST))
#define __HAL_RCC_CAN1_RELEASE_RESET()   (RCC->APB1RSTR &= ~(RCC_APB1RSTR_CAN1RST))
#define __HAL_RCC_CAN2_RELEASE_RESET()   (RCC->APB1RSTR &= ~(RCC_APB1RSTR_CAN2RST))
#define __HAL_RCC_DAC_RELEASE_RESET()   (RCC->APB1RSTR &= ~(RCC_APB1RSTR_DACRST))
#define __HAL_RCC_UART7_RELEASE_RESET()   (RCC->APB1RSTR &= ~(RCC_APB1RSTR_UART7RST))
#define __HAL_RCC_UART8_RELEASE_RESET()   (RCC->APB1RSTR &= ~(RCC_APB1RSTR_UART8RST))

Detailed Description

Force or release APB1 peripheral reset.


Define Documentation

#define __HAL_RCC_CAN1_FORCE_RESET ( )    (RCC->APB1RSTR |= (RCC_APB1RSTR_CAN1RST))

Definition at line 1767 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_CAN1_RELEASE_RESET ( )    (RCC->APB1RSTR &= ~(RCC_APB1RSTR_CAN1RST))

Definition at line 1791 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_CAN2_FORCE_RESET ( )    (RCC->APB1RSTR |= (RCC_APB1RSTR_CAN2RST))

Definition at line 1768 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_CAN2_RELEASE_RESET ( )    (RCC->APB1RSTR &= ~(RCC_APB1RSTR_CAN2RST))

Definition at line 1792 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_DAC_FORCE_RESET ( )    (RCC->APB1RSTR |= (RCC_APB1RSTR_DACRST))

Definition at line 1769 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_DAC_RELEASE_RESET ( )    (RCC->APB1RSTR &= ~(RCC_APB1RSTR_DACRST))

Definition at line 1793 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_I2C3_FORCE_RESET ( )    (RCC->APB1RSTR |= (RCC_APB1RSTR_I2C3RST))

Definition at line 1776 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_I2C3_RELEASE_RESET ( )    (RCC->APB1RSTR &= ~(RCC_APB1RSTR_I2C3RST))

Definition at line 1782 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_SPI3_FORCE_RESET ( )    (RCC->APB1RSTR |= (RCC_APB1RSTR_SPI3RST))

Definition at line 1775 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_SPI3_RELEASE_RESET ( )    (RCC->APB1RSTR &= ~(RCC_APB1RSTR_SPI3RST))

Definition at line 1781 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM12_FORCE_RESET ( )    (RCC->APB1RSTR |= (RCC_APB1RSTR_TIM12RST))

Definition at line 1761 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM12_RELEASE_RESET ( )    (RCC->APB1RSTR &= ~(RCC_APB1RSTR_TIM12RST))

Definition at line 1785 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM13_FORCE_RESET ( )    (RCC->APB1RSTR |= (RCC_APB1RSTR_TIM13RST))

Definition at line 1762 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM13_RELEASE_RESET ( )    (RCC->APB1RSTR &= ~(RCC_APB1RSTR_TIM13RST))

Definition at line 1786 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM14_FORCE_RESET ( )    (RCC->APB1RSTR |= (RCC_APB1RSTR_TIM14RST))

Definition at line 1763 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM14_RELEASE_RESET ( )    (RCC->APB1RSTR &= ~(RCC_APB1RSTR_TIM14RST))

Definition at line 1787 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM2_FORCE_RESET ( )    (RCC->APB1RSTR |= (RCC_APB1RSTR_TIM2RST))

Definition at line 1772 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM2_RELEASE_RESET ( )    (RCC->APB1RSTR &= ~(RCC_APB1RSTR_TIM2RST))

Definition at line 1778 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM3_FORCE_RESET ( )    (RCC->APB1RSTR |= (RCC_APB1RSTR_TIM3RST))

Definition at line 1773 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM3_RELEASE_RESET ( )    (RCC->APB1RSTR &= ~(RCC_APB1RSTR_TIM3RST))

Definition at line 1779 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM4_FORCE_RESET ( )    (RCC->APB1RSTR |= (RCC_APB1RSTR_TIM4RST))

Definition at line 1774 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM4_RELEASE_RESET ( )    (RCC->APB1RSTR &= ~(RCC_APB1RSTR_TIM4RST))

Definition at line 1780 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM6_FORCE_RESET ( )    (RCC->APB1RSTR |= (RCC_APB1RSTR_TIM6RST))

Definition at line 1759 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM6_RELEASE_RESET ( )    (RCC->APB1RSTR &= ~(RCC_APB1RSTR_TIM6RST))

Definition at line 1783 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM7_FORCE_RESET ( )    (RCC->APB1RSTR |= (RCC_APB1RSTR_TIM7RST))

Definition at line 1760 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM7_RELEASE_RESET ( )    (RCC->APB1RSTR &= ~(RCC_APB1RSTR_TIM7RST))

Definition at line 1784 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_UART4_FORCE_RESET ( )    (RCC->APB1RSTR |= (RCC_APB1RSTR_UART4RST))

Definition at line 1765 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_UART4_RELEASE_RESET ( )    (RCC->APB1RSTR &= ~(RCC_APB1RSTR_UART4RST))

Definition at line 1789 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_UART5_FORCE_RESET ( )    (RCC->APB1RSTR |= (RCC_APB1RSTR_UART5RST))

Definition at line 1766 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_UART5_RELEASE_RESET ( )    (RCC->APB1RSTR &= ~(RCC_APB1RSTR_UART5RST))

Definition at line 1790 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_UART7_FORCE_RESET ( )    (RCC->APB1RSTR |= (RCC_APB1RSTR_UART7RST))

Definition at line 1770 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_UART7_RELEASE_RESET ( )    (RCC->APB1RSTR &= ~(RCC_APB1RSTR_UART7RST))

Definition at line 1794 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_UART8_FORCE_RESET ( )    (RCC->APB1RSTR |= (RCC_APB1RSTR_UART8RST))

Definition at line 1771 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_UART8_RELEASE_RESET ( )    (RCC->APB1RSTR &= ~(RCC_APB1RSTR_UART8RST))

Definition at line 1795 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_USART3_FORCE_RESET ( )    (RCC->APB1RSTR |= (RCC_APB1RSTR_USART3RST))

Definition at line 1764 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_USART3_RELEASE_RESET ( )    (RCC->APB1RSTR &= ~(RCC_APB1RSTR_USART3RST))

Definition at line 1788 of file stm32f4xx_hal_rcc_ex.h.