M1966_gpio_data_type, M1966_gpio_signal_direction – Maxim Integrated 73M1866B/73M1966B Reference Driver User Manual
Page 84

73M1866B/73M1966B Reference Driver User Guide
UG_1x66B_015
84
Rev. 2.7
7.12.5 M1966_GPIO_DATA_TYPE
Description
GPIO data types – this is the GPIO data returned from the M1966_GPIO_DATA_GET access command,
or data to be written to the GPIO port using the M1966_GPIO_DATA_SET access command.
Prototype
typedef enum
{
M1966_GPIO_DATA_LOW = 0, /* GPIO data - low */
M1966_GPIO_DATA_HIGH = 1 /* GPIO data - high */
}
M1966_GPIO_DATA_TYPE;
Parameters
Name
Value
Description
M1966_GPIO_DATA_LOW
0
GPIO data – low.
M1966_GPIO_DATA_HIGH
1
GPIO data – high.
7.12.6 M1966_GPIO_SIGNAL_DIRECTION
Description
GPIO pin signal direction. This control bit is used to designate the GPIO pin as either input or output.
Prototype
typedef enum {
M1966_GPIO_DIR_INPUT = 0, /* GPIO pin signal direction – INPUT */
M1966_GPIO_DIR_OUTPUT = 1 /* GPIO pin signal direction - OUTPUT */
}
M1966_GPIO_SIGNAL_DIRECTION;
Parameters
Name
Value
Description
M1966_GPIO_DIR_INPUT
0
GPIO pin signal direction – INPUT.
M1966_GPIO_DIR_OUTPUT
1
GPIO pin signal direction – OUTPUT.