#[repr(transparent)]pub struct UsbAlphaFieldsetKiloAlpha(pub u8);Expand description
USB Control.
Tuple Fields§
§0: u8Implementations§
Source§impl UsbAlphaFieldsetKiloAlpha
impl UsbAlphaFieldsetKiloAlpha
Sourcepub const fn dpdm_lane_reverse(&self) -> bool
pub const fn dpdm_lane_reverse(&self) -> bool
DP and DM Lane Reversal Control. Raw bit values: false (0) = DpDmStandard: Standard USB DP and DM package pin assignment.; true (1) = DpDmReversed: Reverse roles of USB DP and DM package pins.
Sourcepub const fn set_dpdm_lane_reverse(&mut self, val: bool)
pub const fn set_dpdm_lane_reverse(&mut self, val: bool)
DP and DM Lane Reversal Control. Raw bit values: false (0) = DpDmStandard: Standard USB DP and DM package pin assignment.; true (1) = DpDmReversed: Reverse roles of USB DP and DM package pins.
Sourcepub const fn host_ls_eop(&self) -> bool
pub const fn host_ls_eop(&self) -> bool
Host-Mode-Only Low-Speed Device EOP Signaling. Raw bit values: false (0) = HostFsResumeEop: Full-speed device or a low-speed device through a hub.; true (1) = HostLsResumeEop: Directly-connected low-speed device.
Sourcepub const fn set_host_ls_eop(&mut self, val: bool)
pub const fn set_host_ls_eop(&mut self, val: bool)
Host-Mode-Only Low-Speed Device EOP Signaling. Raw bit values: false (0) = HostFsResumeEop: Full-speed device or a low-speed device through a hub.; true (1) = HostLsResumeEop: Directly-connected low-speed device.
Sourcepub const fn uartsel(&self) -> bool
pub const fn uartsel(&self) -> bool
UART Select. Raw bit values: false (0) = UsbMode: USB DP and DM external package pins are used for USB signaling.; true (1) = UartMode: USB DP and DM external package pins are used for UART signaling.
Sourcepub const fn set_uartsel(&mut self, val: bool)
pub const fn set_uartsel(&mut self, val: bool)
UART Select. Raw bit values: false (0) = UsbMode: USB DP and DM external package pins are used for USB signaling.; true (1) = UartMode: USB DP and DM external package pins are used for UART signaling.
Sourcepub const fn uartchls(&self) -> bool
pub const fn uartchls(&self) -> bool
UART Signal Channel Select. Raw bit values: false (0) = UartDpTx: USB DP and DM signals are used as UART TX/RX.; true (1) = UartDmTx: USB DP and DM signals are used as UART RX/TX.
Sourcepub const fn set_uartchls(&mut self, val: bool)
pub const fn set_uartchls(&mut self, val: bool)
UART Signal Channel Select. Raw bit values: false (0) = UartDpTx: USB DP and DM signals are used as UART TX/RX.; true (1) = UartDmTx: USB DP and DM signals are used as UART RX/TX.
Sourcepub const fn pde(&self) -> bool
pub const fn pde(&self) -> bool
Pulldown Enable. Raw bit values: false (0) = DisPulldowns: Disable on D+ and D-.; true (1) = EnPulldowns: Enable on D+ and D-.
Sourcepub const fn set_pde(&mut self, val: bool)
pub const fn set_pde(&mut self, val: bool)
Pulldown Enable. Raw bit values: false (0) = DisPulldowns: Disable on D+ and D-.; true (1) = EnPulldowns: Enable on D+ and D-.
Trait Implementations§
Source§impl Clone for UsbAlphaFieldsetKiloAlpha
impl Clone for UsbAlphaFieldsetKiloAlpha
Source§fn clone(&self) -> UsbAlphaFieldsetKiloAlpha
fn clone(&self) -> UsbAlphaFieldsetKiloAlpha
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more