CPU_CTRL_XMC4: Methods

CPU CTRL XMC4

CPU_CTRL_XMC4
Methods
DAVE_APP_VERSION_t CPU_CTRL_XMC4_GetAppVersion (void)
 Get CPU_CTRL_XMC4 APP version. More...
 
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

Methods

Function Documentation

DAVE_APP_VERSION_t CPU_CTRL_XMC4_GetAppVersion ( void  )

Get CPU_CTRL_XMC4 APP version.

Returns
DAVE_APP_VERSION_t APP version information (major, minor and patch number)
Description:
The function can be used to check application software compatibility with a specific version of the APP.

Example Usage:

#include <DAVE.h>
int main(void)
{
DAVE_APP_VERSION_t version;
// CPU_CTRL_XMC4_Init() is called from within DAVE_Init().
init_status = DAVE_Init();
if (version.major != 4U)
{
}
// More code here
while(1)
{
}
return (0);
}

Definition at line 77 of file CPU_CTRL_XMC4.c.

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.