stm32f7/stm32f779/
adc_common.rs

1#[repr(C)]
2#[derive(Debug)]
3///Register block
4pub struct RegisterBlock {
5    csr: CSR,
6    ccr: CCR,
7    cdr: CDR,
8}
9impl RegisterBlock {
10    ///0x00 - ADC Common status register
11    #[inline(always)]
12    pub const fn csr(&self) -> &CSR {
13        &self.csr
14    }
15    ///0x04 - ADC common control register
16    #[inline(always)]
17    pub const fn ccr(&self) -> &CCR {
18        &self.ccr
19    }
20    ///0x08 - ADC common regular data register for dual and triple modes
21    #[inline(always)]
22    pub const fn cdr(&self) -> &CDR {
23        &self.cdr
24    }
25}
26/**CSR (r) register accessor: ADC Common status register
27
28You can [`read`](crate::Reg::read) this register and get [`csr::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
29
30See register [structure](https://stm32-rs.github.io/stm32-rs/STM32F779.html#ADC_Common:CSR)
31
32For information about available fields see [`mod@csr`] module*/
33pub type CSR = crate::Reg<csr::CSRrs>;
34///ADC Common status register
35pub mod csr;
36/**CCR (rw) register accessor: ADC common control register
37
38You 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).
39
40See register [structure](https://stm32-rs.github.io/stm32-rs/STM32F779.html#ADC_Common:CCR)
41
42For information about available fields see [`mod@ccr`] module*/
43pub type CCR = crate::Reg<ccr::CCRrs>;
44///ADC common control register
45pub mod ccr;
46/**CDR (r) register accessor: ADC common regular data register for dual and triple modes
47
48You can [`read`](crate::Reg::read) this register and get [`cdr::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
49
50See register [structure](https://stm32-rs.github.io/stm32-rs/STM32F779.html#ADC_Common:CDR)
51
52For information about available fields see [`mod@cdr`] module*/
53pub type CDR = crate::Reg<cdr::CDRrs>;
54///ADC common regular data register for dual and triple modes
55pub mod cdr;