Modules | Defines

Internal Time Frame Generator Register arrangement
[Macros for XSPRESS3]

Modules

 Internal Time Frame Generator Trigger Modes
 Internal Time Frame Generator Minimum frame to frame gap

Defines

#define XSP3_ITFG_SET_FRAMES(x)   ((x)&0xFFFFFF)
 Set number of frames for internal TFG.
#define XSP3_ITFG_SET_TRIG_MODE(x)   (((x)&7)<<24)
 Set trigger mode for internal TFG. See XSP3_ITFG_TRIG_MODE.
#define XSP3_ITFG_SET_GAP_MODE(x)   (((x)&3)<<30)
 Set Miniumum mode for internal TFG.
#define XSP3_ITFG_MAX_NUM_FRAMES   0xFFFFFF
 Maximum number of time frames for internal TFG. Note that configurAtion of rest of system will usually limit the number of frame to less than this.
#define XSP3_ITFG_GET_FRAMES(x)   ((x)&0xFFFFFF)
 Get number of frames for internal TFG.
#define XSP3_ITFG_GET_TRIG_MODE(x)   (((x)>>24)&7)
 Get trigger mode for internal TFG.
#define XSP3_ITFG_GET_GAP_MODE(x)   (((x)>>30)&3)
 Get fraem to frame gap mode for internal TFG.

Define Documentation

#define XSP3_ITFG_GET_FRAMES (   x  )     ((x)&0xFFFFFF)

Get number of frames for internal TFG.

#define XSP3_ITFG_GET_GAP_MODE (   x  )     (((x)>>30)&3)

Get fraem to frame gap mode for internal TFG.

#define XSP3_ITFG_GET_TRIG_MODE (   x  )     (((x)>>24)&7)

Get trigger mode for internal TFG.

#define XSP3_ITFG_MAX_NUM_FRAMES   0xFFFFFF

Maximum number of time frames for internal TFG. Note that configurAtion of rest of system will usually limit the number of frame to less than this.

#define XSP3_ITFG_SET_FRAMES (   x  )     ((x)&0xFFFFFF)

Set number of frames for internal TFG.

#define XSP3_ITFG_SET_GAP_MODE (   x  )     (((x)&3)<<30)

Set Miniumum mode for internal TFG.

#define XSP3_ITFG_SET_TRIG_MODE (   x  )     (((x)&7)<<24)

Set trigger mode for internal TFG. See XSP3_ITFG_TRIG_MODE.