saml10d14a/
freqm.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - Control A Register"]
5    pub ctrla: CTRLA,
6    #[doc = "0x01 - Control B Register"]
7    pub ctrlb: CTRLB,
8    #[doc = "0x02 - Config A register"]
9    pub cfga: CFGA,
10    _reserved3: [u8; 4usize],
11    #[doc = "0x08 - Interrupt Enable Clear Register"]
12    pub intenclr: INTENCLR,
13    #[doc = "0x09 - Interrupt Enable Set Register"]
14    pub intenset: INTENSET,
15    #[doc = "0x0a - Interrupt Flag Register"]
16    pub intflag: INTFLAG,
17    #[doc = "0x0b - Status Register"]
18    pub status: STATUS,
19    #[doc = "0x0c - Synchronization Busy Register"]
20    pub syncbusy: SYNCBUSY,
21    #[doc = "0x10 - Count Value Register"]
22    pub value: VALUE,
23}
24#[doc = "Control A 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 avaliable fields see [ctrla](ctrla) module"]
25pub type CTRLA = crate::Reg<u8, _CTRLA>;
26#[allow(missing_docs)]
27#[doc(hidden)]
28pub struct _CTRLA;
29#[doc = "`read()` method returns [ctrla::R](ctrla::R) reader structure"]
30impl crate::Readable for CTRLA {}
31#[doc = "`write(|w| ..)` method takes [ctrla::W](ctrla::W) writer structure"]
32impl crate::Writable for CTRLA {}
33#[doc = "Control A Register"]
34pub mod ctrla;
35#[doc = "Control B Register\n\nThis register you can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [ctrlb](ctrlb) module"]
36pub type CTRLB = crate::Reg<u8, _CTRLB>;
37#[allow(missing_docs)]
38#[doc(hidden)]
39pub struct _CTRLB;
40#[doc = "`write(|w| ..)` method takes [ctrlb::W](ctrlb::W) writer structure"]
41impl crate::Writable for CTRLB {}
42#[doc = "Control B Register"]
43pub mod ctrlb;
44#[doc = "Config A 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 avaliable fields see [cfga](cfga) module"]
45pub type CFGA = crate::Reg<u16, _CFGA>;
46#[allow(missing_docs)]
47#[doc(hidden)]
48pub struct _CFGA;
49#[doc = "`read()` method returns [cfga::R](cfga::R) reader structure"]
50impl crate::Readable for CFGA {}
51#[doc = "`write(|w| ..)` method takes [cfga::W](cfga::W) writer structure"]
52impl crate::Writable for CFGA {}
53#[doc = "Config A register"]
54pub mod cfga;
55#[doc = "Interrupt Enable Clear 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 avaliable fields see [intenclr](intenclr) module"]
56pub type INTENCLR = crate::Reg<u8, _INTENCLR>;
57#[allow(missing_docs)]
58#[doc(hidden)]
59pub struct _INTENCLR;
60#[doc = "`read()` method returns [intenclr::R](intenclr::R) reader structure"]
61impl crate::Readable for INTENCLR {}
62#[doc = "`write(|w| ..)` method takes [intenclr::W](intenclr::W) writer structure"]
63impl crate::Writable for INTENCLR {}
64#[doc = "Interrupt Enable Clear Register"]
65pub mod intenclr;
66#[doc = "Interrupt Enable Set 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 avaliable fields see [intenset](intenset) module"]
67pub type INTENSET = crate::Reg<u8, _INTENSET>;
68#[allow(missing_docs)]
69#[doc(hidden)]
70pub struct _INTENSET;
71#[doc = "`read()` method returns [intenset::R](intenset::R) reader structure"]
72impl crate::Readable for INTENSET {}
73#[doc = "`write(|w| ..)` method takes [intenset::W](intenset::W) writer structure"]
74impl crate::Writable for INTENSET {}
75#[doc = "Interrupt Enable Set Register"]
76pub mod intenset;
77#[doc = "Interrupt Flag 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 avaliable fields see [intflag](intflag) module"]
78pub type INTFLAG = crate::Reg<u8, _INTFLAG>;
79#[allow(missing_docs)]
80#[doc(hidden)]
81pub struct _INTFLAG;
82#[doc = "`read()` method returns [intflag::R](intflag::R) reader structure"]
83impl crate::Readable for INTFLAG {}
84#[doc = "`write(|w| ..)` method takes [intflag::W](intflag::W) writer structure"]
85impl crate::Writable for INTFLAG {}
86#[doc = "Interrupt Flag Register"]
87pub mod intflag;
88#[doc = "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 avaliable fields see [status](status) module"]
89pub type STATUS = crate::Reg<u8, _STATUS>;
90#[allow(missing_docs)]
91#[doc(hidden)]
92pub struct _STATUS;
93#[doc = "`read()` method returns [status::R](status::R) reader structure"]
94impl crate::Readable for STATUS {}
95#[doc = "`write(|w| ..)` method takes [status::W](status::W) writer structure"]
96impl crate::Writable for STATUS {}
97#[doc = "Status Register"]
98pub mod status;
99#[doc = "Synchronization Busy 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 avaliable fields see [syncbusy](syncbusy) module"]
100pub type SYNCBUSY = crate::Reg<u32, _SYNCBUSY>;
101#[allow(missing_docs)]
102#[doc(hidden)]
103pub struct _SYNCBUSY;
104#[doc = "`read()` method returns [syncbusy::R](syncbusy::R) reader structure"]
105impl crate::Readable for SYNCBUSY {}
106#[doc = "Synchronization Busy Register"]
107pub mod syncbusy;
108#[doc = "Count 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 avaliable fields see [value](value) module"]
109pub type VALUE = crate::Reg<u32, _VALUE>;
110#[allow(missing_docs)]
111#[doc(hidden)]
112pub struct _VALUE;
113#[doc = "`read()` method returns [value::R](value::R) reader structure"]
114impl crate::Readable for VALUE {}
115#[doc = "Count Value Register"]
116pub mod value;