serial_device Struct Reference

A collection of function pointers that present the platform-independent interface for serial I/O. More...

#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


Detailed Description

A collection of function pointers that present the platform-independent interface for serial I/O.

Derived from (though not identical to) the structure by the same name in the avrdude program.


The documentation for this struct was generated from the following file:

Generated on Mon Sep 28 03:32:29 2009 for SFB by doxygen 1.5.9