Maxim-integrated 73M1822/73M1922 Control Module Uživatelský manuál Strana 53

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 86
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 52
UG_1x22_053 73M1822/73M1922 Control Module User Guide
Rev. 1.0 53
6.7.2 M1X22_GPIO_CONTROL
Description
The ioctl is used to control the operation of the GPIO pin.
#define M1X22_GPIO_CONTROL _IOWR(0xA4, 0xC1, unsigned int)
Prototype
int ioctl (
int chan_fd,
int M1X22_GPIO_CONTROL,
unsigned long param );
Parameters
Data Type Name Description
int
chan_fd
Channel descriptor.
int
M1X22_GPIO_CONTROL
I/O control identifier for this operation.
unsigned long
param
Pointer to
M1X22_GPIO_CONTROL_t
.
Return Values
Data Type Description
unsigned int
0 – Successful.
-1 Failed to control GPIO.
Zobrazit stránku 52
1 2 ... 48 49 50 51 52 53 54 55 56 57 58 ... 85 86

Komentáře k této Příručce

Žádné komentáře