Struct esp32c3_hal::pac::usb_device::ep1_conf::R
pub struct R(_);
Expand description
Register EP1_CONF
reader
Implementations
impl R
impl R
pub fn serial_in_ep_data_free(&self) -> BitReaderRaw<bool>
pub fn serial_in_ep_data_free(&self) -> BitReaderRaw<bool>
Bit 1 - 1’b1: Indicate UART Tx FIFO is not full and can write data into in. After writing USB_DEVICE_WR_DONE, this bit would be 0 until data in UART Tx FIFO is read by USB Host.
pub fn serial_out_ep_data_avail(&self) -> BitReaderRaw<bool>
pub fn serial_out_ep_data_avail(&self) -> BitReaderRaw<bool>
Bit 2 - 1’b1: Indicate there is data in UART Rx FIFO.
Methods from Deref<Target = R<EP1_CONF_SPEC>>
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations
impl From<R<EP1_CONF_SPEC>> for R
impl From<R<EP1_CONF_SPEC>> for R
fn from(reader: R<EP1_CONF_SPEC>) -> R
fn from(reader: R<EP1_CONF_SPEC>) -> R
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more