Rev 270 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#ifndef MCP23009_H
#define MCP23009_H
#define MCP23009_ADDR 0x20
#define MCP23009_IODIRA 0x00
#define MCP23009_IPOLA 0x01
#define MCP23009_GPINTENA 0x02
#define MCP23009_DEFVALA 0x03
#define MCP23009_INTCONA 0x04
#define MCP23009_IOCON 0x05
#define MCP23009_GPPUA 0x06
#define MCP23009_INTFA 0x07
#define MCP23009_INTCAPA 0x08
#define MCP23009_GPIOA 0x09
#define MCP23009_OLATA 0x0A
void MCP23009_Init(BTN_STATUS *status);
void MCP23009_Query(void);
void MSP23009_Interrupt(void);
#endif /* MCP23009_H */