corstone300_pac/
sysinfo.rs

1// Copyright 2022 Arm Limited and/or its affiliates <open-source-office@arm.com>
2//
3// SPDX-License-Identifier: MIT
4
5#[doc = r"Register block"]
6#[repr(C)]
7pub struct RegisterBlock {
8    #[doc = "0x00 - System Identity Register"]
9    pub soc_identity: SOC_IDENTITY,
10    #[doc = "0x04 - System Hardware Configuration 0 register"]
11    pub sys_config0: SYS_CONFIG0,
12    #[doc = "0x08 - System Hardware Configuration 0 register"]
13    pub sys_config1: SYS_CONFIG1,
14    _reserved3: [u8; 0x0fbc],
15    #[doc = "0xfc8 - Subsystem Implementation Identity Register."]
16    pub iidr: IIDR,
17    _reserved4: [u8; 0x04],
18    #[doc = "0xfd0 - Peripheral ID 4"]
19    pub pidr4: PIDR4,
20    _reserved5: [u8; 0x0c],
21    #[doc = "0xfe0 - Peripheral ID 0"]
22    pub pidr0: PIDR0,
23    #[doc = "0xfe4 - Peripheral ID 1"]
24    pub pidr1: PIDR1,
25    #[doc = "0xfe8 - Peripheral ID 2"]
26    pub pidr2: PIDR2,
27    #[doc = "0xfec - Peripheral ID 3"]
28    pub pidr3: PIDR3,
29    #[doc = "0xff0 - Component ID 0"]
30    pub cidr0: CIDR0,
31    #[doc = "0xff4 - Component ID 1"]
32    pub cidr1: CIDR1,
33    #[doc = "0xff8 - Component ID 2"]
34    pub cidr2: CIDR2,
35    #[doc = "0xffc - Component ID 3"]
36    pub cidr3: CIDR3,
37}
38#[doc = "SOC_IDENTITY (r) register accessor: an alias for `Reg<SOC_IDENTITY_SPEC>`"]
39pub type SOC_IDENTITY = crate::Reg<soc_identity::SOC_IDENTITY_SPEC>;
40#[doc = "System Identity Register"]
41pub mod soc_identity;
42#[doc = "SYS_CONFIG0 (r) register accessor: an alias for `Reg<SYS_CONFIG0_SPEC>`"]
43pub type SYS_CONFIG0 = crate::Reg<sys_config0::SYS_CONFIG0_SPEC>;
44#[doc = "System Hardware Configuration 0 register"]
45pub mod sys_config0;
46#[doc = "SYS_CONFIG1 (r) register accessor: an alias for `Reg<SYS_CONFIG1_SPEC>`"]
47pub type SYS_CONFIG1 = crate::Reg<sys_config1::SYS_CONFIG1_SPEC>;
48#[doc = "System Hardware Configuration 0 register"]
49pub mod sys_config1;
50#[doc = "IIDR (r) register accessor: an alias for `Reg<IIDR_SPEC>`"]
51pub type IIDR = crate::Reg<iidr::IIDR_SPEC>;
52#[doc = "Subsystem Implementation Identity Register."]
53pub mod iidr;
54#[doc = "PIDR4 (r) register accessor: an alias for `Reg<PIDR4_SPEC>`"]
55pub type PIDR4 = crate::Reg<pidr4::PIDR4_SPEC>;
56#[doc = "Peripheral ID 4"]
57pub mod pidr4;
58#[doc = "PIDR0 (r) register accessor: an alias for `Reg<PIDR0_SPEC>`"]
59pub type PIDR0 = crate::Reg<pidr0::PIDR0_SPEC>;
60#[doc = "Peripheral ID 0"]
61pub mod pidr0;
62#[doc = "PIDR1 (r) register accessor: an alias for `Reg<PIDR1_SPEC>`"]
63pub type PIDR1 = crate::Reg<pidr1::PIDR1_SPEC>;
64#[doc = "Peripheral ID 1"]
65pub mod pidr1;
66#[doc = "PIDR2 (r) register accessor: an alias for `Reg<PIDR2_SPEC>`"]
67pub type PIDR2 = crate::Reg<pidr2::PIDR2_SPEC>;
68#[doc = "Peripheral ID 2"]
69pub mod pidr2;
70#[doc = "PIDR3 (r) register accessor: an alias for `Reg<PIDR3_SPEC>`"]
71pub type PIDR3 = crate::Reg<pidr3::PIDR3_SPEC>;
72#[doc = "Peripheral ID 3"]
73pub mod pidr3;
74#[doc = "CIDR0 (r) register accessor: an alias for `Reg<CIDR0_SPEC>`"]
75pub type CIDR0 = crate::Reg<cidr0::CIDR0_SPEC>;
76#[doc = "Component ID 0"]
77pub mod cidr0;
78#[doc = "CIDR1 (r) register accessor: an alias for `Reg<CIDR1_SPEC>`"]
79pub type CIDR1 = crate::Reg<cidr1::CIDR1_SPEC>;
80#[doc = "Component ID 1"]
81pub mod cidr1;
82#[doc = "CIDR2 (r) register accessor: an alias for `Reg<CIDR2_SPEC>`"]
83pub type CIDR2 = crate::Reg<cidr2::CIDR2_SPEC>;
84#[doc = "Component ID 2"]
85pub mod cidr2;
86#[doc = "CIDR3 (r) register accessor: an alias for `Reg<CIDR3_SPEC>`"]
87pub type CIDR3 = crate::Reg<cidr3::CIDR3_SPEC>;
88#[doc = "Component ID 3"]
89pub mod cidr3;