Solvline Eddy DK Ver 2.20 Manuel d'utilisateur Page 49

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 75
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 48
Chapter 6. Library
6-6
Returns None
Notice Contols Ready LED mounted at each Eddy model.
6.5 Serial functions
These functions are used to handle internal serial port and UART.
SB_OpenSerial
Function Opens serial port.
Format int SB_OpenSerial (int Port_No);
Parameter Port_No
Serial port number
0: First serial port
1: Second serial port
(Only available for Eddy-CPU, Eddy-DK)
Returns -1 ~ N Opened serial port handle
-1: Open error
N: Opened serial port handle
Notice Eddy provides maximum two serial ports; however for normal model where
Eddy-CPU is mounted, Eddy only provides one serial port.
DK board has two on-board serial ports. User can use both of the serial
ports if the user sets DIP switch on DK board to make it recognized as
Eddy-CPU or Eddy-DK.
SB_InitSerial
Function Initialize data communication configuration of serial port.
Format Void SB_InitSerial (int Handle, char Speed, char LCR, char Flow);
Parameter Handle Serial port handle acquired from OpenSerial
Speed Baud rade
Vue de la page 48
1 2 ... 44 45 46 47 48 49 50 51 52 53 54 ... 74 75

Commentaires sur ces manuels

Pas de commentaire