#[repr(transparent)]pub struct PwdMask(pub u32);Expand description
PWD SCT command mask. Zero construction default ensures only explicitly selected bits are written. Register-map hardware reset values are not command payload defaults. Source conflict: RM 42.8 (text lines 106616-106618) says SCT aliases always read 0, must be write-only, and cannot exist for read-only primaries; RM 42.7.1 maps writable primary aliases as RW and also lists aliases of read-only status registers. Mapped access is retained; no reliable alias readback is inferred.
Tuple Fields§
§0: u32Implementations§
Source§impl PwdMask
impl PwdMask
Sourcepub const fn txpwdfs(&self) -> bool
pub const fn txpwdfs(&self) -> bool
Power Down USB FS TX Drivers. Raw encoding: 0b - Provide bias to enable; 1b - Disable or power down.
Sourcepub const fn set_txpwdfs(&mut self, val: bool)
pub const fn set_txpwdfs(&mut self, val: bool)
Power Down USB FS TX Drivers. Raw encoding: 0b - Provide bias to enable; 1b - Disable or power down.
Sourcepub const fn txpwdibias(&self) -> bool
pub const fn txpwdibias(&self) -> bool
Power Down USBPHY TX Current Bias Block. Raw encoding: 0b - Enable; 1b - Disable or power down.
Sourcepub const fn set_txpwdibias(&mut self, val: bool)
pub const fn set_txpwdibias(&mut self, val: bool)
Power Down USBPHY TX Current Bias Block. Raw encoding: 0b - Enable; 1b - Disable or power down.
Sourcepub const fn txpwdv2i(&self) -> bool
pub const fn txpwdv2i(&self) -> bool
Power Down USBPHY TX V-I Converter and Current Mirror. Raw encoding: 0b - Enable; 1b - Disable or power down.
Sourcepub const fn set_txpwdv2i(&mut self, val: bool)
pub const fn set_txpwdv2i(&mut self, val: bool)
Power Down USBPHY TX V-I Converter and Current Mirror. Raw encoding: 0b - Enable; 1b - Disable or power down.
Sourcepub const fn rxpwdenv(&self) -> bool
pub const fn rxpwdenv(&self) -> bool
Power Down USB HS RX Envelope Detector. Raw encoding: 0b - Enable; 1b - Disable or power down.
Sourcepub const fn set_rxpwdenv(&mut self, val: bool)
pub const fn set_rxpwdenv(&mut self, val: bool)
Power Down USB HS RX Envelope Detector. Raw encoding: 0b - Enable; 1b - Disable or power down.
Sourcepub const fn rxpwd1pt1(&self) -> bool
pub const fn rxpwd1pt1(&self) -> bool
Power Down USB FS Differential Receiver. Raw encoding: 0b - Enable; 1b - Disable or power down.
Sourcepub const fn set_rxpwd1pt1(&mut self, val: bool)
pub const fn set_rxpwd1pt1(&mut self, val: bool)
Power Down USB FS Differential Receiver. Raw encoding: 0b - Enable; 1b - Disable or power down.
Sourcepub const fn rxpwddiff(&self) -> bool
pub const fn rxpwddiff(&self) -> bool
Power Down USB HS Differential Receiver. Raw encoding: 0b - Enable; 1b - Disable or power down.
Sourcepub const fn set_rxpwddiff(&mut self, val: bool)
pub const fn set_rxpwddiff(&mut self, val: bool)
Power Down USB HS Differential Receiver. Raw encoding: 0b - Enable; 1b - Disable or power down.
Sourcepub const fn rxpwdrx(&self) -> bool
pub const fn rxpwdrx(&self) -> bool
Power Down USBPHY Receiver Circuits. Raw encoding: 0b - Enable; 1b - Disable or power down.
Sourcepub const fn set_rxpwdrx(&mut self, val: bool)
pub const fn set_rxpwdrx(&mut self, val: bool)
Power Down USBPHY Receiver Circuits. Raw encoding: 0b - Enable; 1b - Disable or power down.