[][src]Struct msp432e4::pwm0::_1_ctl::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 pwm_1_ctl_enable(&mut self) -> _PWM_1_CTL_ENABLEW[src]

Bit 0 - PWM Block Enable

pub fn pwm_1_ctl_mode(&mut self) -> _PWM_1_CTL_MODEW[src]

Bit 1 - Counter Mode

pub fn pwm_1_ctl_debug(&mut self) -> _PWM_1_CTL_DEBUGW[src]

Bit 2 - Debug Mode

pub fn pwm_1_ctl_loadupd(&mut self) -> _PWM_1_CTL_LOADUPDW[src]

Bit 3 - Load Register Update Mode

pub fn pwm_1_ctl_cmpaupd(&mut self) -> _PWM_1_CTL_CMPAUPDW[src]

Bit 4 - Comparator A Update Mode

pub fn pwm_1_ctl_cmpbupd(&mut self) -> _PWM_1_CTL_CMPBUPDW[src]

Bit 5 - Comparator B Update Mode

pub fn pwm_1_ctl_genaupd(&mut self) -> _PWM_1_CTL_GENAUPDW[src]

Bits 6:7 - PWMnGENA Update Mode

pub fn pwm_1_ctl_genbupd(&mut self) -> _PWM_1_CTL_GENBUPDW[src]

Bits 8:9 - PWMnGENB Update Mode

pub fn pwm_1_ctl_dbctlupd(&mut self) -> _PWM_1_CTL_DBCTLUPDW[src]

Bits 10:11 - PWMnDBCTL Update Mode

pub fn pwm_1_ctl_dbriseupd(&mut self) -> _PWM_1_CTL_DBRISEUPDW[src]

Bits 12:13 - PWMnDBRISE Update Mode

pub fn pwm_1_ctl_dbfallupd(&mut self) -> _PWM_1_CTL_DBFALLUPDW[src]

Bits 14:15 - PWMnDBFALL Update Mode

pub fn pwm_1_ctl_fltsrc(&mut self) -> _PWM_1_CTL_FLTSRCW[src]

Bit 16 - Fault Condition Source

pub fn pwm_1_ctl_minfltper(&mut self) -> _PWM_1_CTL_MINFLTPERW[src]

Bit 17 - Minimum Fault Period

pub fn pwm_1_ctl_latch(&mut self) -> _PWM_1_CTL_LATCHW[src]

Bit 18 - Latch Fault Input

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