Enum atsamv71q20b::pwm0::wpcr::WPCMDSELECT_AW
source · [−]#[repr(u8)]
pub enum WPCMDSELECT_AW {
DISABLE_SW_PROT,
ENABLE_SW_PROT,
ENABLE_HW_PROT,
}
Expand description
Write Protection Command
Value on reset: 0
Variants
DISABLE_SW_PROT
0: Disables the software write protection of the register groups of which the bit WPRGx is at ‘1’.
ENABLE_SW_PROT
1: Enables the software write protection of the register groups of which the bit WPRGx is at ‘1’.
ENABLE_HW_PROT
2: Enables the hardware write protection of the register groups of which the bit WPRGx is at ‘1’. Only a hardware reset of the PWM controller can disable the hardware write protection. Moreover, to meet security requirements, the PIO lines associated with the PWM can not be configured through the PIO interface.
Trait Implementations
sourceimpl Clone for WPCMDSELECT_AW
impl Clone for WPCMDSELECT_AW
sourcefn clone(&self) -> WPCMDSELECT_AW
fn clone(&self) -> WPCMDSELECT_AW
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for WPCMDSELECT_AW
impl Debug for WPCMDSELECT_AW
sourceimpl From<WPCMDSELECT_AW> for u8
impl From<WPCMDSELECT_AW> for u8
sourcefn from(variant: WPCMDSELECT_AW) -> Self
fn from(variant: WPCMDSELECT_AW) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<WPCMDSELECT_AW> for WPCMDSELECT_AW
impl PartialEq<WPCMDSELECT_AW> for WPCMDSELECT_AW
sourcefn eq(&self, other: &WPCMDSELECT_AW) -> bool
fn eq(&self, other: &WPCMDSELECT_AW) -> bool
impl Copy for WPCMDSELECT_AW
impl StructuralPartialEq for WPCMDSELECT_AW
Auto Trait Implementations
impl RefUnwindSafe for WPCMDSELECT_AW
impl Send for WPCMDSELECT_AW
impl Sync for WPCMDSELECT_AW
impl Unpin for WPCMDSELECT_AW
impl UnwindSafe for WPCMDSELECT_AW
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more