16#ifndef neorv32_clint_h
17#define neorv32_clint_h
27typedef volatile struct __attribute__((packed,aligned(4))) {
34#define NEORV32_CLINT ((neorv32_clint_t*) (NEORV32_CLINT_BASE))
void neorv32_clint_mtimecmp_set(uint64_t timecmp)
Definition neorv32_clint.c:121
int neorv32_clint_available(void)
Definition neorv32_clint.c:24
void neorv32_clint_msi_set(int hart)
Definition neorv32_clint.c:40
void neorv32_clint_msi_clr(int hart)
Definition neorv32_clint.c:51
uint32_t neorv32_clint_msi_get(int hart)
Definition neorv32_clint.c:62
uint64_t neorv32_clint_unixtime_get(void)
Definition neorv32_clint.c:165
uint64_t neorv32_clint_time_get(void)
Definition neorv32_clint.c:94
void neorv32_clint_unixtime_set(uint64_t unixtime)
Definition neorv32_clint.c:154
uint64_t neorv32_clint_mtimecmp_get(void)
Definition neorv32_clint.c:142
void neorv32_clint_time_set(uint64_t time)
Definition neorv32_clint.c:75
Definition neorv32_clint.h:27
subwords64_t MTIME
Definition neorv32_clint.h:30