diff options
| author | Ian McIntyre <me@mciantyre.dev> | 2025-12-17 19:30:44 -0500 |
|---|---|---|
| committer | Ian McIntyre <me@mciantyre.dev> | 2025-12-17 19:32:26 -0500 |
| commit | 90693d06c183f77a5aa2de3f7ab0bed4bd213c45 (patch) | |
| tree | 3bfd9d3f03cbb865398b750b9f608f8a90a544d6 | |
| parent | 76199f21616ad86cf68f3b063c1ce23c6fc5a52f (diff) | |
Add iomuxc-11xx Instance aliases
| -rw-r--r-- | drivers/iomuxc-11xx/src/lib.rs | 8 |
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 { |
