s32k118.rs/src/crc.rs

65 lines
1.5 KiB
Rust
Raw Normal View History

#[doc = r" Register block"]
#[repr(C)]
pub struct RegisterBlock {
2018-02-06 14:15:10 +00:00
#[doc = "0x00 - CRC Data register"]
pub data: DATA,
#[doc = "0x04 - CRC Polynomial register"]
pub gpoly: GPOLY,
#[doc = "0x08 - CRC Control register"]
pub ctrl: CTRL,
}
#[doc = "CRC Data register"]
pub struct DATA {
2019-01-16 14:39:25 +00:00
register: ::vcell::VolatileCell<u32>,
}
#[doc = "CRC Data register"]
pub mod data;
#[doc = "CRC_DATAL register."]
pub struct DATAL {
2019-01-16 14:39:25 +00:00
register: ::vcell::VolatileCell<u16>,
}
#[doc = "CRC_DATAL register."]
pub mod datal;
#[doc = "CRC_DATALL register."]
pub struct DATALL {
2019-01-16 14:39:25 +00:00
register: ::vcell::VolatileCell<u8>,
}
#[doc = "CRC_DATALL register."]
pub mod datall;
#[doc = "CRC_DATALU register."]
pub struct DATALU {
2019-01-16 14:39:25 +00:00
register: ::vcell::VolatileCell<u8>,
}
#[doc = "CRC_DATALU register."]
pub mod datalu;
#[doc = "CRC_DATAH register."]
pub struct DATAH {
2019-01-16 14:39:25 +00:00
register: ::vcell::VolatileCell<u16>,
}
#[doc = "CRC_DATAH register."]
pub mod datah;
#[doc = "CRC_DATAHL register."]
pub struct DATAHL {
2019-01-16 14:39:25 +00:00
register: ::vcell::VolatileCell<u8>,
}
#[doc = "CRC_DATAHL register."]
pub mod datahl;
#[doc = "CRC_DATAHU register."]
pub struct DATAHU {
2019-01-16 14:39:25 +00:00
register: ::vcell::VolatileCell<u8>,
}
#[doc = "CRC_DATAHU register."]
pub mod datahu;
#[doc = "CRC Polynomial register"]
pub struct GPOLY {
2019-01-16 14:39:25 +00:00
register: ::vcell::VolatileCell<u32>,
}
#[doc = "CRC Polynomial register"]
pub mod gpoly;
#[doc = "CRC Control register"]
pub struct CTRL {
2019-01-16 14:39:25 +00:00
register: ::vcell::VolatileCell<u32>,
}
#[doc = "CRC Control register"]
pub mod ctrl;