#[non_exhaustive]pub struct OutputMasks {
pub pwm_a: Mask,
pub pwm_b: Mask,
}Expand description
The mask state of PWM outputs.
If a bit is high, the output is masked. Formally, it’s diven to logic level 0 in the IP block (before considering output polarity).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.pwm_a: MaskThe PWM A outputs of a given submodule.
pwm_b: MaskThe PWM B outputs of a given submodule.
Implementations§
Trait Implementations§
Source§impl Clone for OutputMasks
impl Clone for OutputMasks
Source§fn clone(&self) -> OutputMasks
fn clone(&self) -> OutputMasks
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OutputMasks
impl Eq for OutputMasks
Source§impl PartialEq for OutputMasks
impl PartialEq for OutputMasks
impl StructuralPartialEq for OutputMasks
Auto Trait Implementations§
impl Freeze for OutputMasks
impl RefUnwindSafe for OutputMasks
impl Send for OutputMasks
impl Sync for OutputMasks
impl Unpin for OutputMasks
impl UnsafeUnpin for OutputMasks
impl UnwindSafe for OutputMasks
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more