I've been reading the documentation for the MCP23S17 i/o expander up and down. I've got it figured out except for one thing, the IOCON (a and b) setting.
I'm not sure how to configure the BANK, MIRROR, etc. On the other configurations on the chip, I've either sent a 0x00 or 0xff as there are only 2 options per setting. However, since the IOCON has array of different things that can be set, I'm not sure what I should be sending it to configure each different setting.
Thanks!