Skip to content

daisy::System::Config

More...

#include <system.h>

Public Types

Name
enum class SysClkFreq

Public Functions

Name
void Defaults()
void Boost()

Public Attributes

Name
SysClkFreq cpu_freq
bool use_dcache
bool use_icache
bool skip_clocks

Detailed Description

struct daisy::System::Config;

Contains settings for initializing the System

Public Types Documentation

enum SysClkFreq

Enumerator Value Description
FREQ_400MHZ
FREQ_480MHZ

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

Public Functions Documentation

function Defaults

inline void Defaults()

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


function Boost

inline void Boost()

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


Public Attributes Documentation

variable cpu_freq

SysClkFreq cpu_freq;

variable use_dcache

bool use_dcache;

variable use_icache

bool use_icache;

variable skip_clocks

bool skip_clocks;

Updated on 2024-01-03 at 19:41:01 +0000