M1966_gpio_control_type, M1966_gpio_data_command – Maxim Integrated 73M1866B/73M1966B Reference Driver User Manual
Page 83

UG_1x66B_015
73M1866B/73M1966B Reference Driver User Guide
Rev. 2.7
83
7.12.3 M1966_GPIO_CONTROL_TYPE
Description
GPIO control type definitios.
Prototype
typedef enum
{
M1966_GPIO_CONTROL_DISABLE = 0, /* disable GPIO */
M1966_GPIO_CONTROL_ENABLE = 1 /* enable GPIO */
}
M1966_GPIO_CONTROL_TYPE;
Parameters
Name
Value
Description
M1966_GPIO_CONTROL_DISABLE
0
Disable GPIO.
M1966_GPIO_CONTROL_ENABLE
1
Enable GPIO.
7.12.4 M1966_GPIO_DATA_COMMAND
Description
GPIO data access command. If the M1966_GPIO_SIGNAL_DIRECTION is set to
M1966_GPIO_DIR_INPUT
, perform the M1966_GPIO_DATA_GET returns the logical value of type
M1966_GPIO_DATA_TYPE
of the appropriate GPIO as an input. If the
M1966_GPIO_SIGNAL_DIRECTION
is set to M1966_GPIO_DIR_OUTPUT, the corresponding GPIO port
outputs the logical value as written.
Prototype
typedef enum
{
M1966_GPIO_DATA_GET = 0, /* Read GPIO data */
M1966_GPIO_DATA_SET = 1 /* Write GPIO data */
}
M1966_GPIO_DATA_COMMAND;
Parameters
Name
Value
Description
M1966_GPIO_DATA_GET
0
Read GPIO data.
M1966_GPIO_DATA_SET
1
Write GPIO data.