CPU_CTRL_XMC4: CPU_CTRL_XMC4

CPU CTRL XMC4

CPU_CTRL_XMC4
CPU_CTRL_XMC4
enum  CPU_CTRL_XMC4_MPU { CPU_CTRL_XMC4_MPU_ENABLE_BGREGION = MPU_CTRL_PRIVDEFENA_Msk, CPU_CTRL_XMC4_MPU_ENABLE_NMI_HARDFAULT = MPU_CTRL_HFNMIENA_Msk }
 
void CPU_CTRL_XMC4_MPU_Enable (uint32_t options)
 Enables MPU memory region/background memory region. More...
 
void CPU_CTRL_XMC4_MPU_Disable (void)
 Disables MPU settings. More...
 

Detailed Description

Enumeration Type Documentation

Enumerator
CPU_CTRL_XMC4_MPU_ENABLE_BGREGION 

Enables background memory region

CPU_CTRL_XMC4_MPU_ENABLE_NMI_HARDFAULT 

Enables MPU during NMI and hardfault handler

Definition at line 86 of file CPU_CTRL_XMC4.h.

Function Documentation

void CPU_CTRL_XMC4_MPU_Disable ( void  )

Disables MPU settings.

Returns
None
Description:
The function can be used to disable all the MPU options by writing zero.

Definition at line 107 of file CPU_CTRL_XMC4.c.

void CPU_CTRL_XMC4_MPU_Enable ( uint32_t  options)

Enables MPU memory region/background memory region.

Returns
None
Description:
The function can be used to enable MPU options by settings background memory region or memory region

Definition at line 97 of file CPU_CTRL_XMC4.c.