[][src]Struct nuc1xx::pwma::RegisterBlock

#[repr(C)]
pub struct RegisterBlock {
    pub ppr: PPR,
    pub csr: CSR,
    pub pcr: PCR,
    pub cnr0: CNR0,
    pub cmr0: CMR0,
    pub pdr0: PDR0,
    pub cnr1: CNR1,
    pub cmr1: CMR1,
    pub pdr1: PDR1,
    pub cnr2: CNR2,
    pub cmr2: CMR2,
    pub pdr2: PDR2,
    pub cnr3: CNR3,
    pub cmr3: CMR3,
    pub pdr3: PDR3,
    pub pbcr: PBCR,
    pub pier: PIER,
    pub piir: PIIR,
    pub ccr0: CCR0,
    pub ccr2: CCR2,
    pub crlr0: CRLR0,
    pub cflr0: CFLR0,
    pub crlr1: CRLR1,
    pub cflr1: CFLR1,
    pub crlr2: CRLR2,
    pub cflr2: CFLR2,
    pub crlr3: CRLR3,
    pub cflr3: CFLR3,
    pub capenr: CAPENR,
    pub poe: POE,
    // some fields omitted
}

Register block

Fields

ppr: PPR

0x00 - PWM Prescaler Register

csr: CSR

0x04 - PWM Clock Select Register

pcr: PCR

0x08 - PWM Control Register

cnr0: CNR0

0x0c - PWM Counter Register 0

cmr0: CMR0

0x10 - PWM Comparator Register 0

pdr0: PDR0

0x14 - PWM Data Register 0

cnr1: CNR1

0x18 - PWM Counter Register 1

cmr1: CMR1

0x1c - PWM Comparator Register 1

pdr1: PDR1

0x20 - PWM Data Register 1

cnr2: CNR2

0x24 - PWM Counter Register 2

cmr2: CMR2

0x28 - PWM Comparator Register 2

pdr2: PDR2

0x2c - PWM Data Register 2

cnr3: CNR3

0x30 - PWM Counter Register 3

cmr3: CMR3

0x34 - PWM Comparator Register 3

pdr3: PDR3

0x38 - PWM Data Register 3

pbcr: PBCR

0x3c - New description for register

pier: PIER

0x40 - PWM Interrupt Enable Register

piir: PIIR

0x44 - PWM Interrupt Indication Register

ccr0: CCR0

0x50 - Capture Control Register 0

ccr2: CCR2

0x54 - Capture Control Register 2

crlr0: CRLR0

0x58 - Capture Rising Latch Register (Channel 0)

cflr0: CFLR0

0x5c - Capture Falling Latch Register (Channel 0)

crlr1: CRLR1

0x60 - Capture Rising Latch Register (Channel 1)

cflr1: CFLR1

0x64 - Capture Falling Latch Register (Channel 1)

crlr2: CRLR2

0x68 - Capture Rising Latch Register (channel 2)

cflr2: CFLR2

0x6c - Capture Falling Latch Register (channel 2)

crlr3: CRLR3

0x70 - Capture Rising Latch Register (channel 3)

cflr3: CFLR3

0x74 - Capture Falling Latch Register (channel 3)

capenr: CAPENR

0x78 - Capture Input Enable Register

poe: POE

0x7c - PWM Output Enable Register

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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> 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.