Skip to content

Update PMSA types#129

Open
jonathanpallant wants to merge 2 commits intomainfrom
update-pmsa-types
Open

Update PMSA types#129
jonathanpallant wants to merge 2 commits intomainfrom
update-pmsa-types

Conversation

@jonathanpallant
Copy link
Contributor

  • Make the direct-access PMSA registers easier to use, by having them each return a Prbar or Prlar bitfield value.
  • Update the tests to check we are reading/writing the right MPU registers.

Now the PrbarX and PrlarX registers return values of type Prbar/Prlar
respectively. These types also have useful helper methods on them
so you don't have to do 26 -> 32 bit address twiddling by hand.
Put something unique into each of the 15 MPU regions, to check we're
reading/writing to the right ones.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant