
UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide
Rev. 2.7 65
6.7.3 M1966_GPIO_DATA
Description
This IOCTL is used to read or write data from and to the GPIO pin.
#define M1966_GPIO_DATA _IOWR(0xA4, 0xC2, unsigned int)
Prototype
int ioctl (
int chan_fd,
int M1966_GPIO_DATA,
unsigned long param );
Parameters
Data Type Name Description
Channel descriptor.
I/O control identifier for this operation.
unsigned long param
Pointer to
structure.
Return Values
Data Type Description
0 – Successful.
-1 – Failed to access GPIO data.
Komentáře k této Příručce