#[repr(transparent)]pub struct Dccparams(pub u32);Expand description
Device Controller Capability Parameters. F70RM 44.6.1.18 (text line 113282). DEN is a raw endpoint count (valid 0..15 in the field prose); reset count is 8. The abbreviated encoding table listing 0 and 1 is not an exhaustive count enum.
Tuple Fields§
§0: u32Implementations§
Source§impl Dccparams
impl Dccparams
Sourcepub const fn den(&self) -> u8
pub const fn den(&self) -> u8
Device Endpoint Number. Read-only status/value; writes do not configure this field. Raw encoding: 0_0000b - Not device capable; 0_0001b - Device capable.
Sourcepub const fn set_den(&mut self, val: u8)
pub const fn set_den(&mut self, val: u8)
Device Endpoint Number. Read-only status/value; writes do not configure this field. Raw encoding: 0_0000b - Not device capable; 0_0001b - Device capable.
Sourcepub const fn dc(&self) -> bool
pub const fn dc(&self) -> bool
Device Capable. Read-only status/value; writes do not configure this field. Raw encoding: 0b - Not device capable; 1b - Device capable.
Sourcepub const fn set_dc(&mut self, val: bool)
pub const fn set_dc(&mut self, val: bool)
Device Capable. Read-only status/value; writes do not configure this field. Raw encoding: 0b - Not device capable; 1b - Device capable.