pub struct WPCMD_W<'a> { /* private fields */ }
Expand description
Field WPCMD
writer - Write Protect Command
Implementations
sourceimpl<'a> WPCMD_W<'a>
impl<'a> WPCMD_W<'a>
sourcepub fn disable_sw_prot(self) -> &'a mut W
pub fn disable_sw_prot(self) -> &'a mut W
Disable the Software Write Protect of the register groups of which the bit WPRGx is at ‘1’.
sourcepub fn enable_sw_prot(self) -> &'a mut W
pub fn enable_sw_prot(self) -> &'a mut W
Enable the Software Write Protect of the register groups of which the bit WPRGx is at ‘1’.
sourcepub fn enable_hw_prot(self) -> &'a mut W
pub fn enable_hw_prot(self) -> &'a mut W
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.
Auto Trait Implementations
impl<'a> RefUnwindSafe for WPCMD_W<'a>
impl<'a> Send for WPCMD_W<'a>
impl<'a> Sync for WPCMD_W<'a>
impl<'a> Unpin for WPCMD_W<'a>
impl<'a> !UnwindSafe for WPCMD_W<'a>
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