1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#[doc = r"Register block"]
#[repr(C)]
pub struct RegisterBlock {
    #[doc = "0x00 - Output values for pads 1-4"]
    pub o: O,
    _reserved1: [u8; 3usize],
    #[doc = "0x04 - Output enable control for pads 1-4"]
    pub oe: OE,
    _reserved2: [u8; 3usize],
    #[doc = "0x08 - Input value for pads 1-4"]
    pub i: I,
}
#[doc = "Output values for pads 1-4\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [o](o) module"]
pub type O = crate::Reg<u8, _O>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _O;
#[doc = "`read()` method returns [o::R](o::R) reader structure"]
impl crate::Readable for O {}
#[doc = "`write(|w| ..)` method takes [o::W](o::W) writer structure"]
impl crate::Writable for O {}
#[doc = "Output values for pads 1-4"]
pub mod o;
#[doc = "Output enable control for pads 1-4\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [oe](oe) module"]
pub type OE = crate::Reg<u8, _OE>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _OE;
#[doc = "`read()` method returns [oe::R](oe::R) reader structure"]
impl crate::Readable for OE {}
#[doc = "`write(|w| ..)` method takes [oe::W](oe::W) writer structure"]
impl crate::Writable for OE {}
#[doc = "Output enable control for pads 1-4"]
pub mod oe;
#[doc = "Input value for pads 1-4\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [i](i) module"]
pub type I = crate::Reg<u8, _I>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _I;
#[doc = "`read()` method returns [i::R](i::R) reader structure"]
impl crate::Readable for I {}
#[doc = "Input value for pads 1-4"]
pub mod i;