Struct esp32s2::uhci0::conf1::R

source ·
pub struct R(_);
Expand description

Register CONF1 reader

Implementations§

source§

impl R

source

pub fn check_sum_en(&self) -> CHECK_SUM_EN_R

Bit 0 - This is the enable bit to check header checksum when UHCI receives a data packet.

source

pub fn check_seq_en(&self) -> CHECK_SEQ_EN_R

Bit 1 - This is the enable bit to check sequence number when UHCI receives a data packet.

source

pub fn crc_disable(&self) -> CRC_DISABLE_R

Bit 2 - Set this bit to support CRC calculation. Data Integrity check present bit in UHCI packet frame should be 1.

source

pub fn save_head(&self) -> SAVE_HEAD_R

Bit 3 - Set this bit to save the packet header when UHCI receives a data packet.

source

pub fn tx_check_sum_re(&self) -> TX_CHECK_SUM_RE_R

Bit 4 - Set this bit to encode the data packet with a checksum.

source

pub fn tx_ack_num_re(&self) -> TX_ACK_NUM_RE_R

Bit 5 - Set this bit to encode the data packet with an acknowledgement when a reliable packet is to be transmit.

source

pub fn check_owner(&self) -> CHECK_OWNER_R

Bit 6 - 1: Check the link list descriptor when link list owner is DMA controller; 0: Always check link list descriptor.

source

pub fn wait_sw_start(&self) -> WAIT_SW_START_R

Bit 7 - The UHCI encoder will jump to ST_SW_WAIT status if this register is set to 1.

source

pub fn sw_start(&self) -> SW_START_R

Bit 8 - If current UHCI_ENCODE_STATE is ST_SW_WAIT, the UHCI will start to send data packet out when this bit is set to 1.

source

pub fn dma_infifo_full_thrs(&self) -> DMA_INFIFO_FULL_THRS_R

Bits 9:20 - This field is used to generate the UHCI_DMA_INFIFO_FULL_WM_INT interrupt when the counter value of DMA RX FIFO exceeds the value of the register.

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

source

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

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<CONF1_SPEC>

The resulting type after dereferencing.
source§

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

Dereferences the value.
source§

impl From<R<CONF1_SPEC>> for R

source§

fn from(reader: R<CONF1_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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

const: unstable · 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.
const: unstable · 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.
const: unstable · source§

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

Performs the conversion.