NavHAL 0.1.0
NAVRobotec's architecture-agnostic HAL for embedded systems.
Loading...
Searching...
No Matches
hal_pll_config_t Struct Reference

PLL (Phase Locked Loop) configuration structure. More...

#include <clock.h>

Public Attributes

hal_clock_source_t input_src
uint8_t pll_m
uint16_t pll_n
uint8_t pll_p
uint8_t pll_q

Detailed Description

PLL (Phase Locked Loop) configuration structure.

This structure defines the parameters for configuring the PLL to generate the system clock from the selected input source.

Member Data Documentation

◆ input_src

hal_clock_source_t hal_pll_config_t::input_src

Clock input source for PLL.

◆ pll_m

uint8_t hal_pll_config_t::pll_m

Division factor for PLL input.

◆ pll_n

uint16_t hal_pll_config_t::pll_n

Multiplication factor for PLL VCO.

◆ pll_p

uint8_t hal_pll_config_t::pll_p

Division factor for main system clock.

◆ pll_q

uint8_t hal_pll_config_t::pll_q

Division factor for peripheral clocks.


The documentation for this struct was generated from the following file: