3.2.3 Memory Interface Functions
All accesses to the memory blocks within the data file are done through the
dp_get_data
function within the DirectC code. This is true for all system
types.
This function returns an address pointer to the byte containing the first requested bit. The
dp_get_data
function takes two arguments:
var_ID
: An integer variable, which contains an identifier specifying which block within the data file needs to be accessed.bit_index
: The bit index addressing the bit to address within the data block specified inVar_ID
. Upon completion of the function, it is expected thatreturn_bytes
indicates the total number of valid bytes available for the client of the function.
See Systems with Direct Access to the Memory Containing the Data File and Systems with Indirect Access to the Data File for more details.