Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
serial_device Struct Reference

#include <src/avrdude/libavrdude.h>

Public Attributes

int(* open )(char *port, union pinfo pinfo, union filedescriptor *fd)
 
int(* setspeed )(union filedescriptor *fd, long baud)
 
void(* close )(union filedescriptor *fd)
 
int(* send )(union filedescriptor *fd, const unsigned char *buf, size_t buflen)
 
int(* recv )(union filedescriptor *fd, unsigned char *buf, size_t buflen)
 
int(* drain )(union filedescriptor *fd, int display)
 
int(* set_dtr_rts )(union filedescriptor *fd, int is_on)
 
int flags
 

Detailed Description

Member Data Documentation

◆ close

void(* serial_device::close) (union filedescriptor *fd)

◆ drain

int(* serial_device::drain) (union filedescriptor *fd, int display)

◆ flags

int serial_device::flags

◆ open

int(* serial_device::open) (char *port, union pinfo pinfo, union filedescriptor *fd)

◆ recv

int(* serial_device::recv) (union filedescriptor *fd, unsigned char *buf, size_t buflen)

◆ send

int(* serial_device::send) (union filedescriptor *fd, const unsigned char *buf, size_t buflen)

◆ set_dtr_rts

int(* serial_device::set_dtr_rts) (union filedescriptor *fd, int is_on)

◆ setspeed

int(* serial_device::setspeed) (union filedescriptor *fd, long baud)

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