Skip to content

Commit

Permalink
Add smoke test for S3MU TR and RR offests
Browse files Browse the repository at this point in the history
  • Loading branch information
mciantyre committed Jan 22, 2025
1 parent 226fe55 commit 436ecf1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/s3mu_1180.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#![cfg(any(feature = "imxrt1189_cm33", feature = "imxrt1189_cm7",))]

use core::mem::offset_of;
use imxrt_ral as ral;

#[test]
fn check_transmit_receive_register_offsets() {
use ral::mu_apps_s3mua::RegisterBlock;
assert_eq!(offset_of!(RegisterBlock, TR), 0x200);
assert_eq!(offset_of!(RegisterBlock, RR), 0x280);
}

0 comments on commit 436ecf1

Please sign in to comment.