Skip to main content Skip to main content
Pigweed's logo Pigweed
code_xml
  1. Home
  2. Reference
  3. Rust
  4. pw_kernel
  5. regs
  6. rw_enum_field

rw_enum_field

Macro rw_enum_field 

Source
macro_rules! rw_enum_field {
    ($val_type:ty, $name:ident, $start:literal, $end:literal, $enum:ty, $desc:literal) => { ... };
}
Expand description

Safety: $enum must be fully specified for the value range of the field or marked as non-inclusive.