Initial transfer from sourceforge
This commit is contained in:
commit
f2259c5424
415 changed files with 73200 additions and 0 deletions
15
lpctool/trunk/lpctool_serial.h
Normal file
15
lpctool/trunk/lpctool_serial.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
#ifndef LPCTOOL_SERIAL_H
|
||||
#define LPCTOOL_SERIAL_H
|
||||
|
||||
|
||||
#define TOOLBAUD 115200
|
||||
|
||||
int openSerial(char *dev);
|
||||
int closeSerial(void);
|
||||
int reconfSerial(unsigned int baud, unsigned char flow, unsigned char tout);
|
||||
int sendBuf(unsigned int len, char *buf);
|
||||
int getBuf(unsigned int len, char *buf);
|
||||
void setDTR(unsigned char val);
|
||||
void setRTS(unsigned char val);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue