Solvline Eddy DKV2.1.0.3 User Manual
Page 97

Chapter 6. Library
Introduction
97
mode
Pointer to the buffer that will store the ‚mode‛
value.
Returns
None
Notice
SETGPIOVAL_LA
SETGPIOVAL_LB
SETGPIOVAL_LC
Function
Sets output value when Port is in output mode.
Format
void ioctl(int fd, SETGPIOVAL_L?, int *value[3]);
Parameter
fd
Handle to GPIO device(‚/dev/eddy_gpio‛)
mode
Pointer to the buffer that stores the ‚value‛ value.
Bit value 0 means Low, 1 means High.
Returns
None
Notice
Any value is ok for bits that are not set to be used GPIO
GETGPIOVAL_LA
GETGPIOVAL_LB
GETGPIOVAL_LC
Function
Reads Read/Write status value for one of Port A, B, C
Format
void ioctl(int fd, GETGPIOVAL_L?, int *mode[3]);
Parameter
fd
Handle to GPIO device(‚/dev/eddy_gpio‛)
mode
Pointer to the buffer that will store the ‚value‛
value.
Returns
None
Notice
SETGPIOPUL_LA
SETGPIOPUL_LB
SETGPIOPUL_LC
Function
Sets pullup value when Port is in input mode.
Format
void ioctl(int fd, SETGPIOVAL_L?, int *value[3]);
Parameter
fd
Handle to GPIO device(‚/dev/eddy_gpio‛)
mode
Pointer to the buffer that stores the ‚pullup‛ value.
Bit value 0 means Pulldown, 1 means Pullup.
Returns
None
Notice
Any value is ok for bits that are not set to be used GPIO