The Command Format Table below summarizes all of the allowed commands that deal with device manipulation. The individual command pages that follow this summary give detailed information on the format and use of these commands.
Command Name | Description |
InitPorts (and variations) | Initialize both 8-bit ports, reset internal latches. |
WriteA | Write byte value to port A |
WriteB | Write byte value to port B |
WriteABit | Write select bits (masked and⁄or term) to port A |
WriteBBit | Write select bits (masked and⁄or term) to port B |
ReadA | Read byte value from port A |
ReadB | Read byte value from port B |
SetBit | Set a single one of the port bits to 1⁄high |
ResetBit | Set a single one of the port bits to 0⁄low |
DirectionA (and variations) | Direction of port A |
DirectionB (and variations) | Direction of port B |
StrobeWrite | Write to a port and strobe a line |
StrobeWrite2 | Write to a port and strobe a line |
StrobeRead | Read from a port and strobe a line |
StrobeRead2 | Read from a port and strobe a line |
StrobeWrites | Write bytes to a port and strobe a line |
StrobeReads | Read bytes from a port and strobe a line |
ReadLatches | Read internal pin-change latches |
InitLCD | Set up the device to use an LCD |
LCDCmd | Send a command to the LCD |
LCDData | Send a character to the LCD |
InitSPI | Set up the device to use SPI (3-wire interface) |
SPIMaster | Communicate with (read⁄write) a SPI device |
SPISlaveWrite | Write bytes for a SPI master to read |
SPISlaveRead | Read bytes sent by a SPI master |
Wire2Control | Send a 2-wire signal to the 2-wire port |
Wire2Data | Send 2-wire data (8 or 9 bits) to the 2-wire port, receive data |
Stepper | Set up ⁄ control a stepper motor |
Reset1Wire | Set up and reset a 1-wire bus⁄device |
Write1Wire | Write a byte to a 1-wire bus⁄device |
Read1Wire | Read byte from a 1-wire bus⁄device |
Write1WireBit | Write bit to a 1-wire bus⁄device |
Read1WireBit | Read bit from a 1-wire bus⁄device |
Leave a Reply