stm32g0_staging/stm32g0b0/
vrefbuf.rs

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