Skip to main content

RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock {
Show 28 fields pub gtwp: GTWP, pub gtstr: GTSTR, pub gtstp: GTSTP, pub gtclr: GTCLR, pub gtssr: GTSSR, pub gtpsr: GTPSR, pub gtcsr: GTCSR, pub gtupsr: GTUPSR, pub gtdnsr: GTDNSR, pub gticasr: GTICASR, pub gticbsr: GTICBSR, pub gtcr: GTCR, pub gtuddtyc: GTUDDTYC, pub gtior: GTIOR, pub gtintad: GTINTAD, pub gtst: GTST, pub gtber: GTBER, pub gtcnt: GTCNT, pub gtccra: GTCCRA, pub gtccrb: GTCCRB, pub gtccrc: GTCCRC, pub gtccre: GTCCRE, pub gtccrd: GTCCRD, pub gtccrf: GTCCRF, pub gtpr: GTPR, pub gtpbr: GTPBR, pub gtdtcr: GTDTCR, pub gtdvu: GTDVU, /* private fields */
}
Expand description

Register block

Fields§

§gtwp: GTWP

0x00 - General PWM Timer Write-Protection Register

§gtstr: GTSTR

0x04 - General PWM Timer Software Start Register

§gtstp: GTSTP

0x08 - General PWM Timer Software Stop Register

§gtclr: GTCLR

0x0c - General PWM Timer Software Clear Register

§gtssr: GTSSR

0x10 - General PWM Timer Start Source Select Register

§gtpsr: GTPSR

0x14 - General PWM Timer Stop Source Select Register

§gtcsr: GTCSR

0x18 - General PWM Timer Clear Source Select Register

§gtupsr: GTUPSR

0x1c - General PWM Timer Up Count Source Select Register

§gtdnsr: GTDNSR

0x20 - General PWM Timer Down Count Source Select Register

§gticasr: GTICASR

0x24 - General PWM Timer Input Capture Source Select Register A

§gticbsr: GTICBSR

0x28 - General PWM Timer Input Capture Source Select Register B

§gtcr: GTCR

0x2c - General PWM Timer Control Register

§gtuddtyc: GTUDDTYC

0x30 - General PWM Timer Count Direction and Duty Setting Register

§gtior: GTIOR

0x34 - General PWM Timer I/O Control Register

§gtintad: GTINTAD

0x38 - General PWM Timer Interrupt Output Setting Register

§gtst: GTST

0x3c - General PWM Timer Status Register

§gtber: GTBER

0x40 - General PWM Timer Buffer Enable Register

§gtcnt: GTCNT

0x48 - General PWM Timer Counter

§gtccra: GTCCRA

0x4c - General PWM Timer Compare Capture Register A

§gtccrb: GTCCRB

0x50 - General PWM Timer Compare Capture Register B

§gtccrc: GTCCRC

0x54 - General PWM Timer Compare Capture Register C

§gtccre: GTCCRE

0x58 - General PWM Timer Compare Capture Register E

§gtccrd: GTCCRD

0x5c - General PWM Timer Compare Capture Register D

§gtccrf: GTCCRF

0x60 - General PWM Timer Compare Capture Register F

§gtpr: GTPR

0x64 - General PWM Timer Cycle Setting Register

§gtpbr: GTPBR

0x68 - General PWM Timer Cycle Setting Buffer Register

§gtdtcr: GTDTCR

0x88 - General PWM Timer Dead Time Control Register

§gtdvu: GTDVU

0x8c - General PWM Timer Dead Time Value Register U

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.