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
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more