#include "pico.h"
#include "hardware/riscv.h"
#include "hardware/regs/rvcsr.h"
#include "hardware/hazard3/features.h"
#include "hardware/hazard3/instructions.h"
Go to the source code of this file.
◆ hazard3_irqarray_clear
| #define hazard3_irqarray_clear |
( |
| csr, |
|
|
| index, |
|
|
| data ) |
Value:(riscv_clear_csr(csr, (index) | ((uint32_t)(data) << 16)))
◆ hazard3_irqarray_read
| #define hazard3_irqarray_read |
( |
| csr, |
|
|
| index ) |
Value:(riscv_read_set_csr(csr, (index)) >> 16)
◆ hazard3_irqarray_set
| #define hazard3_irqarray_set |
( |
| csr, |
|
|
| index, |
|
|
| data ) |
Value:(riscv_set_csr(csr, (index) | ((uint32_t)(data) << 16)))
◆ hazard3_irqarray_write
| #define hazard3_irqarray_write |
( |
| csr, |
|
|
| index, |
|
|
| data ) |
Value:(riscv_write_csr(csr, (index) | ((uint32_t)(data) << 16)))