Skip to main content

RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock { /* private fields */ }
Expand description

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn pwm_sel0(&self) -> &PwmSel0

0x00 - PWM group 0 select

Source

pub const fn pwm_startclrcnt_en0(&self) -> &PwmStartclrcntEn0

0x04 - PWM group 0 start clear counter enable

Source

pub const fn pwm_start0(&self) -> &PwmStart0

0x08 - PWM group 0 start

Source

pub const fn pwm_sel1(&self) -> &PwmSel1

0x10 - PWM group 1 select

Source

pub const fn pwm_startclrcnt_en1(&self) -> &PwmStartclrcntEn1

0x14 - PWM group 1 start clear counter enable

Source

pub const fn pwm_start1(&self) -> &PwmStart1

0x18 - PWM group 1 start

Source

pub const fn pwm_sel2(&self) -> &PwmSel2

0x20 - PWM group 2 select

Source

pub const fn pwm_startclrcnt_en2(&self) -> &PwmStartclrcntEn2

0x24 - PWM group 2 start clear counter enable

Source

pub const fn pwm_start2(&self) -> &PwmStart2

0x28 - PWM group 2 start

Source

pub const fn pwm_sel3(&self) -> &PwmSel3

0x30 - PWM group 3 select

Source

pub const fn pwm_startclrcnt_en3(&self) -> &PwmStartclrcntEn3

0x34 - PWM group 3 start clear counter enable

Source

pub const fn pwm_start3(&self) -> &PwmStart3

0x38 - PWM group 3 start

Source

pub const fn pwm_en0(&self) -> &PwmEn0

0x100 - PWM0 enable

Source

pub const fn pwm_portity0(&self) -> &PwmPortity0

0x104 - PWM0 polarity

Source

pub const fn pwm_oen_cfg0(&self) -> &PwmOenCfg0

0x108 - PWM0 high-impedance config

Source

pub const fn pwm_offset_l0(&self) -> &PwmOffsetL0

0x10c - PWM0 phase offset low 16 bits

Source

pub const fn pwm_offset_h0(&self) -> &PwmOffsetH0

0x110 - PWM0 phase offset high 16 bits

Source

pub const fn pwm_freq_l0(&self) -> &PwmFreqL0

0x114 - PWM0 frequency low 16 bits

Source

pub const fn pwm_freq_h0(&self) -> &PwmFreqH0

0x118 - PWM0 frequency high 16 bits

Source

pub const fn pwm_duty_l0(&self) -> &PwmDutyL0

0x11c - PWM0 duty cycle low 16 bits

Source

pub const fn pwm_duty_h0(&self) -> &PwmDutyH0

0x120 - PWM0 duty cycle high 16 bits

Source

pub const fn pwm_periodload_flag0(&self) -> &PwmPeriodloadFlag0

0x124 - PWM0 period load flag

Source

pub const fn pwm_period_val0(&self) -> &PwmPeriodVal0

0x128 - PWM0 pulse count value

Source

pub const fn pwm_periodcnt0(&self) -> &PwmPeriodcnt0

0x12c - PWM0 pulse count current value

Source

pub const fn pwm_en1(&self) -> &PwmEn1

0x140 - PWM1 enable

Source

pub const fn pwm_portity1(&self) -> &PwmPortity1

0x144 - PWM1 polarity

Source

pub const fn pwm_oen_cfg1(&self) -> &PwmOenCfg1

0x148 - PWM1 high-impedance config

Source

pub const fn pwm_offset_l1(&self) -> &PwmOffsetL1

0x14c - PWM1 phase offset low

Source

pub const fn pwm_offset_h1(&self) -> &PwmOffsetH1

0x150 - PWM1 phase offset high

Source

pub const fn pwm_freq_l1(&self) -> &PwmFreqL1

0x154 - PWM1 frequency low

Source

pub const fn pwm_freq_h1(&self) -> &PwmFreqH1

0x158 - PWM1 frequency high

Source

pub const fn pwm_duty_l1(&self) -> &PwmDutyL1

0x15c - PWM1 duty cycle low

Source

pub const fn pwm_duty_h1(&self) -> &PwmDutyH1

0x160 - PWM1 duty cycle high

Source

pub const fn pwm_periodload_flag1(&self) -> &PwmPeriodloadFlag1

0x164 - PWM1 period load flag

Source

pub const fn pwm_period_val1(&self) -> &PwmPeriodVal1

0x168 - PWM1 pulse count

Source

pub const fn pwm_periodcnt1(&self) -> &PwmPeriodcnt1

0x16c - PWM1 pulse count current

Source

pub const fn pwm_en2(&self) -> &PwmEn2

0x180 - PWM2 enable

Source

pub const fn pwm_portity2(&self) -> &PwmPortity2

0x184 - PWM2 polarity

Source

pub const fn pwm_oen_cfg2(&self) -> &PwmOenCfg2

0x188 - PWM2 high-impedance config

Source

pub const fn pwm_offset_l2(&self) -> &PwmOffsetL2

0x18c - PWM2 phase offset low 16 bits

Source

pub const fn pwm_offset_h2(&self) -> &PwmOffsetH2

0x190 - PWM2 phase offset high 16 bits

Source

pub const fn pwm_freq_l2(&self) -> &PwmFreqL2

0x194 - PWM2 frequency low 16 bits

Source

pub const fn pwm_freq_h2(&self) -> &PwmFreqH2

0x198 - PWM2 frequency high 16 bits

Source

pub const fn pwm_duty_l2(&self) -> &PwmDutyL2

0x19c - PWM2 duty cycle low 16 bits

Source

pub const fn pwm_duty_h2(&self) -> &PwmDutyH2

0x1a0 - PWM2 duty cycle high 16 bits

Source

pub const fn pwm_periodload_flag2(&self) -> &PwmPeriodloadFlag2

0x1a4 - PWM2 period load flag

Source

pub const fn pwm_period_val2(&self) -> &PwmPeriodVal2

0x1a8 - PWM2 pulse count value

Source

pub const fn pwm_periodcnt2(&self) -> &PwmPeriodcnt2

0x1ac - PWM2 pulse count current value

Source

pub const fn pwm_en3(&self) -> &PwmEn3

0x1c0 - PWM3 enable

Source

pub const fn pwm_portity3(&self) -> &PwmPortity3

0x1c4 - PWM3 polarity

Source

pub const fn pwm_oen_cfg3(&self) -> &PwmOenCfg3

0x1c8 - PWM3 high-impedance config

Source

pub const fn pwm_offset_l3(&self) -> &PwmOffsetL3

0x1cc - PWM3 phase offset low 16 bits

Source

pub const fn pwm_offset_h3(&self) -> &PwmOffsetH3

0x1d0 - PWM3 phase offset high 16 bits

Source

pub const fn pwm_freq_l3(&self) -> &PwmFreqL3

0x1d4 - PWM3 frequency low 16 bits

Source

pub const fn pwm_freq_h3(&self) -> &PwmFreqH3

0x1d8 - PWM3 frequency high 16 bits

Source

pub const fn pwm_duty_l3(&self) -> &PwmDutyL3

0x1dc - PWM3 duty cycle low 16 bits

Source

pub const fn pwm_duty_h3(&self) -> &PwmDutyH3

0x1e0 - PWM3 duty cycle high 16 bits

Source

pub const fn pwm_periodload_flag3(&self) -> &PwmPeriodloadFlag3

0x1e4 - PWM3 period load flag

Source

pub const fn pwm_period_val3(&self) -> &PwmPeriodVal3

0x1e8 - PWM3 pulse count value

Source

pub const fn pwm_periodcnt3(&self) -> &PwmPeriodcnt3

0x1ec - PWM3 pulse count current value

Source

pub const fn pwm_en4(&self) -> &PwmEn4

0x200 - PWM4 enable

Source

pub const fn pwm_portity4(&self) -> &PwmPortity4

0x204 - PWM4 polarity

Source

pub const fn pwm_oen_cfg4(&self) -> &PwmOenCfg4

0x208 - PWM4 high-impedance config

Source

pub const fn pwm_offset_l4(&self) -> &PwmOffsetL4

0x20c - PWM4 phase offset low 16 bits

Source

pub const fn pwm_offset_h4(&self) -> &PwmOffsetH4

0x210 - PWM4 phase offset high 16 bits

Source

pub const fn pwm_freq_l4(&self) -> &PwmFreqL4

0x214 - PWM4 frequency low 16 bits

Source

pub const fn pwm_freq_h4(&self) -> &PwmFreqH4

0x218 - PWM4 frequency high 16 bits

Source

pub const fn pwm_duty_l4(&self) -> &PwmDutyL4

0x21c - PWM4 duty cycle low 16 bits

Source

pub const fn pwm_duty_h4(&self) -> &PwmDutyH4

0x220 - PWM4 duty cycle high 16 bits

Source

pub const fn pwm_periodload_flag4(&self) -> &PwmPeriodloadFlag4

0x224 - PWM4 period load flag

Source

pub const fn pwm_period_val4(&self) -> &PwmPeriodVal4

0x228 - PWM4 pulse count value

Source

pub const fn pwm_periodcnt4(&self) -> &PwmPeriodcnt4

0x22c - PWM4 pulse count current value

Source

pub const fn pwm_en5(&self) -> &PwmEn5

0x240 - PWM5 enable

Source

pub const fn pwm_portity5(&self) -> &PwmPortity5

0x244 - PWM5 polarity

Source

pub const fn pwm_oen_cfg5(&self) -> &PwmOenCfg5

0x248 - PWM5 high-impedance config

Source

pub const fn pwm_offset_l5(&self) -> &PwmOffsetL5

0x24c - PWM5 phase offset low 16 bits

Source

pub const fn pwm_offset_h5(&self) -> &PwmOffsetH5

0x250 - PWM5 phase offset high 16 bits

Source

pub const fn pwm_freq_l5(&self) -> &PwmFreqL5

0x254 - PWM5 frequency low 16 bits

Source

pub const fn pwm_freq_h5(&self) -> &PwmFreqH5

0x258 - PWM5 frequency high 16 bits

Source

pub const fn pwm_duty_l5(&self) -> &PwmDutyL5

0x25c - PWM5 duty cycle low 16 bits

Source

pub const fn pwm_duty_h5(&self) -> &PwmDutyH5

0x260 - PWM5 duty cycle high 16 bits

Source

pub const fn pwm_periodload_flag5(&self) -> &PwmPeriodloadFlag5

0x264 - PWM5 period load flag

Source

pub const fn pwm_period_val5(&self) -> &PwmPeriodVal5

0x268 - PWM5 pulse count value

Source

pub const fn pwm_periodcnt5(&self) -> &PwmPeriodcnt5

0x26c - PWM5 pulse count current value

Source

pub const fn pwm_en6(&self) -> &PwmEn6

0x280 - PWM6 enable

Source

pub const fn pwm_portity6(&self) -> &PwmPortity6

0x284 - PWM6 polarity

Source

pub const fn pwm_oen_cfg6(&self) -> &PwmOenCfg6

0x288 - PWM6 high-impedance config

Source

pub const fn pwm_offset_l6(&self) -> &PwmOffsetL6

0x28c - PWM6 phase offset low 16 bits

Source

pub const fn pwm_offset_h6(&self) -> &PwmOffsetH6

0x290 - PWM6 phase offset high 16 bits

Source

pub const fn pwm_freq_l6(&self) -> &PwmFreqL6

0x294 - PWM6 frequency low 16 bits

Source

pub const fn pwm_freq_h6(&self) -> &PwmFreqH6

0x298 - PWM6 frequency high 16 bits

Source

pub const fn pwm_duty_l6(&self) -> &PwmDutyL6

0x29c - PWM6 duty cycle low 16 bits

Source

pub const fn pwm_duty_h6(&self) -> &PwmDutyH6

0x2a0 - PWM6 duty cycle high 16 bits

Source

pub const fn pwm_periodload_flag6(&self) -> &PwmPeriodloadFlag6

0x2a4 - PWM6 period load flag

Source

pub const fn pwm_period_val6(&self) -> &PwmPeriodVal6

0x2a8 - PWM6 pulse count value

Source

pub const fn pwm_periodcnt6(&self) -> &PwmPeriodcnt6

0x2ac - PWM6 pulse count current value

Source

pub const fn pwm_en7(&self) -> &PwmEn7

0x2c0 - PWM7 enable

Source

pub const fn pwm_portity7(&self) -> &PwmPortity7

0x2c4 - PWM7 polarity

Source

pub const fn pwm_oen_cfg7(&self) -> &PwmOenCfg7

0x2c8 - PWM7 high-impedance config

Source

pub const fn pwm_offset_l7(&self) -> &PwmOffsetL7

0x2cc - PWM7 phase offset low 16 bits

Source

pub const fn pwm_offset_h7(&self) -> &PwmOffsetH7

0x2d0 - PWM7 phase offset high 16 bits

Source

pub const fn pwm_freq_l7(&self) -> &PwmFreqL7

0x2d4 - PWM7 frequency low 16 bits

Source

pub const fn pwm_freq_h7(&self) -> &PwmFreqH7

0x2d8 - PWM7 frequency high 16 bits

Source

pub const fn pwm_duty_l7(&self) -> &PwmDutyL7

0x2dc - PWM7 duty cycle low 16 bits

Source

pub const fn pwm_duty_h7(&self) -> &PwmDutyH7

0x2e0 - PWM7 duty cycle high 16 bits

Source

pub const fn pwm_periodload_flag7(&self) -> &PwmPeriodloadFlag7

0x2e4 - PWM7 period load flag

Source

pub const fn pwm_period_val7(&self) -> &PwmPeriodVal7

0x2e8 - PWM7 pulse count value

Source

pub const fn pwm_periodcnt7(&self) -> &PwmPeriodcnt7

0x2ec - PWM7 pulse count current value

Source

pub const fn pwm_abnor_state0(&self) -> &PwmAbnorState0

0x500 - PWM abnormal state register 0

Source

pub const fn pwm_abnor_state1(&self) -> &PwmAbnorState1

0x504 - PWM abnormal state register 1

Source

pub const fn pwm_abnor_state_clr0(&self) -> &PwmAbnorStateClr0

0x508 - PWM abnormal state clear 0

Source

pub const fn pwm_abnor_state_clr1(&self) -> &PwmAbnorStateClr1

0x50c - PWM abnormal state clear 1

Source

pub const fn pwm_int_mask(&self) -> &PwmIntMask

0x510 - PWM interrupt mask

Source

pub const fn pwm_dma_en(&self) -> &PwmDmaEn

0x514 - PWM DMA enable

Source

pub const fn pwm_cfg_int_clr0(&self) -> &PwmCfgIntClr0

0x518 - PWM stepping cycle end interrupt clear

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

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 T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.
Source§

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

Source§

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

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.