#[repr(u8)]
pub enum WPCMD_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
impl Copy for WPCMD_AW
impl StructuralPartialEq for WPCMD_AW
Auto Trait Implementations
impl RefUnwindSafe for WPCMD_AW
impl Send for WPCMD_AW
impl Sync for WPCMD_AW
impl Unpin for WPCMD_AW
impl UnwindSafe for WPCMD_AW
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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