Struct esp32c6::usb_device::int_raw::R

source ·
pub struct R(_);
Expand description

Register INT_RAW reader

Implementations§

source§

impl R

source

pub fn jtag_in_flush_int_raw(&self) -> JTAG_IN_FLUSH_INT_RAW_R

Bit 0 - The raw interrupt bit turns to high level when flush cmd is received for IN endpoint 2 of JTAG.

source

pub fn sof_int_raw(&self) -> SOF_INT_RAW_R

Bit 1 - The raw interrupt bit turns to high level when SOF frame is received.

source

pub fn serial_out_recv_pkt_int_raw(&self) -> SERIAL_OUT_RECV_PKT_INT_RAW_R

Bit 2 - The raw interrupt bit turns to high level when Serial Port OUT Endpoint received one packet.

source

pub fn serial_in_empty_int_raw(&self) -> SERIAL_IN_EMPTY_INT_RAW_R

Bit 3 - The raw interrupt bit turns to high level when Serial Port IN Endpoint is empty.

source

pub fn pid_err_int_raw(&self) -> PID_ERR_INT_RAW_R

Bit 4 - The raw interrupt bit turns to high level when pid error is detected.

source

pub fn crc5_err_int_raw(&self) -> CRC5_ERR_INT_RAW_R

Bit 5 - The raw interrupt bit turns to high level when CRC5 error is detected.

source

pub fn crc16_err_int_raw(&self) -> CRC16_ERR_INT_RAW_R

Bit 6 - The raw interrupt bit turns to high level when CRC16 error is detected.

source

pub fn stuff_err_int_raw(&self) -> STUFF_ERR_INT_RAW_R

Bit 7 - The raw interrupt bit turns to high level when stuff error is detected.

source

pub fn in_token_rec_in_ep1_int_raw(&self) -> IN_TOKEN_REC_IN_EP1_INT_RAW_R

Bit 8 - The raw interrupt bit turns to high level when IN token for IN endpoint 1 is received.

source

pub fn usb_bus_reset_int_raw(&self) -> USB_BUS_RESET_INT_RAW_R

Bit 9 - The raw interrupt bit turns to high level when usb bus reset is detected.

source

pub fn out_ep1_zero_payload_int_raw(&self) -> OUT_EP1_ZERO_PAYLOAD_INT_RAW_R

Bit 10 - The raw interrupt bit turns to high level when OUT endpoint 1 received packet with zero palyload.

source

pub fn out_ep2_zero_payload_int_raw(&self) -> OUT_EP2_ZERO_PAYLOAD_INT_RAW_R

Bit 11 - The raw interrupt bit turns to high level when OUT endpoint 2 received packet with zero palyload.

source

pub fn rts_chg_int_raw(&self) -> RTS_CHG_INT_RAW_R

Bit 12 - The raw interrupt bit turns to high level when level of RTS from usb serial channel is changed.

source

pub fn dtr_chg_int_raw(&self) -> DTR_CHG_INT_RAW_R

Bit 13 - The raw interrupt bit turns to high level when level of DTR from usb serial channel is changed.

source

pub fn get_line_code_int_raw(&self) -> GET_LINE_CODE_INT_RAW_R

Bit 14 - The raw interrupt bit turns to high level when level of GET LINE CODING request is received.

source

pub fn set_line_code_int_raw(&self) -> SET_LINE_CODE_INT_RAW_R

Bit 15 - The raw interrupt bit turns to high level when level of SET LINE CODING request is received.

Methods from Deref<Target = R<INT_RAW_SPEC>>§

source

pub fn bits(&self) -> REG::Ux

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<INT_RAW_SPEC>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl From<R<INT_RAW_SPEC>> for R

source§

fn from(reader: R<INT_RAW_SPEC>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for R

§

impl Send for R

§

impl Sync for R

§

impl Unpin for R

§

impl UnwindSafe for R

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.