|
sketchbook
|
Go to the source code of this file.
Macros | |
| #define | IODIRA 0x00 |
| #define | IPOLA 0x02 |
| #define | GPINTENA 0x04 |
| #define | DEFVALA 0x06 |
| #define | INTCONA 0x08 |
| #define | IOCON 0x0A |
| #define | GPPUA 0x0C |
| #define | INTFA 0x0E |
| #define | INTCAPA 0x10 |
| #define | GPIOA 0x12 |
| #define | OLATA 0x14 |
| #define | IODIRB 0x01 |
| #define | IPOLB 0x03 |
| #define | GPINTENB 0x05 |
| #define | DEFVALB 0x07 |
| #define | INTCONB 0x09 |
| #define | IOCONB 0x0B |
| #define | GPPUB 0x0D |
| #define | INTFB 0x0F |
| #define | INTCAPB 0x11 |
| #define | GPIOB 0x13 |
| #define | OLATB 0x15 |
| #define | IOCON_UNUSED 0x01 |
| #define | IOCON_INTPOL 0x02 |
| #define | IOCON_ODR 0x04 |
| #define | IOCON_HAEN 0x08 |
| #define | IOCON_DISSLW 0x10 |
| #define | IOCON_SEQOP 0x20 |
| #define | IOCON_MIRROR 0x40 |
| #define | IOCON_BANK_MODE 0x80 |
| #define | IOCON_INIT (IOCON_SEQOP) |
| #define | CMD_WRITE 0x40 |
| #define | CMD_READ 0x41 |
| #define CMD_READ 0x41 |
| #define CMD_WRITE 0x40 |
| #define DEFVALA 0x06 |
| #define DEFVALB 0x07 |
| #define GPINTENA 0x04 |
| #define GPINTENB 0x05 |
| #define GPIOA 0x12 |
| #define GPIOB 0x13 |
| #define GPPUA 0x0C |
| #define GPPUB 0x0D |
| #define INTCAPA 0x10 |
| #define INTCAPB 0x11 |
| #define INTCONA 0x08 |
| #define INTCONB 0x09 |
| #define INTFA 0x0E |
| #define INTFB 0x0F |
| #define IOCON 0x0A |
| #define IOCON_BANK_MODE 0x80 |
| #define IOCON_DISSLW 0x10 |
| #define IOCON_HAEN 0x08 |
| #define IOCON_INIT (IOCON_SEQOP) |
| #define IOCON_INTPOL 0x02 |
| #define IOCON_MIRROR 0x40 |
| #define IOCON_ODR 0x04 |
| #define IOCON_SEQOP 0x20 |
| #define IOCON_UNUSED 0x01 |
| #define IOCONB 0x0B |
| #define IODIRA 0x00 |
| #define IODIRB 0x01 |
| #define IPOLA 0x02 |
| #define IPOLB 0x03 |
| #define OLATA 0x14 |
| #define OLATB 0x15 |
1.8.6