Example:
Get the DOUT value
igpiostat(id, I_GPIO_T61622_DOUT, &dout)
TAMS 61622 Macros
The following is a table with all of the defines passed to the TAMS 61622 SICL
extension functions that you can use. Individual bits could be passed to select
specific line(s).
TAMS 61622 SICL extension function defines
T61622_DIN 0x0000FFFF DIN[0..15] 16 bits
T61622_DIN_L 0x000000FF DIN[0..7] 8 bits
T61622_DIN_U 0x0000FF00 DIN[8..15] 8 bits
T61622_STI 0x00030000 STI[0..1] 2 bits
T61622_EIR 0x00040000 EIR 1 bit
T61622_RDY 0x00080000 RDY 1 bit
T61622_MORE 0x00100000 used inside driver only
T61622_ALL 0x000FFFFF all of above 20 bits
Individual bits for DIN and STI
T61622_DIN00 0x00000001
T61622_DIN01 0x00000002
T61622_DIN02 0x00000004
T61622_DIN03 0x00000008
T61622_DIN04 0x00000010
T61622_DIN05 0x00000020
T61622_DIN06 0x00000040
T61622_DIN07 0x00000080
T61622_DIN08 0x00000100
T61622_DIN09 0x00000200
T61622_DIN10 0x00000400
T61622_DIN11 0x00000800
T61622_DIN12 0x00001000
T61622_DIN13 0x00002000
T61622_DIN14 0x00004000
T61622_DIN15 0x00008000
T61622_STI0 0x00010000
T61622_STI1 0x00020000
33