pub struct EV_ENABLE_SPEC;Expand description
A CSR register. Parameters ––––– fields : :class:dict or :class:list or :class:Field Collection of register fields. If None (default), a dict is populated from Python :term:variable annotations <python:variable annotations>. fields is used to create a :class:FieldActionMap, :class:FieldActionArray, or :class:FieldAction, depending on its type (dict, list, or Field). Interface attributes –––––––––– element : :class:Element Interface between this register and a CSR bus primitive. Attributes ––––– field : :class:FieldActionMap or :class:FieldActionArray or :class:FieldAction Collection of field instances. f : :class:FieldActionMap or :class:FieldActionArray or :class:FieldAction Shorthand for :attr:Register.field. Raises —— :exc:TypeError If fields is neither None, a :class:dict, a :class:list, or a :class:Field. :exc:ValueError If fields is not None and at least one variable annotation is a :class:Field. :exc:ValueError If element.access is not readable and at least one field is readable. :exc:ValueError If element.access is not writable and at least one field is writable.
You can read this register and get ev_enable::R. You can reset, write, write_with_zero this register using ev_enable::W. You can also modify this register. See API.
Trait Implementations§
Source§impl RegisterSpec for EV_ENABLE_SPEC
impl RegisterSpec for EV_ENABLE_SPEC
Source§impl Resettable for EV_ENABLE_SPEC
reset() method sets ev_enable to value 0
impl Resettable for EV_ENABLE_SPEC
reset() method sets ev_enable to value 0
Source§const RESET_VALUE: u8 = 0u8
const RESET_VALUE: u8 = 0u8
Source§fn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Source§impl Writable for EV_ENABLE_SPEC
write(|w| ..) method takes ev_enable::W writer structure
impl Writable for EV_ENABLE_SPEC
write(|w| ..) method takes ev_enable::W writer structure
Source§const ZERO_TO_MODIFY_FIELDS_BITMAP: u8 = 0u8
const ZERO_TO_MODIFY_FIELDS_BITMAP: u8 = 0u8
1 and are changed if you pass 0Source§const ONE_TO_MODIFY_FIELDS_BITMAP: u8 = 0u8
const ONE_TO_MODIFY_FIELDS_BITMAP: u8 = 0u8
0 and are changed if you pass 1impl Readable for EV_ENABLE_SPEC
read() method returns ev_enable::R reader structure