1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#[doc = r"Register block"]
#[repr(C)]
pub struct RegisterBlock {
    #[doc = "0x00 - Control and Status Register"]
    pub csr: CSR,
    #[doc = "0x04 - Reload Value Register"]
    pub rvr: RVR,
    #[doc = "0x08 - Current Value Register"]
    pub cvr: CVR,
    #[doc = "0x0c - Calibration Value Register"]
    pub calib: CALIB,
}
#[doc = "Control and Status Register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [csr](csr) module"]
pub type CSR = crate::Reg<u32, _CSR>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _CSR;
#[doc = "`read()` method returns [csr::R](csr::R) reader structure"]
impl crate::Readable for CSR {}
#[doc = "`write(|w| ..)` method takes [csr::W](csr::W) writer structure"]
impl crate::Writable for CSR {}
#[doc = "Control and Status Register"]
pub mod csr;
#[doc = "Reload Value Register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [rvr](rvr) module"]
pub type RVR = crate::Reg<u32, _RVR>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _RVR;
#[doc = "`read()` method returns [rvr::R](rvr::R) reader structure"]
impl crate::Readable for RVR {}
#[doc = "`write(|w| ..)` method takes [rvr::W](rvr::W) writer structure"]
impl crate::Writable for RVR {}
#[doc = "Reload Value Register"]
pub mod rvr;
#[doc = "Current Value Register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [cvr](cvr) module"]
pub type CVR = crate::Reg<u32, _CVR>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _CVR;
#[doc = "`read()` method returns [cvr::R](cvr::R) reader structure"]
impl crate::Readable for CVR {}
#[doc = "`write(|w| ..)` method takes [cvr::W](cvr::W) writer structure"]
impl crate::Writable for CVR {}
#[doc = "Current Value Register"]
pub mod cvr;
#[doc = "Calibration Value Register\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [calib](calib) module"]
pub type CALIB = crate::Reg<u32, _CALIB>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _CALIB;
#[doc = "`read()` method returns [calib::R](calib::R) reader structure"]
impl crate::Readable for CALIB {}
#[doc = "Calibration Value Register"]
pub mod calib;