29#include "bitbang_i2c.h"
30#include "bitbang_spi.h"
90 unsigned char regs[22];
91 unsigned char reg_addr;
94 unsigned char so_active;
95 unsigned char inta_value;
96 unsigned char intb_value;
103void io_MCP23X17_set_addr(
io_MCP23X17_t* mcp,
unsigned char addr);
104void io_MCP23X17_set_inputs(
io_MCP23X17_t* mcp,
unsigned char porta,
unsigned char portb);
106unsigned char io_MCP23X17_SPI_io(
io_MCP23X17_t* mcp,
unsigned char si,
unsigned char sck,
unsigned char rst,
108unsigned char io_MCP23X17_I2C_io(
io_MCP23X17_t* mcp,
unsigned char scl,
unsigned char sda);
Definition bitbang_i2c.h:39
Definition bitbang_spi.h:35
Definition io_MCP23X17.h:89