swm341_pac/
porta.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - FUNC0 register"]
5    pub func0: FUNC0,
6    #[doc = "0x04 - FUNC1 register"]
7    pub func1: FUNC1,
8    _reserved2: [u8; 0xf8],
9    #[doc = "0x100 - PULLU register"]
10    pub pullu: PULLU,
11    _reserved3: [u8; 0xfc],
12    #[doc = "0x200 - PULLD register"]
13    pub pulld: PULLD,
14    _reserved4: [u8; 0xfc],
15    #[doc = "0x300 - INEN register"]
16    pub inen: INEN,
17    _reserved5: [u8; 0xfc],
18    #[doc = "0x400 - OPEND register"]
19    pub opend: OPEND,
20    _reserved6: [u8; 0xfc],
21    #[doc = "0x500 - DRVST register"]
22    pub drvst: DRVST,
23}
24#[doc = "FUNC0 (rw) register accessor: an alias for `Reg<FUNC0_SPEC>`"]
25pub type FUNC0 = crate::Reg<func0::FUNC0_SPEC>;
26#[doc = "FUNC0 register"]
27pub mod func0;
28#[doc = "FUNC1 (rw) register accessor: an alias for `Reg<FUNC1_SPEC>`"]
29pub type FUNC1 = crate::Reg<func1::FUNC1_SPEC>;
30#[doc = "FUNC1 register"]
31pub mod func1;
32#[doc = "PULLU (rw) register accessor: an alias for `Reg<PULLU_SPEC>`"]
33pub type PULLU = crate::Reg<pullu::PULLU_SPEC>;
34#[doc = "PULLU register"]
35pub mod pullu;
36#[doc = "PULLD (rw) register accessor: an alias for `Reg<PULLD_SPEC>`"]
37pub type PULLD = crate::Reg<pulld::PULLD_SPEC>;
38#[doc = "PULLD register"]
39pub mod pulld;
40#[doc = "INEN (rw) register accessor: an alias for `Reg<INEN_SPEC>`"]
41pub type INEN = crate::Reg<inen::INEN_SPEC>;
42#[doc = "INEN register"]
43pub mod inen;
44#[doc = "OPEND (rw) register accessor: an alias for `Reg<OPEND_SPEC>`"]
45pub type OPEND = crate::Reg<opend::OPEND_SPEC>;
46#[doc = "OPEND register"]
47pub mod opend;
48#[doc = "DRVST (rw) register accessor: an alias for `Reg<DRVST_SPEC>`"]
49pub type DRVST = crate::Reg<drvst::DRVST_SPEC>;
50#[doc = "DRVST register"]
51pub mod drvst;