Solvline Eddy DKV2.1.0.3 User Manual
Page 93
Chapter 6. Library
Introduction
93
Reset
Reset
1
Rdy
Ready LED
1
ADC
Analog Digital Converter
4
LAN
LAN Port
2
EEPROM
SPI (EEPROM)
4
NAND
NAND Flash
2
KEY
Key Pad
8
*
GPIO & User Peripheral
12
Eddy-S4M GPIO Table
Section
Description
Number of GPIO
ADC
Analog Digital Converter
2
*
GPIO & User Peripheral
32
Each port in Port A, B, C can be shown as 32 GPIO ports. So GPIO ports are shown as each bit in 4
byte int variable in program.
struct eddy_gpio {
Unsigned int value [3];
// Read/write value for each GPIO channel in
Port A, B, C
Unsigned int mode [3];
// Configure read/write for each GPIO channel in
Port A, B, C
Unsigned int pullup [3];
// Pullup/Pulldown when configuring write
// for each GPIO channel in Port A, B, C
Unsigned int enable [3];
// Whether to use GPIO for each GPIO channel
in Port A, B, C
};