XilinxProcessorIPLib/drivers/aiengine/src/tile/xaietile_timer.c
static void XAieTile_SetTimerTrigEventVal(XAieGbl_Tile *TileInstPtr,
					  u32 LowEventValue, u32 HighEventValue,
					  u32 ModuleType)
{
	u64 RegAddr;

	/* Set up Timer low event value */
	RegAddr = TileInstPtr->TileAddr +
		  TimerReg[ModuleType].TrigEventLowValOff;
	XAieGbl_Write32(RegAddr, LowEventValue);
	/* Set up Timer high event value */
	RegAddr = TileInstPtr->TileAddr +
		  TimerReg[ModuleType].TrigEventHighValOff;
	XAieGbl_Write32(RegAddr, HighEventValue);
}
/************************** Internal Function Definitions ********************/
/*****************************************************************************/
/**
*
* This API sets the timer trigger events value. Timer low event will generate
* if the timer low reaches the specified low event value. Timer high event
* will generate if the timer high reaches the specified high event value.
*
* @param	TileInstPtr - Pointer to the tile instance.
* @param	LowEventValue - Value to set for the timer to trigger timer low
*                               event.
* @param	HighEventValue - Value to set for the timer to trigger timer
*                                high event.
* @param	ModuleType - Type of the module
*
* @return	None.
*
* @note		Used only within this file.
*
*******************************************************************************/
Internal Function Definitions
This API sets the timer trigger events value. Timer low event will generate
if the timer low reaches the specified low event value. Timer high event
will generate if the timer high reaches the specified high event value.
Internal Function Definitions This API sets the timer trigger events value . Timer low event will generate if the timer low reaches the specified low event value . Timer high event will generate if the timer high reaches the specified high event value .
static void XAieTile_SetTimerTrigEventVal(XAieGbl_Tile *TileInstPtr,
					  u32 LowEventValue, u32 HighEventValue,
					  u32 ModuleType)
{
	u64 RegAddr;
	RegAddr = TileInstPtr->TileAddr +
		  TimerReg[ModuleType].TrigEventLowValOff;
	XAieGbl_Write32(RegAddr, LowEventValue);
	RegAddr = TileInstPtr->TileAddr +
		  TimerReg[ModuleType].TrigEventHighValOff;
	XAieGbl_Write32(RegAddr, HighEventValue);
}
static void XAieTile_SetTimerTrigEventVal ( XAieGbl_Tile * TileInstPtr , u32 LowEventValue , u32 HighEventValue , u32 ModuleType ) { u64 RegAddr ; RegAddr = TileInstPtr -> TileAddr + TimerReg [ ModuleType ] . TrigEventLowValOff ; XAieGbl_Write32 ( RegAddr , LowEventValue ) ; RegAddr = TileInstPtr -> TileAddr + TimerReg [ ModuleType ] . TrigEventHighValOff ; XAieGbl_Write32 ( RegAddr , HighEventValue ) ; }
Internal Function Definitions
This API sets the timer trigger events value.
Internal Function Definitions This API sets the timer trigger events value .
/* Set up Timer low event value */ /* Set up Timer high event value */