Type Alias esp32c6::uhci0::hung_conf::W

source ·
pub type W = W<HUNG_CONF_SPEC>;
Expand description

Register HUNG_CONF writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn txfifo_timeout(&mut self) -> TXFIFO_TIMEOUT_W<'_, HUNG_CONF_SPEC>

Bits 0:7 - Stores the timeout value. DMA generates UHCI_TX_HUNG_INT for timeout when receiving data.

source

pub fn txfifo_timeout_shift( &mut self, ) -> TXFIFO_TIMEOUT_SHIFT_W<'_, HUNG_CONF_SPEC>

Bits 8:10 - Configures the maximum counter value.

source

pub fn txfifo_timeout_ena(&mut self) -> TXFIFO_TIMEOUT_ENA_W<'_, HUNG_CONF_SPEC>

Bit 11 - Set this bit to enable TX FIFO timeout when receiving.

source

pub fn rxfifo_timeout(&mut self) -> RXFIFO_TIMEOUT_W<'_, HUNG_CONF_SPEC>

Bits 12:19 - Stores the timeout value. DMA generates UHCI_TX_HUNG_INT for timeout when reading RAM data.

source

pub fn rxfifo_timeout_shift( &mut self, ) -> RXFIFO_TIMEOUT_SHIFT_W<'_, HUNG_CONF_SPEC>

Bits 20:22 - Configures the maximum counter value.

source

pub fn rxfifo_timeout_ena(&mut self) -> RXFIFO_TIMEOUT_ENA_W<'_, HUNG_CONF_SPEC>

Bit 23 - Set this bit to enable TX FIFO timeout when DMA sending data.