Struct xmc4100::dac::RegisterBlock

source ·
#[repr(C)]
pub struct RegisterBlock { pub id: ID, pub dac0cfg0: DAC0CFG0, pub dac0cfg1: DAC0CFG1, pub dac1cfg0: DAC1CFG0, pub dac1cfg1: DAC1CFG1, pub dac0data: DAC0DATA, pub dac1data: DAC1DATA, pub dac01data: DAC01DATA, pub dac0patl: DAC0PATL, pub dac0path: DAC0PATH, pub dac1patl: DAC1PATL, pub dac1path: DAC1PATH, }
Expand description

Register block

Fields

id: ID

0x00 - Module Identification Register

dac0cfg0: DAC0CFG0

0x04 - DAC0 Configuration Register 0

dac0cfg1: DAC0CFG1

0x08 - DAC0 Configuration Register 1

dac1cfg0: DAC1CFG0

0x0c - DAC1 Configuration Register 0

dac1cfg1: DAC1CFG1

0x10 - DAC1 Configuration Register 1

dac0data: DAC0DATA

0x14 - DAC0 Data Register

dac1data: DAC1DATA

0x18 - DAC1 Data Register

dac01data: DAC01DATA

0x1c - DAC01 Data Register

dac0patl: DAC0PATL

0x20 - DAC0 Lower Pattern Register

dac0path: DAC0PATH

0x24 - DAC0 Higher Pattern Register

dac1patl: DAC1PATL

0x28 - DAC1 Lower Pattern Register

dac1path: DAC1PATH

0x2c - DAC1 Higher Pattern Register

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.