Enum atsam4s2c_pac::pwm::wpcr::WPCMD_AW[][src]

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

Write Protect Command

Variants

DISABLE_SW_PROT

0: Disable the Software Write Protect of the register groups of which the bit WPRGx is at ‘1’.

ENABLE_SW_PROT

1: Enable the Software Write Protect of the register groups of which the bit WPRGx is at ‘1’.

ENABLE_HW_PROT

2: Enable the Hardware Write Protect 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 protect. Moreover, to meet security requirements, the PIO lines associated with 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.