Struct esp32c6::usb_device::set_line_code_w1::R
source · pub struct R(_);Expand description
Register SET_LINE_CODE_W1 reader
Implementations§
source§impl R
impl R
sourcepub fn bchar_format(&self) -> BCHAR_FORMAT_R
pub fn bchar_format(&self) -> BCHAR_FORMAT_R
Bits 0:7 - The value of bCharFormat set by host through SET_LINE_CODING command.
sourcepub fn bparity_type(&self) -> BPARITY_TYPE_R
pub fn bparity_type(&self) -> BPARITY_TYPE_R
Bits 8:15 - The value of bParityTpye set by host through SET_LINE_CODING command.
sourcepub fn bdata_bits(&self) -> BDATA_BITS_R
pub fn bdata_bits(&self) -> BDATA_BITS_R
Bits 16:23 - The value of bDataBits set by host through SET_LINE_CODING command.
Methods from Deref<Target = R<SET_LINE_CODE_W1_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more