AXIOMTEK CAPA841 User Manual page 88

Hide thumbs Also See for CAPA841:
Table of Contents

Advertisement

CAPA841/842 Capa Board
Digital I/O Programming
The following example enables configuration using debug tool.
Start digital I/O programming
Enable configuration:
Select logic device:
Set multi-function selection:
Set GPIO2 I/O register:
Set GPIO2 data register:
; Set digital output pins value
Digital Input:
; Read digital input data
82
O 2E 87 ; Un-lock super I/O
O 2E 87
O 2E 07
O 2F 07
O 2E 1C
O 2F 1C ; Open GPIO2 and close UART
O 2E E8
O 2F 00 ; 00: Programmed to function as output port
; FF: Programmed to function as input port
O 2E E9
O 2F 00 ; 00: Set digital output to low level
; FF: Set digital output to high level
O 2E E9
i 2F
; FF: Digital input data is high (default state)
Digital I/O

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CAPA841 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Capa842

Table of Contents