SDL API Guide for J7200
MCRC IP Functions

Introduction

Functions

int32_t SDL_MCRC_GetHighestPriorityIntrStatus (SDL_MCRC_InstType instance, uint32_t *pIntVecAddr)
 This API is used to get the pending interrupt with highest priority. More...
 
int32_t SDL_MCRC_DataBusTracingCtrl (SDL_MCRC_InstType instance, uint32_t ctrlFlag, SDL_MCRC_DataBusMask_t dataBusMask, SDL_MCRC_DataBusMask_t busEnableMask)
 This API is used to control the MCRC data bus tracing. More...
 
int32_t SDL_MCRC_getBaseaddr (SDL_MCRC_InstType instance, uint32_t *baseAddr)
 This API is used to get the base address of the instance. More...
 
int32_t SDL_MCRC_VerifyBusTracingCtrl (SDL_MCRC_InstType instance, uint32_t ctrlFlag, SDL_MCRC_DataBusMask_t dataBusMask, SDL_MCRC_DataBusMask_t busEnableMask)
 This API is used to verify the control the MCRC data bus tracing. More...
 

Function Documentation

◆ SDL_MCRC_GetHighestPriorityIntrStatus()

int32_t SDL_MCRC_GetHighestPriorityIntrStatus ( SDL_MCRC_InstType  instance,
uint32_t *  pIntVecAddr 
)

This API is used to get the pending interrupt with highest priority.

Parameters
instanceMCRC instance either MCU or Main.
pIntVecAddrPointer to highest priority pending interrupt vector address defined in SDL_MCRC_IntrPriority_t
Returns
status MCRC get interrupt vector address status SDL_PASS: success SDL_EBADARGS: failure, indicate the bad input arguments

◆ SDL_MCRC_DataBusTracingCtrl()

int32_t SDL_MCRC_DataBusTracingCtrl ( SDL_MCRC_InstType  instance,
uint32_t  ctrlFlag,
SDL_MCRC_DataBusMask_t  dataBusMask,
SDL_MCRC_DataBusMask_t  busEnableMask 
)

This API is used to control the MCRC data bus tracing.


Data tracing is only available on channel 1, when it is enabled, the operation mode is automatically reset to data capture mode on channel 1

Parameters
instanceMCRC instance either MCU or Main.
ctrlFlagData bus tracing control flag. SDL_TRUE: enable data tracing. SDL_FALSE: disable data tracing.
dataBusMaskData bus mask bits for which what data buses are to be selected. Values given by SDL_MCRC_DataBusMask_t.
busEnableMaskData bus enable mask bits for which what data buses are to be enabled or disabled. Values given by SDL_MCRC_DataBusMask_t.
Returns
status MCRC data bus tracing control status SDL_PASS: success SDL_EBADARGS: failure, indicate the bad input arguments

◆ SDL_MCRC_getBaseaddr()

int32_t SDL_MCRC_getBaseaddr ( SDL_MCRC_InstType  instance,
uint32_t *  baseAddr 
)

This API is used to get the base address of the instance.

Parameters
instanceMCRC instance either MCU or Main.
baseAddrDbase address of the instance.
Returns
status return the base address of th instance. SDL_PASS: success SDL_EBADARGS: failure, indicate the bad input arguments SDL_EFAIL: failure, indicate verify failed

◆ SDL_MCRC_VerifyBusTracingCtrl()

int32_t SDL_MCRC_VerifyBusTracingCtrl ( SDL_MCRC_InstType  instance,
uint32_t  ctrlFlag,
SDL_MCRC_DataBusMask_t  dataBusMask,
SDL_MCRC_DataBusMask_t  busEnableMask 
)

This API is used to verify the control the MCRC data bus tracing.

Parameters
instanceMCRC instance either MCU or Main.
ctrlFlagData bus tracing control flag. SDL_TRUE: enable data tracing. SDL_EFALSE: disable data tracing.
dataBusMaskData bus mask bits for which what data buses are to be selected. Values given by SDL_MCRC_DataBusMask_t.
busEnableMaskData bus enable mask bits for which what data buses are to be enabled or disabled. Values given by SDL_MCRC_DataBusMask_t.
Returns
status MCRC verify data bus tracing control status SDL_PASS: success SDL_EBADARGS: failure, indicate the bad input arguments SDL_EFAIL: failure, indicate verify failed