beautypg.com

Gpio functions, 7 gpio functions – Solvline Eddy DKV2.1.0.3 User Manual

Page 92

background image

Chapter 6. Library

Introduction

92

Data_Size
IP_Address
Socket_No

Size of the buffer to send.
IP address to send data to.
Socket number to send data to.

Returns

None

Notice

This function can be used when user already knows destination network
information to send data to using UDP socket.
When data transmission has to be made first, user has to use
SB_SendUdpClient function..

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 directory 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

Description

Number of Ports

S0 ~ S3

Serial Port 1 ~ 4

20

Debug

Debug Port

2