aboutsummaryrefslogtreecommitdiff
path: root/drivers/iomuxc-11xx/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iomuxc-11xx/src/lib.rs')
-rw-r--r--drivers/iomuxc-11xx/src/lib.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/iomuxc-11xx/src/lib.rs b/drivers/iomuxc-11xx/src/lib.rs
index 54f0c17..5fc7443 100644
--- a/drivers/iomuxc-11xx/src/lib.rs
+++ b/drivers/iomuxc-11xx/src/lib.rs
@@ -1,6 +1,8 @@
#![no_std]
pub mod iomuxc_gpr {
+ pub type Instance = ral_registers::Instance<RegisterBlock>;
+
#[repr(C)]
#[allow(non_snake_case)]
pub struct RegisterBlock {
@@ -11,6 +13,8 @@ pub mod iomuxc_gpr {
}
pub mod iomuxc {
+ pub type Instance = ral_registers::Instance<RegisterBlock>;
+
#[repr(C)]
#[allow(non_snake_case)]
pub struct RegisterBlock {
@@ -303,6 +307,8 @@ pub mod iomuxc {
}
pub mod iomuxc_lpsr {
+ pub type Instance = ral_registers::Instance<RegisterBlock>;
+
#[repr(C)]
#[allow(non_snake_case)]
pub struct RegisterBlock {
@@ -375,6 +381,8 @@ pub mod iomuxc_lpsr {
}
pub mod iomuxc_aon {
+ pub type Instance = ral_registers::Instance<RegisterBlock>;
+
#[repr(C)]
#[allow(non_snake_case)]
pub struct RegisterBlock {