Solvline Eddy DK Manuel d'utilisateur Page 118

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 150
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 117
Eddy DK Programmer Guide
118
SETGPIOMOD_LA
SETGPIOMOD_LB
SETGPIOMOD_LC
Function
Sets Read/Write direction for one of Port A, B, C
Format
void ioctl(int fd, SETGPIOMOD_L?, int *mode[3]);
Parameter
fd
Handle to GPIO device(/dev/eddy_gpio)
mode
Pointer to the buffer that stores mode value.
Bit value 0 means input, 1 means output.
Returns
None
Notice
Any value is ok for bits that are not set to be used GPIO
GETGPIOMOD_LA
GETGPIOMOD_LB
GETGPIOMOD_LC
Function
Reads Read/Write direction for one of Port A, B, C
Format
void ioctl(int fd, GETGPIOMOD_L?, int *mode[3]);
Parameter
fd
Handle to GPIO device(/dev/eddy_gpio)
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
Vue de la page 117
1 2 ... 113 114 115 116 117 118 119 120 121 122 123 ... 149 150

Commentaires sur ces manuels

Pas de commentaire