GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PIG / V9-0-0

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, CMD, RSP)
 Add the node specified to the command response masks and insert commands to bcast to the node.
#define REMOVE_CR_NODE(NODE_MASK, CMD, RSP)
 Remove the specified node from the command response masks.

Detailed Description

Definition of the macros used in the PIG functions.

Author:
James Swain & Owen Saxton
Id
pig_macro_p.h,v 1.17 2006/07/12 23:16:05 saxton Exp

Define Documentation

#define ADD_CR_NODE CRP,
NODE_MASK,
CMD,
RSP   ) 
 

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,
CMD,
RSP   ) 
 

Value:

CMD &= ~(NODE_MASK); \
  RSP &= ~(NODE_MASK);
Remove the specified node from the command response masks.


Generated on Thu Oct 26 13:56:53 2006 by  doxygen 1.4.4