#[repr(u8)]
pub enum WPCMD_AW {
DISABLE_SW_PROT,
ENABLE_SW_PROT,
ENABLE_HW_PROT,
}
Expand description
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 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