#include <serial.h>
Data Fields | |
| void(* | open )(char *port, long baud, union filedescriptor *fd) |
| int(* | setspeed )(union filedescriptor *fd, long baud) |
| void(* | close )(union filedescriptor *fd) |
| int(* | send )(union filedescriptor *fd, unsigned char *buf, size_t buflen) |
| int(* | recv )(union filedescriptor *fd, unsigned char *buf, size_t buflen) |
| int(* | drain )(union filedescriptor *fd, int display) |
| void(* | poll )(void) |
| int | flags |
Derived from (though not identical to) the structure by the same name in the avrdude program.