summaryrefslogtreecommitdiffstats
path: root/sw/programmer/linux/src/serial.h
blob: dd70756e1578c31391d4e0ce71cc9cc907ad89db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef __Z80PROG_SERIAL_H__
#define __Z80PROG_SERIAL_H__

#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <unistd.h>
#include <fcntl.h>
#include <termios.h>
#include <sys/ioctl.h>
#include <termio.h>
#include <err.h>
#include <linux/serial.h>

int serial_open(const char *devpath, unsigned long baudrate);

#endif