Maxim-integrated 73M1822/73M1922 Control Module Instrukcja Użytkownika Strona 52

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 86
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 51
73M1822/73M1922 Control Module User Guide UG_1x22_053
52 Rev. 1.0
6.7 GPIO Services
6.7.1 M1X22_GPIO_CONFIG
Description
The ioctl is used to configure the GPIO pin.
#define M1X22_GPIO_CONFIG _IOWR(0xA4, 0xC0, unsigned int)
Prototype
int ioctl (
int chan_fd,
int M1X22_GPIO_CONFIG,
unsigned long param );
Parameters
Data Type Name Description
int
chan_fd
Channel descriptor.
int
M1X22_GPIO_CONFIG
I/O control identifier for this operation.
unsigned long
param
Pointer to
M1X22_GPIO_CONFIG_t
.
Return Values
Data Type Description
unsigned int
0 – Successful.
-1 Failed to configure GPIO.
Przeglądanie stron 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 85 86

Komentarze do niniejszej Instrukcji

Brak uwag