#[repr(C)]
pub struct RegisterBlock {
Show 31 fields pub pwm_int_config: PWM_INT_CONFIG, pub pwm0_clkdiv: PWM0_CLKDIV, pub pwm0_thre1: PWM0_THRE1, pub pwm0_thre2: PWM0_THRE2, pub pwm0_period: PWM0_PERIOD, pub pwm0_config: PWM0_CONFIG, pub pwm0_interrupt: PWM0_INTERRUPT, pub pwm1_clkdiv: PWM1_CLKDIV, pub pwm1_thre1: PWM1_THRE1, pub pwm1_thre2: PWM1_THRE2, pub pwm1_period: PWM1_PERIOD, pub pwm1_config: PWM1_CONFIG, pub pwm1_interrupt: PWM1_INTERRUPT, pub pwm2_clkdiv: PWM2_CLKDIV, pub pwm2_thre1: PWM2_THRE1, pub pwm2_thre2: PWM2_THRE2, pub pwm2_period: PWM2_PERIOD, pub pwm2_config: PWM2_CONFIG, pub pwm2_interrupt: PWM2_INTERRUPT, pub pwm3_clkdiv: PWM3_CLKDIV, pub pwm3_thre1: PWM3_THRE1, pub pwm3_thre2: PWM3_THRE2, pub pwm3_period: PWM3_PERIOD, pub pwm3_config: PWM3_CONFIG, pub pwm3_interrupt: PWM3_INTERRUPT, pub pwm4_clkdiv: PWM4_CLKDIV, pub pwm4_thre1: PWM4_THRE1, pub pwm4_thre2: PWM4_THRE2, pub pwm4_period: PWM4_PERIOD, pub pwm4_config: PWM4_CONFIG, pub pwm4_interrupt: PWM4_INTERRUPT, /* private fields */
}
Expand description

Register block

Fields§

§pwm_int_config: PWM_INT_CONFIG

0x00 - pwm_int_config.

§pwm0_clkdiv: PWM0_CLKDIV

0x20 - pwm0_clkdiv.

§pwm0_thre1: PWM0_THRE1

0x24 - pwm0_thre1.

§pwm0_thre2: PWM0_THRE2

0x28 - pwm0_thre2.

§pwm0_period: PWM0_PERIOD

0x2c - pwm0_period.

§pwm0_config: PWM0_CONFIG

0x30 - pwm0_config.

§pwm0_interrupt: PWM0_INTERRUPT

0x34 - pwm0_interrupt.

§pwm1_clkdiv: PWM1_CLKDIV

0x40 - pwm1_clkdiv.

§pwm1_thre1: PWM1_THRE1

0x44 - pwm1_thre1.

§pwm1_thre2: PWM1_THRE2

0x48 - pwm1_thre2.

§pwm1_period: PWM1_PERIOD

0x4c - pwm1_period.

§pwm1_config: PWM1_CONFIG

0x50 - pwm1_config.

§pwm1_interrupt: PWM1_INTERRUPT

0x54 - pwm1_interrupt.

§pwm2_clkdiv: PWM2_CLKDIV

0x60 - pwm2_clkdiv.

§pwm2_thre1: PWM2_THRE1

0x64 - pwm2_thre1.

§pwm2_thre2: PWM2_THRE2

0x68 - pwm2_thre2.

§pwm2_period: PWM2_PERIOD

0x6c - pwm2_period.

§pwm2_config: PWM2_CONFIG

0x70 - pwm2_config.

§pwm2_interrupt: PWM2_INTERRUPT

0x74 - pwm2_interrupt.

§pwm3_clkdiv: PWM3_CLKDIV

0x80 - pwm3_clkdiv.

§pwm3_thre1: PWM3_THRE1

0x84 - pwm3_thre1.

§pwm3_thre2: PWM3_THRE2

0x88 - pwm3_thre2.

§pwm3_period: PWM3_PERIOD

0x8c - pwm3_period.

§pwm3_config: PWM3_CONFIG

0x90 - pwm3_config.

§pwm3_interrupt: PWM3_INTERRUPT

0x94 - pwm3_interrupt.

§pwm4_clkdiv: PWM4_CLKDIV

0xa0 - pwm4_clkdiv.

§pwm4_thre1: PWM4_THRE1

0xa4 - pwm4_thre1.

§pwm4_thre2: PWM4_THRE2

0xa8 - pwm4_thre2.

§pwm4_period: PWM4_PERIOD

0xac - pwm4_period.

§pwm4_config: PWM4_CONFIG

0xb0 - pwm4_config.

§pwm4_interrupt: PWM4_INTERRUPT

0xb4 - pwm4_interrupt.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.