[][src]Struct lpc176x_5x::mcpwm::con::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

pub fn run0(&self) -> RUN0R[src]

Bit 0 - Stops/starts timer channel 0.

pub fn center0(&self) -> CENTER0R[src]

Bit 1 - Edge/center aligned operation for channel 0.

pub fn pola0(&self) -> POLA0R[src]

Bit 2 - Selects polarity of the MCOA0 and MCOB0 pins.

pub fn dte0(&self) -> DTE0R[src]

Bit 3 - Controls the dead-time feature for channel 0.

pub fn disup0(&self) -> DISUP0R[src]

Bit 4 - Enable/disable updates of functional registers for channel 0 (see Section 24.8.2).

pub fn run1(&self) -> RUN1R[src]

Bit 8 - Stops/starts timer channel 1.

pub fn center1(&self) -> CENTER1R[src]

Bit 9 - Edge/center aligned operation for channel 1.

pub fn pola1(&self) -> POLA1R[src]

Bit 10 - Selects polarity of the MCOA1 and MCOB1 pins.

pub fn dte1(&self) -> DTE1R[src]

Bit 11 - Controls the dead-time feature for channel 1.

pub fn disup1(&self) -> DISUP1R[src]

Bit 12 - Enable/disable updates of functional registers for channel 1 (see Section 24.8.2).

pub fn run2(&self) -> RUN2R[src]

Bit 16 - Stops/starts timer channel 2.

pub fn center2(&self) -> CENTER2R[src]

Bit 17 - Edge/center aligned operation for channel 2.

pub fn pola2(&self) -> POLA2R[src]

Bit 18 - Selects polarity of the MCOA2 and MCOB2 pins.

pub fn dte2(&self) -> DTE2R[src]

Bit 19 - Controls the dead-time feature for channel 1.

pub fn disup2(&self) -> DISUP2R[src]

Bit 20 - Enable/disable updates of functional registers for channel 2 (see Section 24.8.2).

pub fn invbdc(&self) -> INVBDCR[src]

Bit 29 - Controls the polarity of the MCOB outputs for all 3 channels. This bit is typically set to 1 only in 3-phase DC mode.

pub fn acmode(&self) -> ACMODER[src]

Bit 30 - 3-phase AC mode select (see Section 24.8.7).

pub fn dcmode(&self) -> DCMODER[src]

Bit 31 - 3-phase DC mode select (see Section 24.8.6).

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

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

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

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