diff options
author | 2017-10-13 07:52:03 +0200 | |
---|---|---|
committer | 2017-12-18 15:41:36 +0100 | |
commit | 03779e5a32e9c5cabd8e86783574ad5a60633bdf (patch) | |
tree | 1c0bcaa6c038efcc37a23d64882a00d713f47f4b /src/asm.rs | |
parent | 74cb12e105346d11d57ef653669748d28d96c05e (diff) | |
download | cortex-m-03779e5a32e9c5cabd8e86783574ad5a60633bdf.tar.gz cortex-m-03779e5a32e9c5cabd8e86783574ad5a60633bdf.tar.zst cortex-m-03779e5a32e9c5cabd8e86783574ad5a60633bdf.zip |
Make all available NVIC registers accessible
According to the ARMv7-M Technical Reference Manual[1], there are 124
IPR registers available on ARMv7-M, and 16 of all others. I don't know
where the original numbers came from, since on ARMv6-M, there are only 8
IPR registers available, and 1 of each of the others.[2]
This commit removes some test cases that were checking the address of
the last register. Since the last register has changed, those are no
longer applicable. I decided to remove instead of update them, since
they only really test the length of each register type, which is obvious
enough from the code.
[1]: https://silver.arm.com/download/ARM_and_AMBA_Architecture/AR580-DA-70000-r0p0-05rel0/DDI0403E_B_armv7m_arm.pdf
[2]: https://silver.arm.com/download/ARM_and_AMBA_Architecture/AR585-DA-70000-r0p0-00rel0/DDI0419C_arm_architecture_v6m_reference_manual.pdf
Diffstat (limited to 'src/asm.rs')
0 files changed, 0 insertions, 0 deletions