16-Bit I/O Expander with Serial Interface (SPI)
Fork of MCP23S17 by
Diff: MCP23S17.h
- Revision:
- 4:029e24cc2b68
- Parent:
- 2:b74bf9a31168
--- a/MCP23S17.h Wed Jan 20 10:49:02 2016 +0000 +++ b/MCP23S17.h Sat Apr 28 10:16:04 2018 +0000 @@ -434,57 +434,6 @@ * @param data The 8 bits to write to GPIOB register. */ void gpiob(char data); - - /** Read OLATA. - * - * OUTPUT LATCH REGISTER - * The OLAT register provides access to the output latches. A read from this register results in a read of the OLAT and not the port itself. A write to this register - * modifies the output latches that modifies the pins configured as outputs. - * - * @return The 8 bits read. - */ - char olata(); - - /** Write to OLATA. - * - * OUTPUT LATCH REGISTER - * The OLAT register provides access to the output latches. A read from this register results in a read of the OLAT and not the port itself. A write to this register - * modifies the output latches that modifies the pins configured as outputs. - * - * @param data The 8 bits to write to OLATA register. - */ - void olata(char data); - - /** Read OLATB. - * - * OUTPUT LATCH REGISTER - * The OLAT register provides access to the output latches. A read from this register results in a read of the OLAT and not the port itself. A write to this register - * modifies the output latches that modifies the pins configured as outputs. - * - * @return The 8 bits read. - */ - char olatb(); - - /** Write to OLATB. - * - * OUTPUT LATCH REGISTER - * The OLAT register provides access to the output latches. A read from this register results in a read of the OLAT and not the port itself. A write to this register - * modifies the output latches that modifies the pins configured as outputs. - * - * @param data The 8 bits to write to OLATB register. - */ - void olatb(char data); - - /** Write to IOCON.MIRROR - * - * IOCON REGISTER - INTERRUPT MIRROR BIT - * 1 = The INT pins are internally connected - * 0 = The INT pins are not connected. INTA is associated with PortA and INTB is associated with PortB - * - * @param mirror write true ('1') or false ('0'). - */ - void intmirror(bool mirror); - /** Write to IOCON.INTPOL * * IOCON REGISTER - INTERRUPT POLARITY BIT