MX Foundation 4
MXF_ASCB_FC Struct Reference

ASCB Freshness Counter Structure. More...

#include <mxf_class_ascb.h>

Data Fields

uint64 enable
 
uint64 position
 
uint64 mask
 

Detailed Description

Freshness Counter structure is used by mxfASCBMsgFreshnessCounterSet() and mxfASCBMsgFreshnessCounterGet() functions to set or get the freshness counter information of an address.

Examples:
ascb_bc.c, ascb_bm.c, and ascb_user.c.

Field Documentation

MXF_ASCB_FC::enable

State of freshness counter (1: Enable, 0: Disable).

Examples:
ascb_bc.c, ascb_bm.c, and ascb_user.c.
MXF_ASCB_FC::position

Word position of freshness counter in the message (0-255).

Examples:
ascb_bc.c, ascb_bm.c, and ascb_user.c.
MXF_ASCB_FC::mask

Mask of freshness counter in the message (0x0001-0xffff). Specify which bit of the word will be used as freshness counter. Bits must be consecutive. A mask of 0x00f0 will set a freshness counter of 4 bits (0-15) at bit position 4-7 of the word.

Examples:
ascb_bc.c, ascb_bm.c, and ascb_user.c.
Updated 10/23/2023