libeasymcp2221 2.0.3
Public Attributes | List of all members
mcp2221_gpio_write_t Struct Reference

Per-pin GPIO output update request. More...

#include <mcp2221_gpio.h>

Public Attributes

int gp0
 
int gp1
 
int gp2
 
int gp3
 

Detailed Description

Per-pin GPIO output update request.

Each member controls one MCP2221 GP pin. Valid values are MCP2221_GPIO_KEEP to preserve the current output value, 0 to drive the pin low, and 1 to drive it high.

Definition at line 33 of file mcp2221_gpio.h.

Member Data Documentation

◆ gp0

int mcp2221_gpio_write_t::gp0

Requested output for GP0: MCP2221_GPIO_KEEP, 0, or 1.

Definition at line 34 of file mcp2221_gpio.h.

◆ gp1

int mcp2221_gpio_write_t::gp1

Requested output for GP1: MCP2221_GPIO_KEEP, 0, or 1.

Definition at line 35 of file mcp2221_gpio.h.

◆ gp2

int mcp2221_gpio_write_t::gp2

Requested output for GP2: MCP2221_GPIO_KEEP, 0, or 1.

Definition at line 36 of file mcp2221_gpio.h.

◆ gp3

int mcp2221_gpio_write_t::gp3

Requested output for GP3: MCP2221_GPIO_KEEP, 0, or 1.

Definition at line 37 of file mcp2221_gpio.h.


The documentation for this struct was generated from the following file: