« Close

Datasheets and User Guides

App Notes

Software & Driver

 

5.2.5.10 - BitDirWrite: IOType=13

Table 5.2.5.10-1. BitDirWrite Command Response

BitDirRead, 2 Command Bytes: 
0 IOType = 13
1 Bits 0-4: IO Number
   Bit 7: Direction
0 Response Bytes: 

This IOType writes the direction of a single bit of digital I/O. Note that CIO0-2 & MIO0-2 are shared, so to write/read MIO0-2 use channel numbers 16-18.  

  • IO Number: 0-7=FIO, 8-15=EIO, or 16-19=CIO.
  • Direction: 1=Output, 0=Input.