summaryrefslogtreecommitdiffstats
path: root/sw/programmer/linux/src/serial.h
blob: fe215247638ae5161bdfb4d87d1ec932ec2cb3d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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>

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

#endif