![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
initialisatie met niels zn functies
Dependencies: mbed
MCP23017.h
- Committer:
- rcwinder
- Date:
- 2017-06-08
- Revision:
- 0:e206ee5c4d91
File content as of revision 0:e206ee5c4d91:
#ifndef MCP23017_H #define MCP23017_H /* Register names (when IOCON.BANK is 0, which it is after POR) */ #define MCP_IODIRA 0x00 #define MCP_IODIRB 0x01 #define MCP_IPOLA 0x02 #define MCP_IPOLB 0x03 #define MCP_GPINTENA 0x04 #define MCP_GPINTENB 0x05 #define MCP_DEFVALA 0x06 #define MCP_DEFVALB 0x07 #define MCP_INTCONA 0x08 #define MCP_INTCONB 0x09 #define MCP_IOCON 0x0a #define MCP_IOCON_MIRROR 0x0b #define MCP_GPPUA 0x0c #define MCP_GPPUB 0x0d #define MCP_INTFA 0x0e #define MCP_INTFB 0x0f #define MCP_INTCAPA 0x10 #define MCP_INTCAPB 0x11 #define MCP_GPIOA 0x12 #define MCP_GPIOB 0x13 #define MCP_OLATA 0x14 #define MCP_OLATB 0x15 #endif