MCP23S17 SPI Port Expander

Please give someone about MCP23S17 SPI Port Expander coding

and wiring

thank you