mcp_read
ret = mcp_read(mcp, MCP_GPPU, &data);
ret = mcp_read(mcp, MCP_GPIO, &status);
ret = mcp_read(mcp, MCP_GPIO, &status);
if (mcp_read(mcp, MCP_INTF, &intf))
if (mcp_read(mcp, MCP_INTCON, &intcon))
if (mcp_read(mcp, MCP_GPINTEN, &gpinten))
if (mcp_read(mcp, MCP_DEFVAL, &defval))
if (mcp_read(mcp, MCP_INTCAP, &intcap))
if (mcp_read(mcp, MCP_GPIO, &gpio))
ret = mcp_read(mcp, MCP_IOCON, &status);