1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - AGT Counter Register"]
5 pub agt: AGT,
6 #[doc = "0x02 - AGT Compare Match A Register"]
7 pub agtcma: AGTCMA,
8 #[doc = "0x04 - AGT Compare Match B Register"]
9 pub agtcmb: AGTCMB,
10 _reserved3: [u8; 0x02],
11 #[doc = "0x08 - AGT Control Register"]
12 pub agtcr: AGTCR,
13 #[doc = "0x09 - AGT Mode Register 1"]
14 pub agtmr1: AGTMR1,
15 #[doc = "0x0a - AGT Mode Register 2"]
16 pub agtmr2: AGTMR2,
17 _reserved6: [u8; 0x01],
18 #[doc = "0x0c - AGT I/O Control Register"]
19 pub agtioc: AGTIOC,
20 #[doc = "0x0d - AGT Event Pin Select Register"]
21 pub agtisr: AGTISR,
22 #[doc = "0x0e - AGT Compare Match Function Select Register"]
23 pub agtcmsr: AGTCMSR,
24 #[doc = "0x0f - AGT Pin Select Register"]
25 pub agtiosel: AGTIOSEL,
26}
27#[doc = "AGT (rw) register accessor: an alias for `Reg<AGT_SPEC>`"]
28pub type AGT = crate::Reg<agt::AGT_SPEC>;
29#[doc = "AGT Counter Register"]
30pub mod agt;
31#[doc = "AGTCMA (rw) register accessor: an alias for `Reg<AGTCMA_SPEC>`"]
32pub type AGTCMA = crate::Reg<agtcma::AGTCMA_SPEC>;
33#[doc = "AGT Compare Match A Register"]
34pub mod agtcma;
35#[doc = "AGTCMB (rw) register accessor: an alias for `Reg<AGTCMB_SPEC>`"]
36pub type AGTCMB = crate::Reg<agtcmb::AGTCMB_SPEC>;
37#[doc = "AGT Compare Match B Register"]
38pub mod agtcmb;
39#[doc = "AGTCR (rw) register accessor: an alias for `Reg<AGTCR_SPEC>`"]
40pub type AGTCR = crate::Reg<agtcr::AGTCR_SPEC>;
41#[doc = "AGT Control Register"]
42pub mod agtcr;
43#[doc = "AGTMR1 (rw) register accessor: an alias for `Reg<AGTMR1_SPEC>`"]
44pub type AGTMR1 = crate::Reg<agtmr1::AGTMR1_SPEC>;
45#[doc = "AGT Mode Register 1"]
46pub mod agtmr1;
47#[doc = "AGTMR2 (rw) register accessor: an alias for `Reg<AGTMR2_SPEC>`"]
48pub type AGTMR2 = crate::Reg<agtmr2::AGTMR2_SPEC>;
49#[doc = "AGT Mode Register 2"]
50pub mod agtmr2;
51#[doc = "AGTIOC (rw) register accessor: an alias for `Reg<AGTIOC_SPEC>`"]
52pub type AGTIOC = crate::Reg<agtioc::AGTIOC_SPEC>;
53#[doc = "AGT I/O Control Register"]
54pub mod agtioc;
55#[doc = "AGTISR (rw) register accessor: an alias for `Reg<AGTISR_SPEC>`"]
56pub type AGTISR = crate::Reg<agtisr::AGTISR_SPEC>;
57#[doc = "AGT Event Pin Select Register"]
58pub mod agtisr;
59#[doc = "AGTCMSR (rw) register accessor: an alias for `Reg<AGTCMSR_SPEC>`"]
60pub type AGTCMSR = crate::Reg<agtcmsr::AGTCMSR_SPEC>;
61#[doc = "AGT Compare Match Function Select Register"]
62pub mod agtcmsr;
63#[doc = "AGTIOSEL (rw) register accessor: an alias for `Reg<AGTIOSEL_SPEC>`"]
64pub type AGTIOSEL = crate::Reg<agtiosel::AGTIOSEL_SPEC>;
65#[doc = "AGT Pin Select Register"]
66pub mod agtiosel;