
73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015
86 Rev. 2.7
7.12.9 M1966_GPIO_DATA_t
Description
This structure is used by the M1966_GPIO_DATA IOCTLs to read or write GPIO signal from or to the
GPIO pin.
Prototype
typedef struct gpio_data
{
M1966_GPIO_DATA_COMMAND command; /* command */
M1966_GPIO_NUMBER gpio; /* GPIO number */
M1966_GPIO_DATA_TYPE data; /* data */
}
M1966_GPIO_DATA_t;
Parameters
Data Type Name Description
Read or Write command.
GPIO number.
Signal level to be written to the GPIO pin.
7.12.10 M1966_GPIO_CONTROL_t
Description
This structure is used by the M1966_GPIO_CONTROL IOCTLs to enable or disable the operation of the
GPIO.
Prototype
typedef struct gpio_control
{
M1966_GPIO_CONTROL_TYPE control; /* control - enable/disable */
M1966_GPIO_NUMBER gpio; /* gpio */
}
M1966_GPIO_CONTROL_t;
Parameters
Data Type Name Description
Control – enable/disable GPIO.
GPIO number.
Komentáře k této Příručce