#[repr(C)]
pub struct Registers { pub ctl: ReadWrite<u32, Register>, pub sta: ReadWrite<u32, Register>, pub dmac: ReadWrite<u32, Register>, pub rng1: ReadWrite<u32>, pub dat1: ReadWrite<u32>, pub fif1: WriteOnly<u32>, pub rng2: ReadWrite<u32>, pub dat2: ReadWrite<u32>, /* private fields */ }

Fields

ctl: ReadWrite<u32, Register>

PWM control

sta: ReadWrite<u32, Register>

PWM status

dmac: ReadWrite<u32, Register>

PMA DMA configuration

rng1: ReadWrite<u32>

PWM channel 1 range

dat1: ReadWrite<u32>

PWM channel 1 data

fif1: WriteOnly<u32>

PWM FIFO input

rng2: ReadWrite<u32>

PWM channel 2 range

dat2: ReadWrite<u32>

PWM channel 2 data

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.