📄 fileio.h
字号:
/* * avrdude - A Downloader/Uploader for AVR device programmers * Copyright (C) 2000, 2001, 2002, 2003 Brian S. Dean <bsd@bsdhome.com> * * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *//* $Id: fileio.h,v 1.12 2003/02/09 13:36:47 bdean Exp $ */#ifndef __fileio_h__#define __fileio_h__typedef enum { FMT_AUTO, FMT_SREC, FMT_IHEX, FMT_RBIN} FILEFMT;struct fioparms { int op; char * mode; char * iodesc; char * dir; char * rw;};enum { FIO_READ, FIO_WRITE};char * fmtstr(FILEFMT format);int fileio_setparms(int op, struct fioparms * fp);int fileio(int op, char * filename, FILEFMT format, struct avrpart * p, char * memtype, int size);#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -