Selects the method the toolkit uses when reading or writing data in digital domains. Call this subroutine once in user_init().


int dcrp_align_read (flag)

int flag;

Input Parameters


Indicates how bits in a digital domain are to be read or written. Set the parameter to one of the following:


Calculate the byte the requested bit belongs in and read that byte.


Read one byte starting at the point's address. This may cause the user read function to read data beyond the valid address if the bit requested is at the end of the domain.

More information

Device Communications Toolkit other subroutines.