mspdebug/transport/comport.h

31 lines
1.1 KiB
C
Raw Normal View History

2010-04-30 04:57:57 +00:00
/* MSPDebug - debugging tool for MSP430 MCUs
* Copyright (C) 2009-2012 Daniel Beer
2010-04-30 04:57:57 +00:00
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef COMPORT_H_
#define COMPORT_H_
2010-04-30 04:57:57 +00:00
#include "transport.h"
/* This function is for opening a system serial device. The argument
* given should be the filename of the relevant tty device (POSIX) or a
* COM port name (Windows).
2010-04-30 04:57:57 +00:00
*/
transport_t comport_open(const char *device, int baud_rate);
2010-04-30 04:57:57 +00:00
#endif