![]() |
SyterKit 0.4.0.x
SyterKit is a bare-metal framework
|
#include <io.h>#include <stdarg.h>#include <stdbool.h>#include <stddef.h>#include <stdint.h>#include <types.h>#include <timer.h>#include <log.h>#include <sys-clk.h>
Functions | |
| static void | set_pll_cpux_axi (void) |
| static void | set_pll_periph0 (void) |
| static void | set_ahb (void) |
| static void | set_apb (void) |
| static void | set_pll_dma (void) |
| static void | set_pll_mbus (void) |
| static void | set_circuits_analog (void) |
| static void | set_iommu_auto_gating (void) |
| static void | set_platform_config (void) |
| static void | set_modules_clock (void) |
| void | sunxi_clk_init (void) |
| Initialize the global clocks. | |
| uint32_t | sunxi_clk_get_peri1x_rate () |
| Get the clock rate of the PERI1X bus. | |
| void | sunxi_clk_reset (void) |
| Reset the global clocks. | |
| void | sunxi_clk_dump () |
| Dump all clock-related register values. | |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
| void sunxi_clk_dump | ( | void | ) |
Dump all clock-related register values.
This function prints out all clock-related register values for debugging and observation.
| uint32_t sunxi_clk_get_peri1x_rate | ( | ) |
Get the clock rate of the PERI1X bus.
| void sunxi_clk_init | ( | void | ) |
Initialize the global clocks.
This function initializes the global clocks, including PLLs and clock dividers.
| void sunxi_clk_reset | ( | void | ) |
Reset the global clocks.
This function resets all global clocks to their default values.