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 #146 background imageLoading...
Page #146 background image
Memory Protection Unit (MPU)
enabled, a default memory map is applied. If this feature is not enabled, then a memory manage-
ment fault is generated if the MPU is enabled and no regions are configured and enabled. The MPU
can also be set to use a default memory map when in the Hard Fault or NMI handlers, instead of
using the configured regions. All of these features are selected when calling ROM_MPUEnable().
When the MPU is enabled, it can be disabled by calling ROM_MPUDisable().
14.2 Functions
Functions
void ROM_MPUDisable (void)
void ROM_MPUEnable (uint32_t ui32MPUConfig)
uint32_t ROM_MPURegionCountGet (void)
void ROM_MPURegionDisable (uint32_t ui32Region)
void ROM_MPURegionEnable (uint32_t ui32Region)
void ROM_MPURegionGet (uint32_t ui32Region, uint32_t pui32Addr, uint32_t pui32Flags)
void ROM_MPURegionSet (uint32_t ui32Region, uint32_t ui32Addr, uint32_t ui32Flags)
14.2.1 Function Documentation
14.2.1.1 ROM_MPUDisable
Disables the MPU for use.
Prototype:
void
ROM_MPUDisable(void)
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_MPUDisable is a function pointer located at ROM_MPUTABLE[1].
Description:
This function disables the Cortex-M4 memory protection unit. When the MPU is disabled, the
default memory map is used and memory management faults are not generated.
Returns:
None.
14.2.1.2 ROM_MPUEnable
Enables and configures the MPU for use.
Prototype:
void
ROM_MPUEnable(uint32_t ui32MPUConfig)
146 April 8, 2013

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