Eddy DK Programmer Guide
SETGPIOMOD_LA
SETGPIOMOD_LB
SETGPIOMOD_LC
Sets Read/Write direction for one of Port A, B, C
void ioctl(int fd, SETGPIOMOD_L?, int *mode[3]);
Handle to GPIO device(‚/dev/eddy_gpio‛)
Pointer to the buffer that stores ‚mode‛ value.
Bit value 0 means input, 1 means output.
Any value is ok for bits that are not set to be used GPIO
GETGPIOMOD_LA
GETGPIOMOD_LB
GETGPIOMOD_LC
Reads Read/Write direction for one of Port A, B, C
void ioctl(int fd, GETGPIOMOD_L?, int *mode[3]);
Handle to GPIO device(‚/dev/eddy_gpio‛)
Pointer to the buffer that will store the ‚mode‛
value.
SETGPIOVAL_LA
SETGPIOVAL_LB
SETGPIOVAL_LC
Sets output value when Port is in output mode.
void ioctl(int fd, SETGPIOVAL_L?, int *value[3]);
Handle to GPIO device(‚/dev/eddy_gpio‛)
Pointer to the buffer that stores the ‚value‛ value.
Bit value 0 means Low, 1 means High.
Any value is ok for bits that are not set to be used GPIO
Commentaires sur ces manuels