blob: 6123e4228379634b8e3409e3cc06b9483a75dd15 (
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>
int serial_connect(const char *devpath, long baudrate);
void serial_close(int fd);
void serial_program(const char *rompath);
void serial_read_rom(const char *rom);
#endif
|