libDaisy
Hardware Library for Daisy
Loading...
Searching...
No Matches
daisy::System::Config Struct Reference

Detailed Description

Contains settings for initializing the System

#include <system.h>

Public Types

enum class  SysClkFreq { FREQ_400MHZ , FREQ_480MHZ }
 

Public Member Functions

void Defaults ()
 
void Boost ()
 

Public Attributes

SysClkFreq cpu_freq
 
bool use_dcache
 
bool use_icache
 
bool skip_clocks
 

Member Enumeration Documentation

◆ SysClkFreq

Specifies the system clock frequency that feeds APB/AHB clocks, etc.

Enumerator
FREQ_400MHZ 
FREQ_480MHZ 

Member Function Documentation

◆ Boost()

void daisy::System::Config::Boost ( )
inline

Method to call on the struct to set to boost mode: CPU Freq set to 480MHz Cache Enabled

◆ Defaults()

void daisy::System::Config::Defaults ( )
inline

Method to call on the struct to set to defaults CPU Freq set to 400MHz Cache Enabled

Member Data Documentation

◆ cpu_freq

SysClkFreq daisy::System::Config::cpu_freq

◆ skip_clocks

bool daisy::System::Config::skip_clocks

◆ use_dcache

bool daisy::System::Config::use_dcache

◆ use_icache

bool daisy::System::Config::use_icache

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