Enum atsam4s2a_pac::pwm::wpcr::WPCMD_AW
source · #[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§
source§impl PartialEq<WPCMD_AW> for WPCMD_AW
impl PartialEq<WPCMD_AW> for WPCMD_AW
impl Copy for WPCMD_AW
impl Eq for WPCMD_AW
impl StructuralEq 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more