Reset and Clock Control (RCC) support.
Contents
RCC register map type.
Public Members
- __io uint32 CR
Clock control register.
- __io uint32 CFGR
Clock configuration register.
- __io uint32 CIR
Clock interrupt register.
- __io uint32 APB2RSTR
APB2 peripheral reset register.
- __io uint32 APB1RSTR
APB1 peripheral reset register.
- __io uint32 AHBENR
AHB peripheral clock enable register.
- __io uint32 APB2ENR
APB2 peripheral clock enable register.
- __io uint32 APB1ENR
APB1 peripheral clock enable register.
- __io uint32 BDCR
Backup domain control register.
- __io uint32 CSR
Control/status register.
SYSCLK sources.
See: | rcc_clk_init() |
---|
Values:
PLL entry clock source.
See: | rcc_clk_init() |
---|
Values:
PLL multipliers.
See: | rcc_clk_init() |
---|
Values:
Identifies bus and clock line for a peripheral.
Also generally useful as a unique identifier for that peripheral (or its corresponding device struct).
Values:
Values:
Prescaler identifiers.
See: | rcc_set_prescaler() |
---|
Values:
ADC prescaler dividers.
See: | rcc_set_prescaler() |
---|
Values:
APB1 prescaler dividers.
See: | rcc_set_prescaler() |
---|
Values:
APB2 prescaler dividers.
See: | rcc_set_prescaler() |
---|
Values:
AHB prescaler dividers.
See: | rcc_set_prescaler() |
---|
Values:
Initialize the clock control system.
Initializes the system clock source to use the PLL driven by an external oscillator
Parameters: |
|
---|
Turn on the clock line on a peripheral.
Parameters: |
|
---|
Reset a peripheral.
Parameters: |
|
---|
Get a peripheral’s clock domain.
Parameters: |
|
---|---|
Return: | Clock source for the given clock ID |
Set the divider on a peripheral prescaler.
Parameters: |
|
---|
RCC register map base pointer.