Struct esp32s3_hal::pac::usb_device::conf0::R
pub struct R(_);
Expand description
Register CONF0
reader
Implementations§
§impl R
impl R
pub fn exchg_pins_override(&self) -> BitReaderRaw<bool>
pub fn exchg_pins_override(&self) -> BitReaderRaw<bool>
Bit 1 - Enable software control USB D+ D- exchange
pub fn exchg_pins(&self) -> BitReaderRaw<bool>
pub fn exchg_pins(&self) -> BitReaderRaw<bool>
Bit 2 - USB D+ D- exchange
pub fn vrefh(&self) -> FieldReaderRaw<u8, u8>
pub fn vrefh(&self) -> FieldReaderRaw<u8, u8>
Bits 3:4 - Control single-end input high threshold,1.76V to 2V, step 80mV
pub fn vrefl(&self) -> FieldReaderRaw<u8, u8>
pub fn vrefl(&self) -> FieldReaderRaw<u8, u8>
Bits 5:6 - Control single-end input low threshold,0.8V to 1.04V, step 80mV
pub fn vref_override(&self) -> BitReaderRaw<bool>
pub fn vref_override(&self) -> BitReaderRaw<bool>
Bit 7 - Enable software control input threshold
pub fn pad_pull_override(&self) -> BitReaderRaw<bool>
pub fn pad_pull_override(&self) -> BitReaderRaw<bool>
Bit 8 - Enable software control USB D+ D- pullup pulldown
pub fn dp_pulldown(&self) -> BitReaderRaw<bool>
pub fn dp_pulldown(&self) -> BitReaderRaw<bool>
Bit 10 - Control USB D+ pull down.
pub fn dm_pulldown(&self) -> BitReaderRaw<bool>
pub fn dm_pulldown(&self) -> BitReaderRaw<bool>
Bit 12 - Control USB D- pull down.
pub fn pullup_value(&self) -> BitReaderRaw<bool>
pub fn pullup_value(&self) -> BitReaderRaw<bool>
Bit 13 - Control pull up value.
pub fn usb_pad_enable(&self) -> BitReaderRaw<bool>
pub fn usb_pad_enable(&self) -> BitReaderRaw<bool>
Bit 14 - Enable USB pad function.
pub fn phy_tx_edge_sel(&self) -> BitReaderRaw<bool>
pub fn phy_tx_edge_sel(&self) -> BitReaderRaw<bool>
Bit 15 - 0: TX output at clock negedge. 1: Tx output at clock posedge.
pub fn usb_jtag_bridge_en(&self) -> BitReaderRaw<bool>
pub fn usb_jtag_bridge_en(&self) -> BitReaderRaw<bool>
Bit 16 - Set this bit usb_jtag, the connection between usb_jtag and internal JTAG is disconnected, and MTMS, MTDI, MTCK are output through GPIO Matrix, MTDO is input through GPIO Matrix.
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.