14#ifndef NEORV32_SYSINFO_H
15#define NEORV32_SYSINFO_H
24typedef volatile struct __attribute__((packed,aligned(4))) {
32#define NEORV32_SYSINFO ((neorv32_sysinfo_t*) (NEORV32_SYSINFO_BASE))
uint32_t neorv32_sysinfo_get_clk(void)
Definition neorv32_sysinfo.h:149
uint32_t neorv32_sysinfo_get_dmemsize(void)
Definition neorv32_sysinfo.h:125
#define NEORV32_SYSINFO
Definition neorv32_sysinfo.h:32
uint32_t neorv32_sysinfo_get_bootmode(void)
Definition neorv32_sysinfo.h:133
NEORV32_SYSINFO_CACHE_enum
Definition neorv32_sysinfo.h:89
@ SYSINFO_CACHE_INST_NUM_BLOCKS_3
Definition neorv32_sysinfo.h:93
@ SYSINFO_CACHE_INST_BURSTS_EN
Definition neorv32_sysinfo.h:100
@ SYSINFO_CACHE_INST_BLOCK_SIZE_0
Definition neorv32_sysinfo.h:90
@ SYSINFO_CACHE_DATA_NUM_BLOCKS_3
Definition neorv32_sysinfo.h:98
@ SYSINFO_CACHE_DATA_BLOCK_SIZE_0
Definition neorv32_sysinfo.h:95
@ SYSINFO_CACHE_DATA_BURSTS_EN
Definition neorv32_sysinfo.h:101
@ SYSINFO_CACHE_DATA_BLOCK_SIZE_3
Definition neorv32_sysinfo.h:96
@ SYSINFO_CACHE_DATA_NUM_BLOCKS_0
Definition neorv32_sysinfo.h:97
@ SYSINFO_CACHE_INST_NUM_BLOCKS_0
Definition neorv32_sysinfo.h:92
@ SYSINFO_CACHE_INST_BLOCK_SIZE_3
Definition neorv32_sysinfo.h:91
uint32_t neorv32_sysinfo_get_bustimeout(void)
Definition neorv32_sysinfo.h:141
uint32_t neorv32_sysinfo_get_imemsize(void)
Definition neorv32_sysinfo.h:117
void neorv32_sysinfo_set_clk(uint32_t clock)
Definition neorv32_sysinfo.h:157
NEORV32_SYSINFO_MISC_enum
Definition neorv32_sysinfo.h:35
@ SYSINFO_MISC_DMEM_LSB
Definition neorv32_sysinfo.h:39
@ SYSINFO_MISC_IMEM_LSB
Definition neorv32_sysinfo.h:36
@ SYSINFO_MISC_BOOT_MSB
Definition neorv32_sysinfo.h:46
@ SYSINFO_MISC_IMEM_MBS
Definition neorv32_sysinfo.h:37
@ SYSINFO_MISC_BTMO_MSB
Definition neorv32_sysinfo.h:49
@ SYSINFO_MISC_DMEM_MSB
Definition neorv32_sysinfo.h:40
@ SYSINFO_MISC_HART_MSB
Definition neorv32_sysinfo.h:43
@ SYSINFO_MISC_BOOT_LSB
Definition neorv32_sysinfo.h:45
@ SYSINFO_MISC_HART_LSB
Definition neorv32_sysinfo.h:42
@ SYSINFO_MISC_BTMO_LSB
Definition neorv32_sysinfo.h:48
NEORV32_SYSINFO_SOC_enum
Definition neorv32_sysinfo.h:53
@ SYSINFO_SOC_ICACHE
Definition neorv32_sysinfo.h:59
@ SYSINFO_SOC_OCD_AUTH
Definition neorv32_sysinfo.h:65
@ SYSINFO_SOC_IO_NEOLED
Definition neorv32_sysinfo.h:80
@ SYSINFO_SOC_IO_TWI
Definition neorv32_sysinfo.h:73
@ SYSINFO_SOC_IO_UART0
Definition neorv32_sysinfo.h:71
@ SYSINFO_SOC_IO_DMA
Definition neorv32_sysinfo.h:68
@ SYSINFO_SOC_IO_SLINK
Definition neorv32_sysinfo.h:83
@ SYSINFO_SOC_IO_TWD
Definition neorv32_sysinfo.h:67
@ SYSINFO_SOC_OCD
Definition neorv32_sysinfo.h:58
@ SYSINFO_SOC_IO_TRNG
Definition neorv32_sysinfo.h:77
@ SYSINFO_SOC_IO_GPTMR
Definition neorv32_sysinfo.h:82
@ SYSINFO_SOC_IO_SPI
Definition neorv32_sysinfo.h:72
@ SYSINFO_SOC_IO_UART1
Definition neorv32_sysinfo.h:79
@ SYSINFO_SOC_IO_TRACER
Definition neorv32_sysinfo.h:81
@ SYSINFO_SOC_DMEM
Definition neorv32_sysinfo.h:57
@ SYSINFO_SOC_IO_GPIO
Definition neorv32_sysinfo.h:69
@ SYSINFO_SOC_BOOTLOADER
Definition neorv32_sysinfo.h:54
@ SYSINFO_SOC_IO_SDI
Definition neorv32_sysinfo.h:78
@ SYSINFO_SOC_IO_PWM
Definition neorv32_sysinfo.h:74
@ SYSINFO_SOC_DCACHE
Definition neorv32_sysinfo.h:60
@ SYSINFO_SOC_IMEM
Definition neorv32_sysinfo.h:56
@ SYSINFO_SOC_IO_ONEWIRE
Definition neorv32_sysinfo.h:84
@ SYSINFO_SOC_IMEM_ROM
Definition neorv32_sysinfo.h:66
@ SYSINFO_SOC_IO_CLINT
Definition neorv32_sysinfo.h:70
@ SYSINFO_SOC_XBUS
Definition neorv32_sysinfo.h:55
@ SYSINFO_SOC_IO_CFS
Definition neorv32_sysinfo.h:76
@ SYSINFO_SOC_IO_WDT
Definition neorv32_sysinfo.h:75
uint32_t neorv32_sysinfo_get_numcores(void)
Definition neorv32_sysinfo.h:109
Definition neorv32_sysinfo.h:24
uint32_t CLK
Definition neorv32_sysinfo.h:25
const uint32_t MISC
Definition neorv32_sysinfo.h:26
const uint32_t SOC
Definition neorv32_sysinfo.h:27
const uint32_t CACHE
Definition neorv32_sysinfo.h:28