Eddy DK Programmer Guide
GETGPIOVAL_LA
GETGPIOVAL_LB
GETGPIOVAL_LC
Reads Read/Write status value for one of Port A, B, C
void ioctl(int fd, GETGPIOVAL_L?, int *mode[3]);
Handle to GPIO device(‚/dev/eddy_gpio‛)
Pointer to the buffer that will store the ‚value‛
value.
SETGPIOPUL_LA
SETGPIOPUL_LB
SETGPIOPUL_LC
Sets pullup value when Port is in input mode.
void ioctl(int fd, SETGPIOVAL_L?, int *value[3]);
Handle to GPIO device(‚/dev/eddy_gpio‛)
Pointer to the buffer that stores the ‚pullup‛ value.
Bit value 0 means Pulldown, 1 means Pullup.
Any value is ok for bits that are not set to be used GPIO
GETGPIOPUL_LA
GETGPIOPUL_LB
GETGPIOPUL_LC
Reads Read/Write status value for one of Port A, B, C
void ioctl(int fd, GETGPIOVAL_L?, int *mode[3]);
Handle to GPIO device(‚/dev/eddy_gpio‛)
Pointer to the buffer that will store the ‚pullup‛
value.
Commentaires sur ces manuels