AM263x MCU+ SDK  09.01.00
R5F_CPU_UTILS

The R5F CPU utils is having some Cortex R5F CORE functionality like reading the CPU Static Registers of ARM CORTEX R5F CORE.

Features Supported

The system control coprocessor, CP15, controls and provides status information for the functions implemented in the processor. The main functions of the system control coprocessor are:

  • overall system control and configuration
  • cache configuration and management
  • Memory Protection Unit (MPU) configuration and management
  • system performance monitoring.

In this section, all the resisters are being read of the System control coprocessor.

SysConfig Features

  • None

Features NOT Supported

  • None

Important Usage Guidelines

  • None

Example Usage

The following shows an example of SDL R5F CPU UTILS API usage by the application.

Include the below file to access the APIs

For reading all the R5F CPU Static Register, the below API will be used.

int32_t sdlResult;
/* Declaration of Global structure to contain all register values*/
SDL_R5FCPU_StaticRegs pCPUStaticRegs;
/*Read all R5F cpu static registers*/
sdlResult = SDL_CPU_staticRegisterRead(&pCPUStaticRegs);
After calling the above API, All register values can be found into the structure.

API

SDL R5F CPU UTILS

sdl_r5_utils.h
This file contains the prototypes of the APIs present in the device abstraction layer file of R5F CPU...
SDL_R5FCPU_StaticRegs
Structure containing R5F CPU Static Registers.
Definition: sdl_r5_utils.h:92
SDL_CPU_staticRegisterRead
int32_t SDL_CPU_staticRegisterRead(SDL_R5FCPU_StaticRegs *pCPUStaticRegs)
This API is used to get the value of static registers for R5F CPU.