XTimerTag - 2023.2 English

Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2023-12-13
Version
2023.2 English

Structure to the XFpga instance.

Declaration

typedef struct
{
  void(* XTimer_ModifyInterval)(struct XTimerTag *InstancePtr, u32 delay, XTimer_DelayType Delaytype),
  void(* XTimer_TickIntrHandler)(struct XTimerTag *InstancePtr, u8 Priority),
  void(* XTimer_TickInterval)(struct XTimerTag *InstancePtr, u32 Delay),
  void(* XSleepTimer_Stop)(struct XTimerTag *InstancePtr),
  void(* XTickTimer_Stop)(struct XTimerTag *InstancePtr),
  void(* XTickTimer_ClearInterrupt)(struct XTimerTag *InstancePtr),
  XTimer_TickHandler Handler,
  void * CallBackRef,
  void(* XTickTimer_ReleaseTickTimer)(struct XTimerTag *InstancePtr),
  XTmrCtr AxiTimer_SleepInst,
  XTmrCtr AxiTimer_TickInst,
  XTtcPs TtcPs_SleepInst,
  XTtcPs TtcPs_TickInst,
  XScuTimer ScuTimer_SleepInst,
  XScuTimer ScuTimer_TickInst
} XTimerTag;
Table 1. Structure XTimerTag member description
Member Description
XTimer_ModifyInterval

Modifies the timer interval

XTimer_TickIntrHandler

Tick interrupt handler

XTimer_TickInterval

Configures the tick interval

XSleepTimer_Stop

Stops the sleep timer

XTickTimer_Stop

Stops the tick timer

XTickTimer_ClearInterrupt

Clears the Tick timer interrupt status

Handler

Callback function

CallBackRef

Callback reference for handler

XTickTimer_ReleaseTickTimer

Timer Release Callback function

AxiTimer_SleepInst Sleep Instance for AxiTimer
AxiTimer_TickInst Tick Instance for AxiTimer
TtcPs_SleepInst Sleep Instance for TTCPS
TtcPs_TickInst Tick Instance for TTCPS
ScuTimer_SleepInst Sleep Instance for Scutimer
ScuTimer_TickInst Tick Instance for Scutimer