clock_manager.c File Reference
#include <stddef.h>
#include "device_registers.h"
#include "clock_manager.h"
#include "interrupt_manager.h"

Go to the source code of this file.

Functions

status_t CLOCK_SYS_Init (clock_manager_user_config_t const **clockConfigsPtr, uint8_t configsNumber, clock_manager_callback_user_config_t **callbacksPtr, uint8_t callbacksNumber)
 Install pre-defined clock configurations. More...
 
status_t CLOCK_SYS_UpdateConfiguration (uint8_t targetConfigIndex, clock_manager_policy_t policy)
 Set system clock configuration according to pre-defined structure. More...
 
uint8_t CLOCK_SYS_GetCurrentConfiguration (void)
 Get current system clock configuration. More...
 
clock_manager_callback_user_config_tCLOCK_SYS_GetErrorCallback (void)
 Get the callback which returns error in last clock switch. More...
 

Variables

static clock_manager_state_t g_clockState
 

Variable Documentation

clock_manager_state_t g_clockState
static

Definition at line 45 of file clock_manager.c.