Sapphire SoC DS Sapphire SoC UG Sapphire HP SoC DS Sapphire HP SoC UG RISC-V Embedded IDE UG Board Support Package
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:22

Definition at line 45 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 40 of file io.h.