User`s manual

STX88831 STX Evaluation Platform Module Series User’s Manual
Digital I/O Programming Source Code
61
The Digital I/O on the board is not an isolated type :
Output Address Bit Input Address Bit
Out 0 123h 0 In 0 123h 0
Out 1 123h 1 In 1 123h 1
Out 2 123h 2 In 2 123h 2
Out3 123h 3 In 3 123h 3
Out 4 123h 4 In 4 123h 4
Out 5 123h 5 In 5 123h 5
Out 6 123h 6 In 6 123h 6
Out 7 123h 7 In 7 123h 7
DIO output program sample :
O 123 03
Out 0, Out 1 is High, Out 2~7 is Low
(1 High , 0 Low)
O 123 0A
Out 1, Out 3 is High, Out 0,2,4~7 is Low
(1 High , 0 Low)
***** The DIO input signal has to be TTL signal *****