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
102
103
104
105
106
107
108
109
#[doc = r" Register block"]
#[repr(C)]
pub struct RegisterBlock {
    #[doc = "0x00 - control register 1"]
    pub cr1: CR1,
    #[doc = "0x04 - control register 2"]
    pub cr2: CR2,
    #[doc = "0x08 - status register"]
    pub sr: SR,
    #[doc = "0x0c - data register"]
    pub dr: DR,
    #[doc = "0x10 - CRC polynomial register"]
    pub crcpr: CRCPR,
    #[doc = "0x14 - RX CRC register"]
    pub rxcrcr: RXCRCR,
    #[doc = "0x18 - TX CRC register"]
    pub txcrcr: TXCRCR,
    #[doc = "0x1c - configuration register"]
    pub i2scfgr: I2SCFGR,
    #[doc = "0x20 - prescaler register"]
    pub i2spr: I2SPR,
    _reserved0: [u8; 972usize],
    #[doc = "0x3f0 - hardware configuration register"]
    pub hwcfgr: HWCFGR,
    #[doc = "0x3f4 - EXTI IP Version register"]
    pub verr: VERR,
    #[doc = "0x3f8 - EXTI Identification register"]
    pub ipidr: IPIDR,
    #[doc = "0x3fc - EXTI Size ID register"]
    pub sidr: SIDR,
}
#[doc = "control register 1"]
pub struct CR1 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "control register 1"]
pub mod cr1;
#[doc = "control register 2"]
pub struct CR2 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "control register 2"]
pub mod cr2;
#[doc = "status register"]
pub struct SR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "status register"]
pub mod sr;
#[doc = "data register"]
pub struct DR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "data register"]
pub mod dr;
#[doc = "CRC polynomial register"]
pub struct CRCPR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "CRC polynomial register"]
pub mod crcpr;
#[doc = "RX CRC register"]
pub struct RXCRCR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "RX CRC register"]
pub mod rxcrcr;
#[doc = "TX CRC register"]
pub struct TXCRCR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "TX CRC register"]
pub mod txcrcr;
#[doc = "configuration register"]
pub struct I2SCFGR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "configuration register"]
pub mod i2scfgr;
#[doc = "prescaler register"]
pub struct I2SPR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "prescaler register"]
pub mod i2spr;
#[doc = "hardware configuration register"]
pub struct HWCFGR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "hardware configuration register"]
pub mod hwcfgr;
#[doc = "EXTI IP Version register"]
pub struct VERR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "EXTI IP Version register"]
pub mod verr;
#[doc = "EXTI Identification register"]
pub struct IPIDR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "EXTI Identification register"]
pub mod ipidr;
#[doc = "EXTI Size ID register"]
pub struct SIDR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "EXTI Size ID register"]
pub mod sidr;