atsam4e16c_pac/
acc.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - Control Register"]
5    pub cr: CR,
6    #[doc = "0x04 - Mode Register"]
7    pub mr: MR,
8    _reserved2: [u8; 0x1c],
9    #[doc = "0x24 - Interrupt Enable Register"]
10    pub ier: IER,
11    #[doc = "0x28 - Interrupt Disable Register"]
12    pub idr: IDR,
13    #[doc = "0x2c - Interrupt Mask Register"]
14    pub imr: IMR,
15    #[doc = "0x30 - Interrupt Status Register"]
16    pub isr: ISR,
17    _reserved6: [u8; 0x60],
18    #[doc = "0x94 - Analog Control Register"]
19    pub acr: ACR,
20    _reserved7: [u8; 0x4c],
21    #[doc = "0xe4 - Write Protection Mode Register"]
22    pub wpmr: WPMR,
23    #[doc = "0xe8 - Write Protection Status Register"]
24    pub wpsr: WPSR,
25}
26#[doc = "CR (w) register accessor: an alias for `Reg<CR_SPEC>`"]
27pub type CR = crate::Reg<cr::CR_SPEC>;
28#[doc = "Control Register"]
29pub mod cr;
30#[doc = "MR (rw) register accessor: an alias for `Reg<MR_SPEC>`"]
31pub type MR = crate::Reg<mr::MR_SPEC>;
32#[doc = "Mode Register"]
33pub mod mr;
34#[doc = "IER (w) register accessor: an alias for `Reg<IER_SPEC>`"]
35pub type IER = crate::Reg<ier::IER_SPEC>;
36#[doc = "Interrupt Enable Register"]
37pub mod ier;
38#[doc = "IDR (w) register accessor: an alias for `Reg<IDR_SPEC>`"]
39pub type IDR = crate::Reg<idr::IDR_SPEC>;
40#[doc = "Interrupt Disable Register"]
41pub mod idr;
42#[doc = "IMR (r) register accessor: an alias for `Reg<IMR_SPEC>`"]
43pub type IMR = crate::Reg<imr::IMR_SPEC>;
44#[doc = "Interrupt Mask Register"]
45pub mod imr;
46#[doc = "ISR (r) register accessor: an alias for `Reg<ISR_SPEC>`"]
47pub type ISR = crate::Reg<isr::ISR_SPEC>;
48#[doc = "Interrupt Status Register"]
49pub mod isr;
50#[doc = "ACR (rw) register accessor: an alias for `Reg<ACR_SPEC>`"]
51pub type ACR = crate::Reg<acr::ACR_SPEC>;
52#[doc = "Analog Control Register"]
53pub mod acr;
54#[doc = "WPMR (rw) register accessor: an alias for `Reg<WPMR_SPEC>`"]
55pub type WPMR = crate::Reg<wpmr::WPMR_SPEC>;
56#[doc = "Write Protection Mode Register"]
57pub mod wpmr;
58#[doc = "WPSR (r) register accessor: an alias for `Reg<WPSR_SPEC>`"]
59pub type WPSR = crate::Reg<wpsr::WPSR_SPEC>;
60#[doc = "Write Protection Status Register"]
61pub mod wpsr;