stm32f4_staging/stm32f413/
adc_common.rs

1#[repr(C)]
2#[derive(Debug)]
3///Register block
4pub struct RegisterBlock {
5    csr: CSR,
6    ccr: CCR,
7}
8impl RegisterBlock {
9    ///0x00 - ADC Common status register
10    #[inline(always)]
11    pub const fn csr(&self) -> &CSR {
12        &self.csr
13    }
14    ///0x04 - ADC common control register
15    #[inline(always)]
16    pub const fn ccr(&self) -> &CCR {
17        &self.ccr
18    }
19}
20/**CSR (r) register accessor: ADC Common status register
21
22You can [`read`](crate::Reg::read) this register and get [`csr::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
23
24See register [structure](https://stm32-rs.github.io/stm32-rs/STM32F413.html#ADC_Common:CSR)
25
26For information about available fields see [`mod@csr`] module*/
27pub type CSR = crate::Reg<csr::CSRrs>;
28///ADC Common status register
29pub mod csr;
30/**CCR (rw) register accessor: ADC common control register
31
32You can [`read`](crate::Reg::read) this register and get [`ccr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ccr::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
33
34See register [structure](https://stm32-rs.github.io/stm32-rs/STM32F413.html#ADC_Common:CCR)
35
36For information about available fields see [`mod@ccr`] module*/
37pub type CCR = crate::Reg<ccr::CCRrs>;
38///ADC common control register
39pub mod ccr;