#[repr(C)]pub struct RegisterBlock { /* private fields */ }
Expand description
Register block
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub const fn dhr12r(&self, n: usize) -> &DHR12R
pub const fn dhr12r(&self, n: usize) -> &DHR12R
0x08..0x10 - channel%s 12-bit right-aligned data holding register
Sourcepub fn dhr12r_iter(&self) -> impl Iterator<Item = &DHR12R>
pub fn dhr12r_iter(&self) -> impl Iterator<Item = &DHR12R>
Iterator for array of: 0x08..0x10 - channel%s 12-bit right-aligned data holding register
Sourcepub const fn dhr12r1(&self) -> &DHR12R
pub const fn dhr12r1(&self) -> &DHR12R
0x08 - channel1 12-bit right-aligned data holding register
Sourcepub const fn dhr12r2(&self) -> &DHR12R
pub const fn dhr12r2(&self) -> &DHR12R
0x14 - channel2 12-bit right-aligned data holding register
Sourcepub const fn dhr12l(&self, n: usize) -> &DHR12L
pub const fn dhr12l(&self, n: usize) -> &DHR12L
0x0c..0x14 - channel%s 12-bit left aligned data holding register
Sourcepub fn dhr12l_iter(&self) -> impl Iterator<Item = &DHR12L>
pub fn dhr12l_iter(&self) -> impl Iterator<Item = &DHR12L>
Iterator for array of: 0x0c..0x14 - channel%s 12-bit left aligned data holding register
Sourcepub const fn dhr12l1(&self) -> &DHR12L
pub const fn dhr12l1(&self) -> &DHR12L
0x0c - channel1 12-bit left aligned data holding register
Sourcepub const fn dhr12l2(&self) -> &DHR12L
pub const fn dhr12l2(&self) -> &DHR12L
0x18 - channel2 12-bit left aligned data holding register
Sourcepub const fn dhr8r(&self, n: usize) -> &DHR8R
pub const fn dhr8r(&self, n: usize) -> &DHR8R
0x10..0x18 - channel%s 8-bit right aligned data holding register
Sourcepub fn dhr8r_iter(&self) -> impl Iterator<Item = &DHR8R>
pub fn dhr8r_iter(&self) -> impl Iterator<Item = &DHR8R>
Iterator for array of: 0x10..0x18 - channel%s 8-bit right aligned data holding register
Sourcepub const fn dhr12rd(&self) -> &DHR12RD
pub const fn dhr12rd(&self) -> &DHR12RD
0x20 - Dual DAC 12-bit right-aligned data holding register
Sourcepub const fn dhr12ld(&self) -> &DHR12LD
pub const fn dhr12ld(&self) -> &DHR12LD
0x24 - DUAL DAC 12-bit left aligned data holding register
Sourcepub const fn dhr8rd(&self) -> &DHR8RD
pub const fn dhr8rd(&self) -> &DHR8RD
0x28 - DUAL DAC 8-bit right aligned data holding register
Sourcepub const fn dor(&self, n: usize) -> &DOR
pub const fn dor(&self, n: usize) -> &DOR
0x2c..0x34 - channel%s data output register
Sourcepub fn dor_iter(&self) -> impl Iterator<Item = &DOR>
pub fn dor_iter(&self) -> impl Iterator<Item = &DOR>
Iterator for array of: 0x2c..0x34 - channel%s data output register
Sourcepub const fn shsr(&self, n: usize) -> &SHSR
pub const fn shsr(&self, n: usize) -> &SHSR
0x40..0x48 - DAC channel%s sample and hold sample time register