User`s manual

RabbitFLEX User’s Manual www.rabbit.com 89
flexDigShadow
int flexDigShadow(Flex_IOPin *pin);
DESCRIPTION
Reads the shadow (last value) of the given digital output channel.
PARAMETER
pin Pointer to the information structure for the selected I/O pin.
RETURN VALUE
0: value of the shadow
0xFF: no shadow value (digital channel not yet used)
<0: error (not a valid digital input or output?)
SEE ALSO
flexDigIn, flexDigOut, flexDigInGroup16, flexDigOutGroup16