NavHAL 0.1.0
NAVRobotec's architecture-agnostic HAL for embedded systems.
Loading...
Searching...
No Matches
clock_types.h File Reference

Clock HAL type definitions. More...

#include "core/cortex-m4/rcc_reg.h"
#include <stdint.h>
Include dependency graph for clock_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  hal_clock_config_t
 System clock configuration structure. More...

Enumerations

enum  hal_clock_source_t { HAL_CLOCK_SOURCE_HSI , HAL_CLOCK_SOURCE_HSE , HAL_CLOCK_SOURCE_PLL }
 Enumeration of possible system clock sources. More...

Detailed Description

Clock HAL type definitions.

Defines clock source enumerations and clock configuration structures used by the clock HAL for Cortex-M4 MCUs.

Author
Ashutosh Vishwakarma
Date
2025-07-21

Enumeration Type Documentation

◆ hal_clock_source_t

Enumeration of possible system clock sources.

Enumerator
HAL_CLOCK_SOURCE_HSI 

Internal high-speed oscillator (~16 MHz)

HAL_CLOCK_SOURCE_HSE 

External high-speed oscillator (user-provided crystal)

HAL_CLOCK_SOURCE_PLL 

Phase-locked loop (derived clock)