NEORV32 Software Framework Documentation
The NEORV32 RISC-V Processor
Loading...
Searching...
No Matches
neorv32_sysinfo.c File Reference

System Information Memory (SYSINFO) HW driver source file. More...

#include <neorv32.h>

Functions

uint32_t neorv32_sysinfo_get_clk (void)
 
void neorv32_sysinfo_set_clk (uint32_t clock)
 

Detailed Description

System Information Memory (SYSINFO) HW driver source file.

See also
https://stnolting.github.io/neorv32/sw/files.html

Function Documentation

◆ neorv32_sysinfo_get_clk()

uint32_t neorv32_sysinfo_get_clk ( void )

Get current processor clock frequency.

Returns
Clock frequency in Hz.

◆ neorv32_sysinfo_set_clk()

void neorv32_sysinfo_set_clk ( uint32_t clock)

Set processor clock frequency.

Parameters
[in]clockClock frequency in Hz.