[][src]Struct atsams70n20::pwm0::pwm_wpcr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register

pub fn wpcmd(&mut self) -> _WPCMDW[src]

Bits 0:1 - Write Protection Command

pub fn wprg0(&mut self) -> _WPRG0W[src]

Bit 2 - Write Protection Register Group 0

pub fn wprg1(&mut self) -> _WPRG1W[src]

Bit 3 - Write Protection Register Group 1

pub fn wprg2(&mut self) -> _WPRG2W[src]

Bit 4 - Write Protection Register Group 2

pub fn wprg3(&mut self) -> _WPRG3W[src]

Bit 5 - Write Protection Register Group 3

pub fn wprg4(&mut self) -> _WPRG4W[src]

Bit 6 - Write Protection Register Group 4

pub fn wprg5(&mut self) -> _WPRG5W[src]

Bit 7 - Write Protection Register Group 5

pub fn wpkey(&mut self) -> _WPKEYW[src]

Bits 8:31 - Write Protection Key

Auto Trait Implementations

impl Unpin for W

impl Sync for W

impl Send for W

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self