Reset and clock control (RCC)
18.2.8.15 RCC_APB1PeriphResetCmd
void RCC_APB1PeriphResetCmd ( uint32_t RCC_APB1Periph,
FunctionalState NewState)
Forces or releases Low Speed APB (APB1) peripheral reset.
RCC_APB1Periph : specifies the APB1 peripheral to reset.
This parameter can be any combination of the following
values:
RCC_APB1Periph_TIM2 :
RCC_APB1Periph_TIM3 :
RCC_APB1Periph_TIM4 :
RCC_APB1Periph_TIM6 :
RCC_APB1Periph_TIM7 :
RCC_APB1Periph_WWDG :
RCC_APB1Periph_SPI2 :
RCC_APB1Periph_SPI3 :
RCC_APB1Periph_USART2 :
RCC_APB1Periph_USART3 :
RCC_APB1Periph_UART4 :
RCC_APB1Periph_UART5 :
RCC_APB1Periph_I2C1 :
RCC_APB1Periph_I2C2 :
RCC_APB1Periph_USB :
RCC_APB1Periph_CAN1 :
RCC_APB1Periph_PWR :
RCC_APB1Periph_DAC :
NewState : new state of the specified peripheral clock. This
parameter can be: ENABLE or DISABLE.
18.2.9 Interrupts and flags management functions
18.2.9.1 RCC_ITConfig
void RCC_ITConfig ( uint8_t RCC_IT, FunctionalState
NewState)
Enables or disables the specified RCC interrupts.
RCC_IT : specifies the RCC interrupt sources to be enabled
or disabled. This parameter can be any combination of the
following values: