The oSPI Object uses the I/O line specified by the IOLineO property to send and the IOLineI property to receive an 8-Bit serial data transmission at the rate specified by the Rate property.
When a value is written to the oSPI Object's Value property, the oSPI Object will clock out SPI data.
When the Value property is read, the oSPI will clock in SPI data.
An optional Enable line is provided that is activated when the SPI data is clocked in or out. This line is deactivated when the data transfer is complete. There are four methods described at the end of the properties list. These methods are used to set the initial state of the clock and data lines in the SPI device. This is especially useful for the Al Williams PAK-XXXX modules and many other SPI devices that expect the signals to start in a certain state.