Same as last commit just run through the form tool (splits up large lib.rs files)

This commit is contained in:
Kjetil Kjeka
2017-09-23 20:09:53 +02:00
parent 63efe927e5
commit 7facea48b2
1680 changed files with 666069 additions and 667757 deletions

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

File diff suppressed because it is too large Load Diff

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
View 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;