GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PIG / V8-8-2

Constituent: pig_flying     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

pig_macro_p.h File Reference

Definition of the macros used in the PIG functions. More...

#include "pig_p.h"
#include "lem_p.h"

Include dependency graph for pig_macro_p.h:

This graph shows which files directly or indirectly include this file:


Defines

#define LOOK_AT_ME_EPU(CRP, EPU_ADDR, SIU_ADDR)
 Broadcast a LOOK_AT_ME to the EPU including the EPU physical address and the address of the commanding SIU.
#define ADD_CR_NODE(CRP, NODE_MASK)
 Add the node specified to the command response masks and insert commands to bcast to the node.
#define REMOVE_CR_NODE(NODE_MASK)
 Removed the specified node from the command response masks.

Detailed Description

Definition of the macros used in the PIG functions.

Author:
James Swain - jswain@slac.stanford.edu

Define Documentation

#define ADD_CR_NODE CRP,
NODE_MASK   ) 
 

Value:

cmd |= NODE_MASK; \
  rsp |= NODE_MASK; \
  LEM_LOAD(CRP, CRU_encode, CRU_COMMAND, NODE_MASK); \
  LAM_encode (LEM_NEXT_CI(CRP), LEM_ADDR_SLV_BCAST); \
  LEM_Q_IF_FULL(CRP, LEM_handleLoadErrors);
Add the node specified to the command response masks and insert commands to bcast to the node.

#define LOOK_AT_ME_EPU CRP,
EPU_ADDR,
SIU_ADDR   ) 
 

Value:

LAM_LCB_encode(LEM_NEXT_CI(CRP), LEM_ADDR_MST_BCAST, (SIU_ADDR << 17) | (EPU_ADDR << 8), 0xe1f00);  \
  LEM_Q_IF_FULL(CRP, LEM_handleLoadErrors);
Broadcast a LOOK_AT_ME to the EPU including the EPU physical address and the address of the commanding SIU.

#define REMOVE_CR_NODE NODE_MASK   ) 
 

Value:

cmd &= ~NODE_MASK; \
  rsp &= ~NODE_MASK;
Removed the specified node from the command response masks.


Generated on Wed Mar 15 23:40:04 2006 by  doxygen 1.4.4