Enum atsame70n20b_pac::pwm0::wpcr::WPCMD_AW[][src]

#[repr(u8)]pub enum WPCMD_AW {
    DISABLE_SW_PROT,
    ENABLE_SW_PROT,
    ENABLE_HW_PROT,
}

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

impl Clone for WPCMD_AW[src]

impl Copy for WPCMD_AW[src]

impl Debug for WPCMD_AW[src]

impl PartialEq<WPCMD_AW> for WPCMD_AW[src]

impl StructuralPartialEq for WPCMD_AW[src]

Auto Trait Implementations

impl Send for WPCMD_AW

impl Sync for WPCMD_AW

impl Unpin for WPCMD_AW

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.