GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LEM / V4-6-0

Constituent: lem     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

parity_macros.h File Reference

Selectively invert parity bits. More...

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


Defines

#define BSC_PFX_PARITY(CMD, PARITY)   CMD.bsc_pfx.parity_cs ^= (0x1 & (PARITY >> LEM_PARITY_CMD_STRING));
 Invert the parity bit as specified by the parity word.
#define CAL_PFX_PARITY(CMD, PARITY)   CMD.cal_pfx.parity_cs ^= (0x1 & (PARITY >> LEM_PARITY_CMD_STRING));
 Invert the parity bit as specified by the parity word.
#define TKR_PFX_PARITY(CMD, PARITY)   CMD.tkr_pfx.parity_cs ^= (0x1 & (PARITY >> LEM_PARITY_CMD_STRING));
 Invert the parity bit as specified by the parity word.
#define LCL_PLD_PARITY(CMD, PARITY)   CMD.lcl_pld.parity_pld ^= (0x1 & (PARITY >> LEM_PARITY_CMD_PAYLOAD));
 Invert the parity bit as specified by the parity word.
#define AEM_ENV_PLD_PARITY(CMD, PARITY)   CMD.aen_pld.parity_pld ^= (0x1 & (PARITY >> LEM_PARITY_CMD_PAYLOAD));
 Invert the parity bit as specified by the parity word.
#define ARC_PLD_PARITY(CMD, PARITY)   CMD.arc_pld.parity_pld ^= (0x1 & (PARITY >> LEM_PARITY_CMD_PAYLOAD));
 Invert the parity bit as specified by the parity word.
#define AFE_PLD_PARITY(CMD, PARITY)   CMD.afe_pld.parity_pld ^= (0x1 & (PARITY >> LEM_PARITY_CMD_PAYLOAD));
 Invert the parity bit as specified by the parity word.
#define CAL_PLD_PARITY(CMD, PARITY)   CMD.cal_cmd.parity_pld ^= (0x1 & (PARITY >> LEM_PARITY_CMD_PAYLOAD));
 Invert the parity bit as specified by the parity word.
#define TKR_PLD_PARITY(CMD, PARITY)   CMD.tkr_cmd.parity_pld ^= (0x1 & (PARITY >> LEM_PARITY_CMD_PAYLOAD));
 Invert the parity bit as specified by the parity word.
#define LCL_CMD_PARITY(CMD, PARITY)   CMD.lcl_cmd.parity_ad ^= (0x1 & (PARITY >> LEM_PARITY_ACCESS_DESC));
 Invert the parity bit as specified by the parity word CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements.
#define DAB_CMD_PARITY(CMD, PARITY)   CMD.dab_cmd.parity ^= (0x1 & (PARITY >> LEM_PARITY_ACCESS_DESC));
 Invert the parity bit as specified by the parity word.
#define ACD_CMD_PARITY(CMD, PARITY)   CMD.acd_cmd.parity_ad ^= (0x1 & (PARITY >> LEM_PARITY_ACCESS_DESC));
 Invert the parity bit as specified by the parity word.
#define CAL_CMD_PARITY(CMD, PARITY)   CMD.cal_cmd.parity_ad ^= (0x1 & (PARITY >> LEM_PARITY_ACCESS_DESC));
 Invert the parity bit as specified by the parity word.
#define TKR_CMD_PARITY(CMD, PARITY)   CMD.tkr_cmd.parity_ad ^= (0x1 & (PARITY >> LEM_PARITY_ACCESS_DESC));
 Invert the parity bit as specified by the parity word.
#define TEM_PARITY(CMD, PARITY)
 Invert any parity bits as specified by the parity word.
#define TIC_PARITY(CMD, PARITY)
 Invert any parity bits as specified by the parity word.
#define CCC_PARITY(CMD, PARITY)
 Invert any parity bits as specified by the parity word.
#define CRC_PARITY(CMD, PARITY)
 Invert any parity bits as specified by the parity word.
#define CFE_PARITY(CMD, PARITY)
 Invert any parity bits as specified by the parity word.
#define TCC_PARITY(CMD, PARITY)
 Invert any parity bits as specified by the parity word.
#define TRC_PARITY(CMD, PARITY)
 Invert any parity bits as specified by the parity word.
#define TFE_PARITY(CMD, PARITY)
 Invert any parity bits as specified by the parity word.
#define AEM_PARITY(CMD, PARITY)
 Invert any parity bits as specified by the parity word.
#define AEM_ENV_PARITY(CMD, PARITY)
 Invert any parity bits as specified by the parity word.
#define ARC_PARITY(CMD, PARITY)
 Invert any parity bits as specified by the parity word.
#define AFE_PARITY(CMD, PARITY)
 Invert any parity bits as specified by the parity word.
#define PDU_PARITY(CMD, PARITY)   DAB_CMD_PARITY(CMD, PARITY)
 Invert any parity bits as specified by the parity word.
#define PDU_ENV_PARITY(CMD, PARITY)   DAB_CMD_PARITY(CMD, PARITY)
 Invert any parity bits as specified by the parity word.
#define CRU_PARITY(CMD, PARITY)   DAB_CMD_PARITY(CMD, PARITY)
 Invert any parity bits as specified by the parity word.
#define EBM_PARITY(CMD, PARITY)   DAB_CMD_PARITY(CMD, PARITY)
 Invert any parity bits as specified by the parity word.
#define EBM_STAT_PARITY(CMD, PARITY)   DAB_CMD_PARITY(CMD, PARITY)
 Invert any parity bits as specified by the parity word.
#define GEM_PARITY(CMD, PARITY)   DAB_CMD_PARITY(CMD, PARITY)
 Invert any parity bits as specified by the parity word.

Detailed Description

Selectively invert parity bits.

Author:
James Swain - jswain@slac.stanford.edu
history 19 Oct 2004: Created 01 Feb 2004: Modified the DAB_CMD_PARITY macro to consider the LEM_PARITY_ACCESS_DESC bit of the parity requirments rather than the LEM_PARITY_CMD_PAYLOAD

Define Documentation

#define ACD_CMD_PARITY CMD,
PARITY   )     CMD.acd_cmd.parity_ad ^= (0x1 & (PARITY >> LEM_PARITY_ACCESS_DESC));
 

Invert the parity bit as specified by the parity word.

CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements

#define AEM_ENV_PARITY CMD,
PARITY   ) 
 

Value:

{\
  BSC_PFX_PARITY(CMD, PARITY) \
  LCL_CMD_PARITY(CMD, PARITY) \
  AEM_ENV_PLD_PARITY(CMD, PARITY) \
}
Invert any parity bits as specified by the parity word.

CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements

#define AEM_ENV_PLD_PARITY CMD,
PARITY   )     CMD.aen_pld.parity_pld ^= (0x1 & (PARITY >> LEM_PARITY_CMD_PAYLOAD));
 

Invert the parity bit as specified by the parity word.

CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements

#define AEM_PARITY CMD,
PARITY   ) 
 

Value:

{\
  BSC_PFX_PARITY(CMD, PARITY) \
  LCL_CMD_PARITY(CMD, PARITY) \
  LCL_PLD_PARITY(CMD, PARITY) \
}
Invert any parity bits as specified by the parity word.

CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements

#define AFE_PARITY CMD,
PARITY   ) 
 

Value:

{\
  BSC_PFX_PARITY(CMD, PARITY) \
  ACD_CMD_PARITY(CMD, PARITY) \
  AFE_PLD_PARITY(CMD, PARITY) \
}
Invert any parity bits as specified by the parity word.

CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements

#define AFE_PLD_PARITY CMD,
PARITY   )     CMD.afe_pld.parity_pld ^= (0x1 & (PARITY >> LEM_PARITY_CMD_PAYLOAD));
 

Invert the parity bit as specified by the parity word.

CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements

#define ARC_PARITY CMD,
PARITY   ) 
 

Value:

{\
  BSC_PFX_PARITY(CMD, PARITY) \
  ACD_CMD_PARITY(CMD, PARITY) \
  ARC_PLD_PARITY(CMD, PARITY) \
}
Invert any parity bits as specified by the parity word.

CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements

#define ARC_PLD_PARITY CMD,
PARITY   )     CMD.arc_pld.parity_pld ^= (0x1 & (PARITY >> LEM_PARITY_CMD_PAYLOAD));
 

Invert the parity bit as specified by the parity word.

CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements

#define BSC_PFX_PARITY CMD,
PARITY   )     CMD.bsc_pfx.parity_cs ^= (0x1 & (PARITY >> LEM_PARITY_CMD_STRING));
 

Invert the parity bit as specified by the parity word.

CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements

#define CAL_CMD_PARITY CMD,
PARITY   )     CMD.cal_cmd.parity_ad ^= (0x1 & (PARITY >> LEM_PARITY_ACCESS_DESC));
 

Invert the parity bit as specified by the parity word.

CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements

#define CAL_PFX_PARITY CMD,
PARITY   )     CMD.cal_pfx.parity_cs ^= (0x1 & (PARITY >> LEM_PARITY_CMD_STRING));
 

Invert the parity bit as specified by the parity word.

CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements

#define CAL_PLD_PARITY CMD,
PARITY   )     CMD.cal_cmd.parity_pld ^= (0x1 & (PARITY >> LEM_PARITY_CMD_PAYLOAD));
 

Invert the parity bit as specified by the parity word.

CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements

#define CCC_PARITY CMD,
PARITY   ) 
 

Value:

{\
  CAL_PFX_PARITY(CMD, PARITY) \
  LCL_CMD_PARITY(CMD, PARITY) \
  LCL_PLD_PARITY(CMD, PARITY) \
}
Invert any parity bits as specified by the parity word.

CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements

#define CFE_PARITY CMD,
PARITY   ) 
 

Value:

{\
  CAL_PFX_PARITY(CMD, PARITY) \
  CAL_CMD_PARITY(CMD, PARITY) \
  CAL_PLD_PARITY(CMD, PARITY) \
}
Invert any parity bits as specified by the parity word.

CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements

#define CRC_PARITY CMD,
PARITY   ) 
 

Value:

{\
  CAL_PFX_PARITY(CMD, PARITY) \
  CAL_CMD_PARITY(CMD, PARITY) \
  CAL_PLD_PARITY(CMD, PARITY) \
}
Invert any parity bits as specified by the parity word.

CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements

#define CRU_PARITY CMD,
PARITY   )     DAB_CMD_PARITY(CMD, PARITY)
 

Invert any parity bits as specified by the parity word.

CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements

#define DAB_CMD_PARITY CMD,
PARITY   )     CMD.dab_cmd.parity ^= (0x1 & (PARITY >> LEM_PARITY_ACCESS_DESC));
 

Invert the parity bit as specified by the parity word.

CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements

#define EBM_PARITY CMD,
PARITY   )     DAB_CMD_PARITY(CMD, PARITY)
 

Invert any parity bits as specified by the parity word.

CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements

#define EBM_STAT_PARITY CMD,
PARITY   )     DAB_CMD_PARITY(CMD, PARITY)
 

Invert any parity bits as specified by the parity word.

CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements

#define GEM_PARITY CMD,
PARITY   )     DAB_CMD_PARITY(CMD, PARITY)
 

Invert any parity bits as specified by the parity word.

CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements

#define LCL_PLD_PARITY CMD,
PARITY   )     CMD.lcl_pld.parity_pld ^= (0x1 & (PARITY >> LEM_PARITY_CMD_PAYLOAD));
 

Invert the parity bit as specified by the parity word.

CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements

#define PDU_ENV_PARITY CMD,
PARITY   )     DAB_CMD_PARITY(CMD, PARITY)
 

Invert any parity bits as specified by the parity word.

CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements

#define PDU_PARITY CMD,
PARITY   )     DAB_CMD_PARITY(CMD, PARITY)
 

Invert any parity bits as specified by the parity word.

CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements

#define TCC_PARITY CMD,
PARITY   ) 
 

Value:

{\
  TKR_PFX_PARITY(CMD, PARITY) \
  LCL_CMD_PARITY(CMD, PARITY) \
  LCL_PLD_PARITY(CMD, PARITY) \
}
Invert any parity bits as specified by the parity word.

CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements

#define TEM_PARITY CMD,
PARITY   ) 
 

Value:

{\
  BSC_PFX_PARITY(CMD, PARITY) \
  LCL_CMD_PARITY(CMD, PARITY) \
  LCL_PLD_PARITY(CMD, PARITY) \
}
Invert any parity bits as specified by the parity word.

CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements

#define TFE_PARITY CMD,
PARITY   ) 
 

Value:

{\
  TKR_PFX_PARITY(CMD, PARITY) \
  TKR_CMD_PARITY(CMD, PARITY) \
  TKR_PLD_PARITY(CMD, PARITY) \
}
Invert any parity bits as specified by the parity word.

CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements

#define TIC_PARITY CMD,
PARITY   ) 
 

Value:

{\
  BSC_PFX_PARITY(CMD, PARITY) \
  LCL_CMD_PARITY(CMD, PARITY) \
  LCL_PLD_PARITY(CMD, PARITY) \
}
Invert any parity bits as specified by the parity word.

CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements

#define TKR_CMD_PARITY CMD,
PARITY   )     CMD.tkr_cmd.parity_ad ^= (0x1 & (PARITY >> LEM_PARITY_ACCESS_DESC));
 

Invert the parity bit as specified by the parity word.

CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements

#define TKR_PFX_PARITY CMD,
PARITY   )     CMD.tkr_pfx.parity_cs ^= (0x1 & (PARITY >> LEM_PARITY_CMD_STRING));
 

Invert the parity bit as specified by the parity word.

CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements

#define TKR_PLD_PARITY CMD,
PARITY   )     CMD.tkr_cmd.parity_pld ^= (0x1 & (PARITY >> LEM_PARITY_CMD_PAYLOAD));
 

Invert the parity bit as specified by the parity word.

CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements

#define TRC_PARITY CMD,
PARITY   ) 
 

Value:

{\
  TKR_PFX_PARITY(CMD, PARITY) \
  TKR_CMD_PARITY(CMD, PARITY) \
  TKR_PLD_PARITY(CMD, PARITY) \
}
Invert any parity bits as specified by the parity word.

CMD Should be a LATpCommand variable PARITY Bit field indicating the EVEN/ODD parity requirements


Generated on Mon Dec 12 20:43:31 2005 by  doxygen 1.4.4