XilinxProcessorIPLib/drivers/aiengine/src/tile/xaietile_noc.c
u16 XAieTile_NoCIntcL2StatusGet(XAieGbl_Tile *TileInstPtr)
{
	u32 RegVal;

	XAie_AssertNonvoid(TileInstPtr != XAIE_NULL);
	XAie_AssertNonvoid(TileInstPtr->TileType == XAIEGBL_TILE_TYPE_SHIMNOC);

	RegVal = XAieGbl_Read32(TileInstPtr->TileAddr +
						XAIEGBL_NOC_INTCON2NDLEVSTA);

	return XAie_GetField(RegVal, XAIEGBL_NOC_INTCON2NDLEVSTA_STAA_LSB,
					XAIEGBL_NOC_INTCON2NDLEVSTA_STAA_MASK);
}
/*************************** Variable Definitions *****************************/
/*************************** Function Definitions *****************************/
/******************************************************************************/
/**
 *
 * This API returns the status of 2nd level interrupt. Each bit in the status
 * value corresponds to a particular type of interrupt from a specific 1st level
 * section
 *
 * @param	TileInstPtr - Pointer to the Tile instance. Should be shim NoC
 *				tile
 *
 * @return	Current 16-bit status value
 *
 * @note	None
 *
 ******************************************************************************/
Variable Definitions
Function Definitions



This API returns the status of 2nd level interrupt. Each bit in the status
value corresponds to a particular type of interrupt from a specific 1st level
section

@param       TileInstPtr - Pointer to the Tile instance. Should be shim NoC
tile

@return      Current 16-bit status value

@note        None
Variable Definitions Function Definitions This API returns the status of 2nd level interrupt . Each bit in the status value corresponds to a particular type of interrupt from a specific 1st level section @param TileInstPtr - Pointer to the Tile instance . Should be shim NoC tile @return Current 16 - bit status value @note None
u16 XAieTile_NoCIntcL2StatusGet(XAieGbl_Tile *TileInstPtr)
{
	u32 RegVal;
	XAie_AssertNonvoid(TileInstPtr != XAIE_NULL);
	XAie_AssertNonvoid(TileInstPtr->TileType == XAIEGBL_TILE_TYPE_SHIMNOC);
	RegVal = XAieGbl_Read32(TileInstPtr->TileAddr +
						XAIEGBL_NOC_INTCON2NDLEVSTA);
	return XAie_GetField(RegVal, XAIEGBL_NOC_INTCON2NDLEVSTA_STAA_LSB,
					XAIEGBL_NOC_INTCON2NDLEVSTA_STAA_MASK);
}
u16 XAieTile_NoCIntcL2StatusGet ( XAieGbl_Tile * TileInstPtr ) { u32 RegVal ; XAie_AssertNonvoid ( TileInstPtr != XAIE_NULL ) ; XAie_AssertNonvoid ( TileInstPtr -> TileType == XAIEGBL_TILE_TYPE_SHIMNOC ) ; RegVal = XAieGbl_Read32 ( TileInstPtr -> TileAddr + XAIEGBL_NOC_INTCON2NDLEVSTA ) ; return XAie_GetField ( RegVal , XAIEGBL_NOC_INTCON2NDLEVSTA_STAA_LSB , XAIEGBL_NOC_INTCON2NDLEVSTA_STAA_MASK ) ; }
Variable Definitions
Function Definitions
Variable Definitions Function Definitions