Struct stm32_hal2::pac::adc12_common::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {
pub csr: Reg<CSR_SPEC>,
pub ccr: Reg<CCR_SPEC>,
pub cdr: Reg<CDR_SPEC>,
pub cdr2: Reg<CDR2_SPEC>,
/* private fields */
}
Expand description
Register block
Fields§
§csr: Reg<CSR_SPEC>
0x00 - ADC Common status register
ccr: Reg<CCR_SPEC>
0x08 - ADC common control register
cdr: Reg<CDR_SPEC>
0x0c - ADC common regular data register for dual and triple modes
cdr2: Reg<CDR2_SPEC>
0x10 - ADC x common regular data register for 32-bit dual mode
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more