Struct bl602_sdk::pwm::pwm_reg[][src]

#[repr(C)]
pub struct pwm_reg {
Show fields pub pwm_int_config: pwm_reg__bindgen_ty_1, pub RESERVED0x4: [u8; 28], pub pwm0_clkdiv: pwm_reg__bindgen_ty_2, pub pwm0_thre1: pwm_reg__bindgen_ty_3, pub pwm0_thre2: pwm_reg__bindgen_ty_4, pub pwm0_period: pwm_reg__bindgen_ty_5, pub pwm0_config: pwm_reg__bindgen_ty_6, pub pwm0_interrupt: pwm_reg__bindgen_ty_7, pub RESERVED0x38: [u8; 8], pub pwm1_clkdiv: pwm_reg__bindgen_ty_8, pub pwm1_thre1: pwm_reg__bindgen_ty_9, pub pwm1_thre2: pwm_reg__bindgen_ty_10, pub pwm1_period: pwm_reg__bindgen_ty_11, pub pwm1_config: pwm_reg__bindgen_ty_12, pub pwm1_interrupt: pwm_reg__bindgen_ty_13, pub RESERVED0x58: [u8; 8], pub pwm2_clkdiv: pwm_reg__bindgen_ty_14, pub pwm2_thre1: pwm_reg__bindgen_ty_15, pub pwm2_thre2: pwm_reg__bindgen_ty_16, pub pwm2_period: pwm_reg__bindgen_ty_17, pub pwm2_config: pwm_reg__bindgen_ty_18, pub pwm2_interrupt: pwm_reg__bindgen_ty_19, pub RESERVED0x78: [u8; 8], pub pwm3_clkdiv: pwm_reg__bindgen_ty_20, pub pwm3_thre1: pwm_reg__bindgen_ty_21, pub pwm3_thre2: pwm_reg__bindgen_ty_22, pub pwm3_period: pwm_reg__bindgen_ty_23, pub pwm3_config: pwm_reg__bindgen_ty_24, pub pwm3_interrupt: pwm_reg__bindgen_ty_25, pub RESERVED0x98: [u8; 8], pub pwm4_clkdiv: pwm_reg__bindgen_ty_26, pub pwm4_thre1: pwm_reg__bindgen_ty_27, pub pwm4_thre2: pwm_reg__bindgen_ty_28, pub pwm4_period: pwm_reg__bindgen_ty_29, pub pwm4_config: pwm_reg__bindgen_ty_30, pub pwm4_interrupt: pwm_reg__bindgen_ty_31,
}

Fields

pwm_int_config: pwm_reg__bindgen_ty_1RESERVED0x4: [u8; 28]pwm0_clkdiv: pwm_reg__bindgen_ty_2pwm0_thre1: pwm_reg__bindgen_ty_3pwm0_thre2: pwm_reg__bindgen_ty_4pwm0_period: pwm_reg__bindgen_ty_5pwm0_config: pwm_reg__bindgen_ty_6pwm0_interrupt: pwm_reg__bindgen_ty_7RESERVED0x38: [u8; 8]pwm1_clkdiv: pwm_reg__bindgen_ty_8pwm1_thre1: pwm_reg__bindgen_ty_9pwm1_thre2: pwm_reg__bindgen_ty_10pwm1_period: pwm_reg__bindgen_ty_11pwm1_config: pwm_reg__bindgen_ty_12pwm1_interrupt: pwm_reg__bindgen_ty_13RESERVED0x58: [u8; 8]pwm2_clkdiv: pwm_reg__bindgen_ty_14pwm2_thre1: pwm_reg__bindgen_ty_15pwm2_thre2: pwm_reg__bindgen_ty_16pwm2_period: pwm_reg__bindgen_ty_17pwm2_config: pwm_reg__bindgen_ty_18pwm2_interrupt: pwm_reg__bindgen_ty_19RESERVED0x78: [u8; 8]pwm3_clkdiv: pwm_reg__bindgen_ty_20pwm3_thre1: pwm_reg__bindgen_ty_21pwm3_thre2: pwm_reg__bindgen_ty_22pwm3_period: pwm_reg__bindgen_ty_23pwm3_config: pwm_reg__bindgen_ty_24pwm3_interrupt: pwm_reg__bindgen_ty_25RESERVED0x98: [u8; 8]pwm4_clkdiv: pwm_reg__bindgen_ty_26pwm4_thre1: pwm_reg__bindgen_ty_27pwm4_thre2: pwm_reg__bindgen_ty_28pwm4_period: pwm_reg__bindgen_ty_29pwm4_config: pwm_reg__bindgen_ty_30pwm4_interrupt: pwm_reg__bindgen_ty_31

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. Read more

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

Performs the conversion.

Performs the conversion.

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.