RCC Enable/disable clocks for peripherals and reset peripherals

The peripherals can be controlled by the following 3 register sets:




Configuration Registers


AHB1xxx - AHB1ENR, AHB1LPENR and AHB1RSTR registers




AHB2xxx - AHB2ENR, AHB2LPENR and AHB2RSTR registers




AHB3xxx - AHB3ENR, AHB3LPENR and AHB3RSTR registers




APB1xxx - APB1ENR, APB1LPENR and APB1RSTR registers




APB2xxx - APB2ENR, APB2LPENR and APB2RSTR registers




Register Description


RCC_xxxxENR - Peripheral clock enable registers



zEN0Peripheral clock disabled
zEN1Peripheral clock enabled

RCC_xxxxLPENR Low power clock enable registers



zLPEN0Peripheral clock disabled during sleep mode
zLPEN1Peripheral clock enabled during sleep mode

RCC_xxxxRSTR - Peripheral reset registers



zLPEN0Peripheral not reset
zLPEN1Resets peripheral