riscv

Macro set_clear_csr

source
macro_rules! set_clear_csr {
    ($(#[$attr:meta])*, $set_field:ident, $clear_field:ident, $e:expr) => { ... };
}
Expand description

Convenience macro to define field setter and clear functions for a CSR type.