Skip to content

Struct daisy::System::Config

ClassList > daisy > System > Config

More...

  • #include <system.h>

Public Types

Type Name
enum SysClkFreq

Public Attributes

Type Name
SysClkFreq cpu_freq
bool skip_clocks
bool use_dcache
bool use_icache

Public Functions

Type Name
void Boost ()
void Defaults ()

Detailed Description

Contains settings for initializing the System

Public Types Documentation

enum SysClkFreq

enum daisy::System::Config::SysClkFreq {
    FREQ_400MHZ,
    FREQ_480MHZ
};

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


Public Attributes Documentation

variable cpu_freq

SysClkFreq daisy::System::Config::cpu_freq;

variable skip_clocks

bool daisy::System::Config::skip_clocks;

variable use_dcache

bool daisy::System::Config::use_dcache;

variable use_icache

bool daisy::System::Config::use_icache;

Public Functions Documentation

function Boost

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

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


function Defaults

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

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



The documentation for this class was generated from the following file external-docs/libDaisy/src/sys/system.h