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

  • 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 53
73M1822/73M1922 Control Module User Guide UG_1x22_053
54 Rev. 1.0
6.7.3 M1X22_GPIO_DATA
Description
This IOCTL is used to read or write data from and to the GPIO pin.
#define M1X22_GPIO_DATA _IOWR(0xA4, 0xC2, unsigned int)
Prototype
int ioctl (
int chan_fd,
int M1X22_GPIO_DATA,
unsigned long param );
Parameters
Data Type Name Description
int
chan_fd
Channel descriptor.
int
M1X22_GPIO_DATA
I/O control identifier for this operation.
unsigned long param
Pointer to the
M1X22_GPIO_DATA_t
structure.
Return Values
Data Type Description
unsigned int
0 – Successful.
-1 Failed to access GPIO data.
Zobrazit stránku 53
1 2 ... 49 50 51 52 53 54 55 56 57 58 59 ... 85 86

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

Žádné komentáře