#[repr(transparent)]pub struct UsbAlphaFieldsetVictor(pub u8);Expand description
Miscellaneous Control.
Tuple Fields§
§0: u8Implementations§
Source§impl UsbAlphaFieldsetVictor
impl UsbAlphaFieldsetVictor
Sourcepub const fn sofdynthld(&self) -> bool
pub const fn sofdynthld(&self) -> bool
Dynamic SOF Threshold Compare mode. Raw bit values: false (0) = UseDynSofThreshold: When the byte-times SOF threshold is reached.; true (1) = UseFixedSofThreshold: When 8 byte-times SOF threshold is reached or overstepped.
Sourcepub const fn set_sofdynthld(&mut self, val: bool)
pub const fn set_sofdynthld(&mut self, val: bool)
Dynamic SOF Threshold Compare mode. Raw bit values: false (0) = UseDynSofThreshold: When the byte-times SOF threshold is reached.; true (1) = UseFixedSofThreshold: When 8 byte-times SOF threshold is reached or overstepped.
Sourcepub const fn sofbusset(&self) -> bool
pub const fn sofbusset(&self) -> bool
SOF_TOK Interrupt Generation Mode Select. Raw bit values: false (0) = SofTokIntFromThreshold: According to the SOF threshold value.; true (1) = SofTokIntCounter0: When the SOF counter reaches 0.
Sourcepub const fn set_sofbusset(&mut self, val: bool)
pub const fn set_sofbusset(&mut self, val: bool)
SOF_TOK Interrupt Generation Mode Select. Raw bit values: false (0) = SofTokIntFromThreshold: According to the SOF threshold value.; true (1) = SofTokIntCounter0: When the SOF counter reaches 0.
Sourcepub const fn ownerrisodis(&self) -> bool
pub const fn ownerrisodis(&self) -> bool
OWN Error Detect for ISO IN and ISO OUT Disable. Raw bit values: false (0) = DisOwnErrorDetectIso: Enable.; true (1) = EnOwnErrorDetectIso: Disable.
Sourcepub const fn set_ownerrisodis(&mut self, val: bool)
pub const fn set_ownerrisodis(&mut self, val: bool)
OWN Error Detect for ISO IN and ISO OUT Disable. Raw bit values: false (0) = DisOwnErrorDetectIso: Enable.; true (1) = EnOwnErrorDetectIso: Disable.
Sourcepub const fn vredg_en(&self) -> bool
pub const fn vredg_en(&self) -> bool
VREGIN Rising Edge Interrupt Enable. Raw bit values: false (0) = DisVreginReInt: Disable.; true (1) = EnVreginReInt: Enable.
Sourcepub const fn set_vredg_en(&mut self, val: bool)
pub const fn set_vredg_en(&mut self, val: bool)
VREGIN Rising Edge Interrupt Enable. Raw bit values: false (0) = DisVreginReInt: Disable.; true (1) = EnVreginReInt: Enable.
Sourcepub const fn vfedg_en(&self) -> bool
pub const fn vfedg_en(&self) -> bool
VREGIN Falling Edge Interrupt Enable. Raw bit values: false (0) = DisVreginFeInt: Disable.; true (1) = EnVreginFeInt: Enable.
Sourcepub const fn set_vfedg_en(&mut self, val: bool)
pub const fn set_vfedg_en(&mut self, val: bool)
VREGIN Falling Edge Interrupt Enable. Raw bit values: false (0) = DisVreginFeInt: Disable.; true (1) = EnVreginFeInt: Enable.
Sourcepub const fn stl_adj_en(&self) -> bool
pub const fn stl_adj_en(&self) -> bool
USB Peripheral Mode Stall Adjust Enable. Raw bit values: false (0) = StallBothInOut: If ENDPTn[END_STALL] = 1, both IN and OUT directions for the associated endpoint stalls.; true (1) = StallSingleDirection: If ENDPTn[END_STALL] = 1, the STALL_xx_DIS registers control which directions for the associated endpoint stalls.
Sourcepub const fn set_stl_adj_en(&mut self, val: bool)
pub const fn set_stl_adj_en(&mut self, val: bool)
USB Peripheral Mode Stall Adjust Enable. Raw bit values: false (0) = StallBothInOut: If ENDPTn[END_STALL] = 1, both IN and OUT directions for the associated endpoint stalls.; true (1) = StallSingleDirection: If ENDPTn[END_STALL] = 1, the STALL_xx_DIS registers control which directions for the associated endpoint stalls.
Trait Implementations§
Source§impl Clone for UsbAlphaFieldsetVictor
impl Clone for UsbAlphaFieldsetVictor
Source§fn clone(&self) -> UsbAlphaFieldsetVictor
fn clone(&self) -> UsbAlphaFieldsetVictor
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more