[][src]Struct bl602_pac::pwm::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub pwm_int_config: Reg<PWM_INT_CONFIG_SPEC>,
    pub pwm0_clkdiv: Reg<PWM0_CLKDIV_SPEC>,
    pub pwm0_thre1: Reg<PWM0_THRE1_SPEC>,
    pub pwm0_thre2: Reg<PWM0_THRE2_SPEC>,
    pub pwm0_period: Reg<PWM0_PERIOD_SPEC>,
    pub pwm0_config: Reg<PWM0_CONFIG_SPEC>,
    pub pwm0_interrupt: Reg<PWM0_INTERRUPT_SPEC>,
    pub pwm1_clkdiv: Reg<PWM1_CLKDIV_SPEC>,
    pub pwm1_thre1: Reg<PWM1_THRE1_SPEC>,
    pub pwm1_thre2: Reg<PWM1_THRE2_SPEC>,
    pub pwm1_period: Reg<PWM1_PERIOD_SPEC>,
    pub pwm1_config: Reg<PWM1_CONFIG_SPEC>,
    pub pwm1_interrupt: Reg<PWM1_INTERRUPT_SPEC>,
    pub pwm2_clkdiv: Reg<PWM2_CLKDIV_SPEC>,
    pub pwm2_thre1: Reg<PWM2_THRE1_SPEC>,
    pub pwm2_thre2: Reg<PWM2_THRE2_SPEC>,
    pub pwm2_period: Reg<PWM2_PERIOD_SPEC>,
    pub pwm2_config: Reg<PWM2_CONFIG_SPEC>,
    pub pwm2_interrupt: Reg<PWM2_INTERRUPT_SPEC>,
    pub pwm3_clkdiv: Reg<PWM3_CLKDIV_SPEC>,
    pub pwm3_thre1: Reg<PWM3_THRE1_SPEC>,
    pub pwm3_thre2: Reg<PWM3_THRE2_SPEC>,
    pub pwm3_period: Reg<PWM3_PERIOD_SPEC>,
    pub pwm3_config: Reg<PWM3_CONFIG_SPEC>,
    pub pwm3_interrupt: Reg<PWM3_INTERRUPT_SPEC>,
    pub pwm4_clkdiv: Reg<PWM4_CLKDIV_SPEC>,
    pub pwm4_thre1: Reg<PWM4_THRE1_SPEC>,
    pub pwm4_thre2: Reg<PWM4_THRE2_SPEC>,
    pub pwm4_period: Reg<PWM4_PERIOD_SPEC>,
    pub pwm4_config: Reg<PWM4_CONFIG_SPEC>,
    pub pwm4_interrupt: Reg<PWM4_INTERRUPT_SPEC>,
    // some fields omitted
}

Register block

Fields

pwm_int_config: Reg<PWM_INT_CONFIG_SPEC>

0x00 - pwm_int_config.

pwm0_clkdiv: Reg<PWM0_CLKDIV_SPEC>

0x20 - pwm0_clkdiv.

pwm0_thre1: Reg<PWM0_THRE1_SPEC>

0x24 - pwm0_thre1.

pwm0_thre2: Reg<PWM0_THRE2_SPEC>

0x28 - pwm0_thre2.

pwm0_period: Reg<PWM0_PERIOD_SPEC>

0x2c - pwm0_period.

pwm0_config: Reg<PWM0_CONFIG_SPEC>

0x30 - pwm0_config.

pwm0_interrupt: Reg<PWM0_INTERRUPT_SPEC>

0x34 - pwm0_interrupt.

pwm1_clkdiv: Reg<PWM1_CLKDIV_SPEC>

0x40 - pwm1_clkdiv.

pwm1_thre1: Reg<PWM1_THRE1_SPEC>

0x44 - pwm1_thre1.

pwm1_thre2: Reg<PWM1_THRE2_SPEC>

0x48 - pwm1_thre2.

pwm1_period: Reg<PWM1_PERIOD_SPEC>

0x4c - pwm1_period.

pwm1_config: Reg<PWM1_CONFIG_SPEC>

0x50 - pwm1_config.

pwm1_interrupt: Reg<PWM1_INTERRUPT_SPEC>

0x54 - pwm1_interrupt.

pwm2_clkdiv: Reg<PWM2_CLKDIV_SPEC>

0x60 - pwm2_clkdiv.

pwm2_thre1: Reg<PWM2_THRE1_SPEC>

0x64 - pwm2_thre1.

pwm2_thre2: Reg<PWM2_THRE2_SPEC>

0x68 - pwm2_thre2.

pwm2_period: Reg<PWM2_PERIOD_SPEC>

0x6c - pwm2_period.

pwm2_config: Reg<PWM2_CONFIG_SPEC>

0x70 - pwm2_config.

pwm2_interrupt: Reg<PWM2_INTERRUPT_SPEC>

0x74 - pwm2_interrupt.

pwm3_clkdiv: Reg<PWM3_CLKDIV_SPEC>

0x80 - pwm3_clkdiv.

pwm3_thre1: Reg<PWM3_THRE1_SPEC>

0x84 - pwm3_thre1.

pwm3_thre2: Reg<PWM3_THRE2_SPEC>

0x88 - pwm3_thre2.

pwm3_period: Reg<PWM3_PERIOD_SPEC>

0x8c - pwm3_period.

pwm3_config: Reg<PWM3_CONFIG_SPEC>

0x90 - pwm3_config.

pwm3_interrupt: Reg<PWM3_INTERRUPT_SPEC>

0x94 - pwm3_interrupt.

pwm4_clkdiv: Reg<PWM4_CLKDIV_SPEC>

0xa0 - pwm4_clkdiv.

pwm4_thre1: Reg<PWM4_THRE1_SPEC>

0xa4 - pwm4_thre1.

pwm4_thre2: Reg<PWM4_THRE2_SPEC>

0xa8 - pwm4_thre2.

pwm4_period: Reg<PWM4_PERIOD_SPEC>

0xac - pwm4_period.

pwm4_config: Reg<PWM4_CONFIG_SPEC>

0xb0 - pwm4_config.

pwm4_interrupt: Reg<PWM4_INTERRUPT_SPEC>

0xb4 - pwm4_interrupt.

Auto Trait Implementations

impl Send for RegisterBlock

impl !Sync for RegisterBlock

impl Unpin for RegisterBlock

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