EasyManuals Logo

Texas Instruments Tiva TM4C123GH6PM User Manual

Texas Instruments Tiva TM4C123GH6PM
352 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #149 background imageLoading...
Page #149 background image
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 ROM_MPURegionSet() function.
This function can be used to save the configuration of a region for later use with the
ROM_MPURegionSet() 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

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments Tiva TM4C123GH6PM and is the answer not in the manual?

Texas Instruments Tiva TM4C123GH6PM Specifications

General IconGeneral
BrandTexas Instruments
ModelTiva TM4C123GH6PM
CategoryMicrocontrollers
LanguageEnglish

Related product manuals