Page 80 of 346 Start Back Next End ZBasic System Library 68 ZBasic Microcontrollers CloseSPI Type Subroutine Invocation CloseSPI(channel) Parameter Method Type Description channel ByVal Byte The SPI channel number (1-4). Discussion This subroutine closes an SPI channel. The primary purpose for this subroutine is to cancel SPI Slave mode. It has no effect for channels that are not open or channels that are open in Master mode. Compatibility This subroutine is not available in BasicX compatibility mode. See Also OpenSPI, SPICmd, SPIGetByte, SPIPutByte, SPIGetData, SPIPutData, SPIStart, SPIStop