Same as last commit just run through the form tool (splits up large lib.rs files)
This commit is contained in:
2021
src/cmp0/c0/mod.rs
Normal file
2021
src/cmp0/c0/mod.rs
Normal file
File diff suppressed because it is too large
Load Diff
1427
src/cmp0/c1/mod.rs
Normal file
1427
src/cmp0/c1/mod.rs
Normal file
File diff suppressed because it is too large
Load Diff
1358
src/cmp0/c2/mod.rs
Normal file
1358
src/cmp0/c2/mod.rs
Normal file
File diff suppressed because it is too large
Load Diff
29
src/cmp0/mod.rs
Normal file
29
src/cmp0/mod.rs
Normal file
@ -0,0 +1,29 @@
|
||||
use vcell::VolatileCell;
|
||||
#[doc = r" Register block"]
|
||||
#[repr(C)]
|
||||
pub struct RegisterBlock {
|
||||
#[doc = "0x00 - CMP Control Register 0"]
|
||||
pub c0: C0,
|
||||
#[doc = "0x04 - CMP Control Register 1"]
|
||||
pub c1: C1,
|
||||
#[doc = "0x08 - CMP Control Register 2"]
|
||||
pub c2: C2,
|
||||
}
|
||||
#[doc = "CMP Control Register 0"]
|
||||
pub struct C0 {
|
||||
register: VolatileCell<u32>,
|
||||
}
|
||||
#[doc = "CMP Control Register 0"]
|
||||
pub mod c0;
|
||||
#[doc = "CMP Control Register 1"]
|
||||
pub struct C1 {
|
||||
register: VolatileCell<u32>,
|
||||
}
|
||||
#[doc = "CMP Control Register 1"]
|
||||
pub mod c1;
|
||||
#[doc = "CMP Control Register 2"]
|
||||
pub struct C2 {
|
||||
register: VolatileCell<u32>,
|
||||
}
|
||||
#[doc = "CMP Control Register 2"]
|
||||
pub mod c2;
|
Reference in New Issue
Block a user