aboutsummaryrefslogtreecommitdiff
path: root/src/asm.rs
diff options
context:
space:
mode:
authorGravatar bors[bot] <26634292+bors[bot]@users.noreply.github.com> 2020-04-15 07:45:00 +0000
committerGravatar GitHub <noreply@github.com> 2020-04-15 07:45:00 +0000
commitf2a56ec9022ccf88186e125234e4e21fc585b8a8 (patch)
tree738d181435dac3a7fd97149b431a50d255c5c3f8 /src/asm.rs
parentc7ac37f3b848d2ad10b31749004c4ef40f0a2e4a (diff)
parent41d88439174234bad109d0c04d6c8a352b23497b (diff)
downloadcortex-m-f2a56ec9022ccf88186e125234e4e21fc585b8a8.tar.gz
cortex-m-f2a56ec9022ccf88186e125234e4e21fc585b8a8.tar.zst
cortex-m-f2a56ec9022ccf88186e125234e4e21fc585b8a8.zip
Merge #180
180: Add Security Attribution Unit support r=thejpster a=hug-dev The SAU is a Armv8-M core peripheral that, alongside the Implementation Defined Attribution Unit, manages the security attribution of the memory zones. This driver provides abstraction to help setting the SAU up. This pull-request adds a new dependency, `bitfield` which provides a really nice way to describe bit fields in registers with methods to access them. It makes it really easier to use/write rather than having to manually declare the shift number and mask constants. Although `bitfield` does not have any dependency, I am well aware of the increased cost of memory its addition could cause to embedded targets. I am really open to criticism about its use, if you would prefer me not to use it, or if you would like to see benchmarks of memory usage for some reference targets of embedded Rust 😃 Co-authored-by: Hugues de Valon <hugues.devalon@arm.com>
Diffstat (limited to 'src/asm.rs')
0 files changed, 0 insertions, 0 deletions