RV32 SoC DS UG
High-Perf RV32 SoC DS UG
RV64 SoC DS UG API and Examples
Embedded IDE UG
Loading...
Searching...
No Matches
io.h File Reference
#include "type.h"
#include "soc.h"

Go to the source code of this file.

Macros

#define writeReg_u32(name, offset)
#define readReg_u32(name, offset)

Macro Definition Documentation

◆ readReg_u32

#define readReg_u32 ( name,
offset )
Value:
static inline u32 name(u32 reg){ \
return read_u32(reg + offset); \
} \
uint32_t u32
Definition type.h:26

Definition at line 56 of file io.h.

◆ writeReg_u32

#define writeReg_u32 ( name,
offset )
Value:
static inline void name(u32 reg, u32 value){ \
write_u32(value, reg + offset); \
} \

Definition at line 51 of file io.h.