|
AM64x MCU+ SDK
10.00.00
|
|
Go to the documentation of this file.
34 #ifndef SDL_IP_MCRC_H_
35 #define SDL_IP_MCRC_H_
59 #define SDL_MCRC_MAX_CTRL_FLAG_VAL (1U)
73 #define SDL_MCRC_INTR_PRIORITY_CH1_FAIL (0x1U)
75 #define SDL_MCRC_INTR_PRIORITY_CH2_FAIL (0x2U)
77 #define SDL_MCRC_INTR_PRIORITY_CH3_FAIL (0x3U)
79 #define SDL_MCRC_INTR_PRIORITY_CH4_FAIL (0x4U)
81 #define SDL_MCRC_INTR_PRIORITY_CH1_COMPRESSION_DONE (0x9U)
83 #define SDL_MCRC_INTR_PRIORITY_CH2_COMPRESSION_DONE (0xaU)
85 #define SDL_MCRC_INTR_PRIORITY_CH3_COMPRESSION_DONE (0xbU)
87 #define SDL_MCRC_INTR_PRIORITY_CH4_COMPRESSION_DONE (0xcU)
89 #define SDL_MCRC_INTR_PRIORITY_CH1_OVERRUN (0x11U)
91 #define SDL_MCRC_INTR_PRIORITY_CH2_OVERRUN (0x12U)
93 #define SDL_MCRC_INTR_PRIORITY_CH3_OVERRUN (0x13U)
95 #define SDL_MCRC_INTR_PRIORITY_CH4_OVERRUN (0x14U)
97 #define SDL_MCRC_INTR_PRIORITY_CH1_UNDERRUN (0x19U)
99 #define SDL_MCRC_INTR_PRIORITY_CH2_UNDERRUN (0x1aU)
101 #define SDL_MCRC_INTR_PRIORITY_CH3_UNDERRUN (0x1bU)
103 #define SDL_MCRC_INTR_PRIORITY_CH4_UNDERRUN (0x1cU)
105 #define SDL_MCRC_INTR_PRIORITY_CH1_TIMEOUT (0x21U)
107 #define SDL_MCRC_INTR_PRIORITY_CH2_TIMEOUT (0x22U)
109 #define SDL_MCRC_INTR_PRIORITY_CH3_TIMEOUT (0x23U)
111 #define SDL_MCRC_INTR_PRIORITY_CH4_TIMEOUT (0x24U)
125 #define SDL_MCRC_DATA_BUS_ITCM_MASK (SDL_MCRC_MCRC_BUS_SEL_ITC_MEN_MASK)
127 #define SDL_MCRC_DATA_BUS_DTCM_MASK (SDL_MCRC_MCRC_BUS_SEL_DTC_MEN_MASK)
129 #define SDL_MCRC_DATA_BUS_VBUSM_MASK (SDL_MCRC_MCRC_BUS_SEL_MEN_MASK)
131 #define SDL_MCRC_DATA_BUS_MASK_ALL (SDL_MCRC_MCRC_BUS_SEL_ITC_MEN_MASK | \
132 SDL_MCRC_MCRC_BUS_SEL_DTC_MEN_MASK | \
133 SDL_MCRC_MCRC_BUS_SEL_MEN_MASK)
int32_t SDL_MCRC_getHighestPriorityIntrStatus(SDL_MCRC_InstType instance, uint32_t *pIntVecAddr)
This API is used to get the pending interrupt with highest priority.
SDL_MCRC_InstType
MCRC Instance supported.
Definition: sdl_mcrc_soc.h:60
uint32_t SDL_MCRC_DataBusMask_t
MCRC data bus type mask selected for tracing control.
Definition: sdl_ip_mcrc.h:123
This file contains the prototypes of the APIs present in the device abstraction layer file of MCRC....
uint32_t SDL_MCRC_IntrPriority_t
The offset for the highest pending priority interrupt. These interrupt offset returned in SDL_MCRC_ge...
Definition: sdl_ip_mcrc.h:71
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.
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.