Memory Protection Unit (MPU)
Prototype:
void
ROM_MPURegionGet(uint32_t ui32Region,
uint32_t *pui32Addr,
uint32_t *pui32Flags)
ROM Location:
ROM_APITABLE
is an array of pointers located at
0x0100.0010
.
ROM_MPUTABLE
is an array of pointers located at
ROM_APITABLE[20]
.
ROM_MPURegionGet
is a function pointer located at
ROM_MPUTABLE[6]
.
Parameters:
ui32Region
is the region number to get.
pui32Addr
points to storage for the base address of the region.
pui32Flags
points to the attribute flags for the region.
Description:
This function retrieves the configuration of a specific region. The meanings and format of the
parameters is the same as that of the
function.
This function can be used to save the configuration of a region for later use with the
function. The region’s enable state is preserved in the attributes that
are saved.
Returns:
None.
14.2.1.7 ROM_MPURegionSet
Sets up the access rules for a specific region.
Prototype:
void
ROM_MPURegionSet(uint32_t ui32Region,
uint32_t ui32Addr,
uint32_t ui32Flags)
ROM Location:
ROM_APITABLE
is an array of pointers located at
0x0100.0010
.
ROM_MPUTABLE
is an array of pointers located at
ROM_APITABLE[20]
.
ROM_MPURegionSet
is a function pointer located at
ROM_MPUTABLE[5]
.
Parameters:
ui32Region
is the region number to set up.
ui32Addr
is the base address of the region. It must be aligned according to the size of the
region specified in
ui32Flags
.
ui32Flags
is a set of flags to define the attributes of the region.
Description:
This function sets up the protection rules for a region. The region has a base address and a
set of attributes including the size, which must be a power of 2. The base address parameter,
ui32Addr
, must be aligned according to the size.
April 8, 2013
149
Содержание Tiva TM4C123GH6PM
Страница 26: ...Boot Loader 26 April 8 2013...
Страница 68: ...Controller Area Network CAN 68 April 8 2013...
Страница 122: ...Hibernation Module 122 April 8 2013...
Страница 136: ...Inter Integrated Circuit I2C 136 April 8 2013...
Страница 152: ...Memory Protection Unit MPU 152 April 8 2013...
Страница 174: ...Pulse Width Modulator PWM Returns None 174 April 8 2013...
Страница 196: ...Synchronous Serial Interface SSI 196 April 8 2013...
Страница 222: ...System Control 222 April 8 2013...
Страница 270: ...UART 270 April 8 2013...
Страница 296: ...uDMA Controller 296 April 8 2013...
Страница 351: ...April 8 2013 351...