diff options
author | 2020-07-18 14:13:57 -0400 | |
---|---|---|
committer | 2020-07-18 14:13:57 -0400 | |
commit | aff71801966b5c8348cc8a69379e5dbc2f8fc910 (patch) | |
tree | 9b0a3b3c4cd35acfe9778b90e90563ada5231d2c /src/peripheral/test.rs | |
parent | d91e843707932da5361fc5134e64e8e9a6c4301d (diff) | |
download | cortex-m-aff71801966b5c8348cc8a69379e5dbc2f8fc910.tar.gz cortex-m-aff71801966b5c8348cc8a69379e5dbc2f8fc910.tar.zst cortex-m-aff71801966b5c8348cc8a69379e5dbc2f8fc910.zip |
Correct typo in RASR register aliases
Fixes the typo in the a1, a2, and a3 aliases of the RASR MPU register.
Diffstat (limited to 'src/peripheral/test.rs')
-rw-r--r-- | src/peripheral/test.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/peripheral/test.rs b/src/peripheral/test.rs index 5446a71..fa3e207 100644 --- a/src/peripheral/test.rs +++ b/src/peripheral/test.rs @@ -100,11 +100,11 @@ fn mpu() { assert_eq!(address(&mpu.rbar), 0xE000ED9C); assert_eq!(address(&mpu.rasr), 0xE000EDA0); assert_eq!(address(&mpu.rbar_a1), 0xE000EDA4); - assert_eq!(address(&mpu.rsar_a1), 0xE000EDA8); + assert_eq!(address(&mpu.rasr_a1), 0xE000EDA8); assert_eq!(address(&mpu.rbar_a2), 0xE000EDAC); - assert_eq!(address(&mpu.rsar_a2), 0xE000EDB0); + assert_eq!(address(&mpu.rasr_a2), 0xE000EDB0); assert_eq!(address(&mpu.rbar_a3), 0xE000EDB4); - assert_eq!(address(&mpu.rsar_a3), 0xE000EDB8); + assert_eq!(address(&mpu.rasr_a3), 0xE000EDB8); } #[test] |