#[repr(C)]
pub struct RegisterBlock {
Show 14 fields pub gc: GC, pub pl: PL, pub gsel: GSEL, pub tsel: TSEL, pub sc: SC, pub dcr: DCR, pub dcf: DCF, pub cr1: CR1, pub cr2: CR2, pub ssc: SSC, pub sdcr: SDCR, pub sdcf: SDCF, pub scr1: SCR1, pub scr2: SCR2,
}
Expand description

Register block

Fields§

§gc: GC

0x00 - HRC mode configuration

§pl: PL

0x04 - HRC output passive level

§gsel: GSEL

0x08 - HRC global control selection

§tsel: TSEL

0x0c - HRC timer selection

§sc: SC

0x10 - HRC current source for shadow

§dcr: DCR

0x14 - HRC dead time rising value

§dcf: DCF

0x18 - HRC dead time falling value

§cr1: CR1

0x1c - HRC rising edge value

§cr2: CR2

0x20 - HRC falling edge value

§ssc: SSC

0x24 - HRC next source for shadow

§sdcr: SDCR

0x28 - HRC shadow dead time rising

§sdcf: SDCF

0x2c - HRC shadow dead time falling

§scr1: SCR1

0x30 - HRC shadow rising edge value

§scr2: SCR2

0x34 - HRC shadow falling edge value

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

Returns the argument unchanged.

Calls U::from(self).

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

Should always be Self
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.