DCRP_ALIGN_READ

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

Syntax

int dcrp_align_read (flag)

int flag;

Input Parameters

flag

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

TRUE

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

FALSE

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.