avr_device/devices/atmega4809/
ac0.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - Control A"]
5    pub ctrla: CTRLA,
6    _reserved1: [u8; 0x01],
7    #[doc = "0x02 - Mux Control A"]
8    pub muxctrla: MUXCTRLA,
9    _reserved2: [u8; 0x01],
10    #[doc = "0x04 - Referance scale control"]
11    pub dacref: DACREF,
12    _reserved3: [u8; 0x01],
13    #[doc = "0x06 - Interrupt Control"]
14    pub intctrl: INTCTRL,
15    #[doc = "0x07 - Status"]
16    pub status: STATUS,
17}
18#[doc = "CTRLA (rw) register accessor: an alias for `Reg<CTRLA_SPEC>`"]
19pub type CTRLA = crate::Reg<ctrla::CTRLA_SPEC>;
20#[doc = "Control A"]
21pub mod ctrla;
22#[doc = "DACREF (rw) register accessor: an alias for `Reg<DACREF_SPEC>`"]
23pub type DACREF = crate::Reg<dacref::DACREF_SPEC>;
24#[doc = "Referance scale control"]
25pub mod dacref;
26#[doc = "INTCTRL (rw) register accessor: an alias for `Reg<INTCTRL_SPEC>`"]
27pub type INTCTRL = crate::Reg<intctrl::INTCTRL_SPEC>;
28#[doc = "Interrupt Control"]
29pub mod intctrl;
30#[doc = "MUXCTRLA (rw) register accessor: an alias for `Reg<MUXCTRLA_SPEC>`"]
31pub type MUXCTRLA = crate::Reg<muxctrla::MUXCTRLA_SPEC>;
32#[doc = "Mux Control A"]
33pub mod muxctrla;
34#[doc = "STATUS (rw) register accessor: an alias for `Reg<STATUS_SPEC>`"]
35pub type STATUS = crate::Reg<status::STATUS_SPEC>;
36#[doc = "Status"]
37pub mod status;