K61 MPU User Mode Access Control bit assignments

cancel
Showing results for 
Search instead for 
Did you mean: 

K61 MPU User Mode Access Control bit assignments

158 Views
isaotakashima
Contributor IV

I would like to implement MPU function. The MPU_RGDn_WORD2 registers has 4 User Mode Access Control fields (M3UM, M2UM, M1UM, M0UM).

These fields enable read (r), write (w), and execute ( x) permissions.

I want to make sure that which bit assign read (r), write (w), and execute ( x) permissions.

Regarding the M3UM, this field assigned bit 20, 19 and 18 of MPU_RGDn_WORD2.

I believe that read (r), write (w), and execute ( x) assigned as below:

- bit 20: read (r)

- bit 19: write (w)

- bit 18: execute ( x)

Am I correct?

Please reply as soon as possible.

Best regards,

Takashima

Labels (1)
Tags (2)
0 Kudos
1 Reply

36 Views
yasuhikokoumoto
Senior Contributor I

Hello Takashima,

you are right.

Best regards,

Yasuhiko Koumoto.

0 Kudos