9#define R_TYPE_ENCODE(funct7, rs2, rs1, funct3, rd, opcode) \
10 ((funct7 << 25) | (rs2 << 20) | (rs1 << 15) | (funct3 << 12) | (rd << 7) | \
13#define OP_CUSTOM1 0b0101011
15inline void snrt_wfi();
17inline uint32_t snrt_mcycle();
19inline void snrt_interrupt_enable(uint32_t irq);
21inline void snrt_interrupt_disable(uint32_t irq);
23inline void snrt_interrupt_global_enable(
void);
25inline void snrt_interrupt_global_disable(
void);