|
libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
#include <libopencm3/lm4f/rcc.h>
Go to the source code of this file.
Functions | |
| void | rcc_configure_xtal (enum xtal_t xtal) |
| Configure the crystal type connected to the device. More... | |
| void | rcc_disable_main_osc (void) |
| Disable the main oscillator. More... | |
| void | rcc_disable_interal_osc (void) |
| Disable the internal oscillator. More... | |
| void | rcc_enable_main_osc (void) |
| Enable the main oscillator. More... | |
| void | rcc_enable_interal_osc (void) |
| Enable the internal oscillator. More... | |
| void | rcc_enable_rcc2 (void) |
| Enable the use of SYSCTL_RCC2 register for clock control. More... | |
| void | rcc_pll_off (void) |
| Power down the main PLL. More... | |
| void | rcc_pll_on (void) |
| Power up the main PLL. More... | |
| void | rcc_set_osc_source (enum osc_src src) |
| Set the oscillator source to be used by the system clock. More... | |
| void | rcc_pll_bypass_disable (void) |
| Disable the PLL bypass and use the PLL clock. More... | |
| void | rcc_pll_bypass_enable (void) |
| Enable the PLL bypass and use the oscillator clock. More... | |
| void | rcc_set_pll_divisor (uint8_t div400) |
| Set the PLL clock divisor (from 400MHz) More... | |
| void | rcc_set_pwm_divisor (enum pwm_clkdiv div) |
| Set the PWM unit clock divisor. More... | |
| void | rcc_usb_pll_off (void) |
| Power down the USB PLL. More... | |
| void | rcc_usb_pll_on (void) |
| Power up the USB PLL. More... | |
| void | rcc_wait_for_pll_ready (void) |
| Wait for main PLL to lock. More... | |
| void | rcc_change_pll_divisor (uint8_t pll_div400) |
| Change the PLL divisor. More... | |
| uint32_t | rcc_get_system_clock_frequency (void) |
| Get the system clock frequency. More... | |
| static uint32_t | xtal_to_freq (enum xtal_t xtal) |
| void | rcc_sysclk_config (enum osc_src src, enum xtal_t xtal, uint8_t pll_div400) |
| Configure the system clock source. More... | |
Variables | |
| uint32_t | lm4f_rcc_sysclk_freq = 16000000 |
| System clock frequency. More... | |