[][src]Type Definition esp32::uhci::uhci_conf0_reg::W

type W = W<u32, UHCI_CONF0_REG>;

Writer for register UHCI_CONF0_REG

Methods

impl W[src]

pub fn uhci_uart_rx_brk_eof_en(&mut self) -> UHCI_UART_RX_BRK_EOF_EN_W[src]

Bit 23 - Set this bit to enable to use brk char as the end of a data frame.

pub fn uhci_clk_en(&mut self) -> UHCI_CLK_EN_W[src]

Bit 22 - Set this bit to enable clock-gating for read or write registers.

pub fn uhci_encode_crc_en(&mut self) -> UHCI_ENCODE_CRC_EN_W[src]

Bit 21 - Set this bit to enable crc calculation for data frame when bit6 in the head packet is 1.

pub fn uhci_len_eof_en(&mut self) -> UHCI_LEN_EOF_EN_W[src]

Bit 20 - Set this bit to enable to use packet_len in packet head when the received data is equal to packet_len this means the end of a data frame.

pub fn uhci_uart_idle_eof_en(&mut self) -> UHCI_UART_IDLE_EOF_EN_W[src]

Bit 19 - Set this bit to enable to use idle time when the idle time after data frame is satisfied this means the end of a data frame.

pub fn uhci_crc_rec_en(&mut self) -> UHCI_CRC_REC_EN_W[src]

Bit 18 - Set this bit to enable receiver''s ability of crc calculation when crc_en bit in head packet is 1 then there will be crc bytes after data_frame

pub fn uhci_head_en(&mut self) -> UHCI_HEAD_EN_W[src]

Bit 17 - Set this bit to enable to use head packet before the data frame.

pub fn uhci_seper_en(&mut self) -> UHCI_SEPER_EN_W[src]

Bit 16 - Set this bit to use special char to separate the data frame.

pub fn uhci_mem_trans_en(&mut self) -> UHCI_MEM_TRANS_EN_W[src]

Bit 15

pub fn uhci_out_data_burst_en(&mut self) -> UHCI_OUT_DATA_BURST_EN_W[src]

Bit 14 - Set this bit to enable DMA burst MODE

pub fn uhci_indscr_burst_en(&mut self) -> UHCI_INDSCR_BURST_EN_W[src]

Bit 13 - Set this bit to enable DMA out links to use burst mode.

pub fn uhci_outdscr_burst_en(&mut self) -> UHCI_OUTDSCR_BURST_EN_W[src]

Bit 12 - Set this bit to enable DMA in links to use burst mode.

pub fn uhci_uart2_ce(&mut self) -> UHCI_UART2_CE_W[src]

Bit 11 - Set this bit to use UART2 to transmit or receive data.

pub fn uhci_uart1_ce(&mut self) -> UHCI_UART1_CE_W[src]

Bit 10 - Set this bit to use UART1 to transmit or receive data.

pub fn uhci_uart0_ce(&mut self) -> UHCI_UART0_CE_W[src]

Bit 9 - Set this bit to use UART to transmit or receive data.

pub fn uhci_out_eof_mode(&mut self) -> UHCI_OUT_EOF_MODE_W[src]

Bit 8 - Set this bit to produce eof after DMA pops all data clear this bit to produce eof after DMA pushes all data

pub fn uhci_out_no_restart_clr(&mut self) -> UHCI_OUT_NO_RESTART_CLR_W[src]

Bit 7 - don't use

pub fn uhci_out_auto_wrback(&mut self) -> UHCI_OUT_AUTO_WRBACK_W[src]

Bit 6 - when in link's length is 0 go on to use the next in link automatically.

pub fn uhci_out_loop_test(&mut self) -> UHCI_OUT_LOOP_TEST_W[src]

Bit 5 - Set this bit to enable loop test for out links.

pub fn uhci_in_loop_test(&mut self) -> UHCI_IN_LOOP_TEST_W[src]

Bit 4 - Set this bit to enable loop test for in links.

pub fn uhci_ahbm_rst(&mut self) -> UHCI_AHBM_RST_W[src]

Bit 3 - Set this bit to reset dma ahb interface.

pub fn uhci_ahbm_fifo_rst(&mut self) -> UHCI_AHBM_FIFO_RST_W[src]

Bit 2 - Set this bit to reset dma ahb fifo.

pub fn uhci_out_rst(&mut self) -> UHCI_OUT_RST_W[src]

Bit 1 - Set this bit to reset out link operations.

pub fn uhci_in_rst(&mut self) -> UHCI_IN_RST_W[src]

Bit 0 - Set this bit to reset in link operations.