Download Eddy-DK v2.5.1.1 Programmer Guide

Transcript
Eddy DK Programmer Guide
6.7
GPIO Functions
GPIO functions control up to 56 GPIO ports provided by Eddy-CPU, 34 GPIO ports provided by Eddy-S4M
They can spot 3.3V power or control writes with individual GPIO port.
Pins provided by Eddy CPU/S4M are public pins that can be used to control other devices and are not used solely
for GPIO.
Eddy CPU/S4M provides 32 signal lines as 3 port groups; Port A, B, C.
Each port in Port A, B, C can be configured to be used as device or GPIO. They can be configured in Web.
Please refer to sample source ‘testdk.c’ in Eddy_Apps folder for precise usage.
Eddy-CPU GPIO Table
The Yellow parts can all be used as GPIO ports if they are not used as devices.
Section
S0 ~ S3
Debug
Reset
Rdy
ADC
LAN
EEPROM
NAND
KEY
*
113
Description
Serial Port 1 ~ 4
Debug Port
Reset
Ready LED
Analog Digital Converter
LAN Port
SPI (EEPROM)
NAND Flash
Key Pad
GPIO & User Peripheral
Number of Ports
20
2
1
1
4
2
4
2
8
12