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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#[doc = r" Register block"]
#[repr(C)]
pub struct RegisterBlock {
    _reserved0: [u8; 1284usize],
    #[doc = "0x504 - Write GPIO port."]
    pub out: OUT,
    #[doc = "0x508 - Set individual bits in GPIO port."]
    pub outset: OUTSET,
    #[doc = "0x50c - Clear individual bits in GPIO port."]
    pub outclr: OUTCLR,
    #[doc = "0x510 - Read GPIO port."]
    pub in_: IN,
    #[doc = "0x514 - Direction of GPIO pins."]
    pub dir: DIR,
    #[doc = "0x518 - DIR set register."]
    pub dirset: DIRSET,
    #[doc = "0x51c - DIR clear register."]
    pub dirclr: DIRCLR,
    _reserved1: [u8; 480usize],
    #[doc = "0x700 - Configuration of GPIO pins."]
    pub pin_cnf: [PIN_CNF; 32],
}
#[doc = "Write GPIO port."]
pub struct OUT {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Write GPIO port."]
pub mod out;
#[doc = "Set individual bits in GPIO port."]
pub struct OUTSET {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Set individual bits in GPIO port."]
pub mod outset;
#[doc = "Clear individual bits in GPIO port."]
pub struct OUTCLR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Clear individual bits in GPIO port."]
pub mod outclr;
#[doc = "Read GPIO port."]
pub struct IN {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Read GPIO port."]
pub mod in_;
#[doc = "Direction of GPIO pins."]
pub struct DIR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Direction of GPIO pins."]
pub mod dir;
#[doc = "DIR set register."]
pub struct DIRSET {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "DIR set register."]
pub mod dirset;
#[doc = "DIR clear register."]
pub struct DIRCLR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "DIR clear register."]
pub mod dirclr;
#[doc = "Configuration of GPIO pins."]
pub struct PIN_CNF {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Configuration of GPIO pins."]
pub mod pin_cnf;