DSB320-842 User’s Manual
DIGITAL I/O
66
Digital I/O Programming
The following example enables configuration using debug tool.
Start digital I/O programming
Enable configuration:
O 2E 87 ; Un-lock super I/O
O 2E 87
Select logic device:
O 2E 07
O 2F 07
Set multi-function selection:
O 2E 1C
O 2F 1C ; Open GPIO2 and close UART
Set GPIO2 I/O register:
O 2E E8
O 2F 00 ; 00: Programmed to function as output port
; FF: Programmed to function as input port
Set GPIO2 data register:
; Set digital output pins value
O 2E E9
O 2F 00 ; 00: Set digital output to low level
; FF: Set digital output to high level
Digital Input:
; Read digital input data
O 2E E9
i 2F ; FF: Digital input data is high (default state)
Summary of Contents for DSB320-842 Series
Page 1: ...DSB320 842 Series Digital Signage Media Player User s Manual ...
Page 14: ...DSB320 842 User s Manual Introduction 6 VESA Mount Dimension ...
Page 34: ...DSB320 842 User s Manual 26 Hardware Installation This page is intentionally left blank ...
Page 36: ...DSB320 842 User s Manual 28 Jumper Settings Connector Button side ...
Page 64: ...DSB320 842 User s Manual 56 AMI BIOS Setup Utility North Bridge ...
Page 70: ...DSB320 842 User s Manual 62 AMI BIOS Setup Utility This page is intentionally left blank ...