riscv

Macro clear

source
macro_rules! clear {
    ($csr_number:literal) => { ... };
}
Expand description

Convenience macro around the csrrc assembly instruction to clear the CSR register.

This macro is intended for use with the clear_csr or set_clear_csr macros.