saml10e15a/
trng.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - Control A"]
5    pub ctrla: CTRLA,
6    _reserved1: [u8; 3usize],
7    #[doc = "0x04 - Event Control"]
8    pub evctrl: EVCTRL,
9    _reserved2: [u8; 3usize],
10    #[doc = "0x08 - Interrupt Enable Clear"]
11    pub intenclr: INTENCLR,
12    #[doc = "0x09 - Interrupt Enable Set"]
13    pub intenset: INTENSET,
14    #[doc = "0x0a - Interrupt Flag Status and Clear"]
15    pub intflag: INTFLAG,
16    _reserved5: [u8; 21usize],
17    #[doc = "0x20 - Output Data"]
18    pub data: DATA,
19}
20#[doc = "Control A\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"]
21pub type CTRLA = crate::Reg<u8, _CTRLA>;
22#[allow(missing_docs)]
23#[doc(hidden)]
24pub struct _CTRLA;
25#[doc = "`read()` method returns [ctrla::R](ctrla::R) reader structure"]
26impl crate::Readable for CTRLA {}
27#[doc = "`write(|w| ..)` method takes [ctrla::W](ctrla::W) writer structure"]
28impl crate::Writable for CTRLA {}
29#[doc = "Control A"]
30pub mod ctrla;
31#[doc = "Event Control\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 [evctrl](evctrl) module"]
32pub type EVCTRL = crate::Reg<u8, _EVCTRL>;
33#[allow(missing_docs)]
34#[doc(hidden)]
35pub struct _EVCTRL;
36#[doc = "`read()` method returns [evctrl::R](evctrl::R) reader structure"]
37impl crate::Readable for EVCTRL {}
38#[doc = "`write(|w| ..)` method takes [evctrl::W](evctrl::W) writer structure"]
39impl crate::Writable for EVCTRL {}
40#[doc = "Event Control"]
41pub mod evctrl;
42#[doc = "Interrupt Enable Clear\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"]
43pub type INTENCLR = crate::Reg<u8, _INTENCLR>;
44#[allow(missing_docs)]
45#[doc(hidden)]
46pub struct _INTENCLR;
47#[doc = "`read()` method returns [intenclr::R](intenclr::R) reader structure"]
48impl crate::Readable for INTENCLR {}
49#[doc = "`write(|w| ..)` method takes [intenclr::W](intenclr::W) writer structure"]
50impl crate::Writable for INTENCLR {}
51#[doc = "Interrupt Enable Clear"]
52pub mod intenclr;
53#[doc = "Interrupt Enable Set\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"]
54pub type INTENSET = crate::Reg<u8, _INTENSET>;
55#[allow(missing_docs)]
56#[doc(hidden)]
57pub struct _INTENSET;
58#[doc = "`read()` method returns [intenset::R](intenset::R) reader structure"]
59impl crate::Readable for INTENSET {}
60#[doc = "`write(|w| ..)` method takes [intenset::W](intenset::W) writer structure"]
61impl crate::Writable for INTENSET {}
62#[doc = "Interrupt Enable Set"]
63pub mod intenset;
64#[doc = "Interrupt Flag Status and Clear\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"]
65pub type INTFLAG = crate::Reg<u8, _INTFLAG>;
66#[allow(missing_docs)]
67#[doc(hidden)]
68pub struct _INTFLAG;
69#[doc = "`read()` method returns [intflag::R](intflag::R) reader structure"]
70impl crate::Readable for INTFLAG {}
71#[doc = "`write(|w| ..)` method takes [intflag::W](intflag::W) writer structure"]
72impl crate::Writable for INTFLAG {}
73#[doc = "Interrupt Flag Status and Clear"]
74pub mod intflag;
75#[doc = "Output Data\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 [data](data) module"]
76pub type DATA = crate::Reg<u32, _DATA>;
77#[allow(missing_docs)]
78#[doc(hidden)]
79pub struct _DATA;
80#[doc = "`read()` method returns [data::R](data::R) reader structure"]
81impl crate::Readable for DATA {}
82#[doc = "Output Data"]
83pub mod data;