Struct esp32c3_hal::pac::uhci0::conf0::R
pub struct R(_);
Expand description
Register CONF0
reader
Implementations
impl R
impl R
pub fn tx_rst(&self) -> BitReaderRaw<bool>
pub fn tx_rst(&self) -> BitReaderRaw<bool>
Bit 0 - Write 1, then write 0 to this bit to reset decode state machine.
pub fn rx_rst(&self) -> BitReaderRaw<bool>
pub fn rx_rst(&self) -> BitReaderRaw<bool>
Bit 1 - Write 1, then write 0 to this bit to reset encode state machine.
pub fn seper_en(&self) -> BitReaderRaw<bool>
pub fn seper_en(&self) -> BitReaderRaw<bool>
Bit 5 - Set this bit to separate the data frame using a special char.
pub fn head_en(&self) -> BitReaderRaw<bool>
pub fn head_en(&self) -> BitReaderRaw<bool>
Bit 6 - Set this bit to encode the data packet with a formatting header.
pub fn crc_rec_en(&self) -> BitReaderRaw<bool>
pub fn crc_rec_en(&self) -> BitReaderRaw<bool>
Bit 7 - Set this bit to enable UHCI to receive the 16 bit CRC.
pub fn uart_idle_eof_en(&self) -> BitReaderRaw<bool>
pub fn uart_idle_eof_en(&self) -> BitReaderRaw<bool>
Bit 8 - If this bit is set to 1, UHCI will end the payload receiving process when UART has been in idle state.
pub fn len_eof_en(&self) -> BitReaderRaw<bool>
pub fn len_eof_en(&self) -> BitReaderRaw<bool>
Bit 9 - If this bit is set to 1, UHCI decoder receiving payload data is end when the receiving byte count has reached the specified value. The value is payload length indicated by UHCI packet header when UHCI_HEAD_EN is 1 or the value is configuration value when UHCI_HEAD_EN is 0. If this bit is set to 0, UHCI decoder receiving payload data is end when 0xc0 is received.
pub fn encode_crc_en(&self) -> BitReaderRaw<bool>
pub fn encode_crc_en(&self) -> BitReaderRaw<bool>
Bit 10 - Set this bit to enable data integrity checking by appending a 16 bit CCITT-CRC to end of the payload.
pub fn clk_en(&self) -> BitReaderRaw<bool>
pub fn clk_en(&self) -> BitReaderRaw<bool>
Bit 11 - 1’b1: Force clock on for register. 1’b0: Support clock only when application writes registers.
pub fn uart_rx_brk_eof_en(&self) -> BitReaderRaw<bool>
pub fn uart_rx_brk_eof_en(&self) -> BitReaderRaw<bool>
Bit 12 - If this bit is set to 1, UHCI will end payload receive process when NULL frame is received by UART.
Methods from Deref<Target = R<CONF0_SPEC>>
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.