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
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
#[doc = r" Register block"]
#[repr(C)]
pub struct RegisterBlock {
    #[doc = "0x00 - Interrupt mask register"]
    pub imr1: IMR1,
    #[doc = "0x04 - Event mask register"]
    pub emr1: EMR1,
    #[doc = "0x08 - Rising Trigger selection register"]
    pub rtsr1: RTSR1,
    #[doc = "0x0c - Falling Trigger selection register"]
    pub ftsr1: FTSR1,
    #[doc = "0x10 - Software interrupt event register"]
    pub swier1: SWIER1,
    #[doc = "0x14 - Pending register"]
    pub pr1: PR1,
    _reserved0: [u8; 8usize],
    #[doc = "0x20 - Interrupt mask register"]
    pub imr2: IMR2,
    #[doc = "0x24 - Event mask register"]
    pub emr2: EMR2,
    #[doc = "0x28 - Rising Trigger selection register"]
    pub rtsr2: RTSR2,
    #[doc = "0x2c - Falling Trigger selection register"]
    pub ftsr2: FTSR2,
    #[doc = "0x30 - Software interrupt event register"]
    pub swier2: SWIER2,
    #[doc = "0x34 - Pending register"]
    pub pr2: PR2,
}
#[doc = "Interrupt mask register"]
pub struct IMR1 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Interrupt mask register"]
pub mod imr1;
#[doc = "Event mask register"]
pub struct EMR1 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Event mask register"]
pub mod emr1;
#[doc = "Rising Trigger selection register"]
pub struct RTSR1 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Rising Trigger selection register"]
pub mod rtsr1;
#[doc = "Falling Trigger selection register"]
pub struct FTSR1 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Falling Trigger selection register"]
pub mod ftsr1;
#[doc = "Software interrupt event register"]
pub struct SWIER1 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Software interrupt event register"]
pub mod swier1;
#[doc = "Pending register"]
pub struct PR1 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Pending register"]
pub mod pr1;
#[doc = "Interrupt mask register"]
pub struct IMR2 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Interrupt mask register"]
pub mod imr2;
#[doc = "Event mask register"]
pub struct EMR2 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Event mask register"]
pub mod emr2;
#[doc = "Rising Trigger selection register"]
pub struct RTSR2 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Rising Trigger selection register"]
pub mod rtsr2;
#[doc = "Falling Trigger selection register"]
pub struct FTSR2 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Falling Trigger selection register"]
pub mod ftsr2;
#[doc = "Software interrupt event register"]
pub struct SWIER2 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Software interrupt event register"]
pub mod swier2;
#[doc = "Pending register"]
pub struct PR2 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Pending register"]
pub mod pr2;