Eddy DK Programmer Guide
117
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
GETGPIOPUL_LA
GETGPIOPUL_LB
GETGPIOPUL_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 “pullup”
value.
Returns
None
Notice
Содержание Eddy DK
Страница 1: ...1 Eddy DK Programmer Guide Ver 2 5 1 1 2011 02 15...
Страница 10: ...Eddy DK Programmer Guide 10 2 3 Eddy CPU v2 1 v2 5...
Страница 36: ...Eddy DK Programmer Guide 36 2 4 4 External Device Interface Description...
Страница 47: ...Eddy DK Programmer Guide 47 Eddy S4M v2 1 Eddy S4M v2 5...