X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=lib%2Fcc-usb.h;h=7b6be350f02e6badefe61b5142fdd660f51e8a06;hb=HEAD;hp=235e991834727b9c09961c5c692534da07c2d6b1;hpb=2d9b8a83a2d9f495199033e43f519d26f27938fe;p=fw%2Faltos diff --git a/lib/cc-usb.h b/lib/cc-usb.h deleted file mode 100644 index 235e9918..00000000 --- a/lib/cc-usb.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright © 2009 Keith Packard - * - * 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. - */ - -#ifndef _CC_USB_H_ -#define _CC_USB_H_ - -#include - -struct cc_usb; - -struct cc_usb * -cc_usb_open(void); - -void -cc_usb_close(struct cc_usb *cc); - -int -cc_usb_send_bytes(struct cc_usb *cc, uint8_t *bytes, int len); - -int -cc_usb_recv_bytes(struct cc_usb *cc, uint8_t *bytes, int len); - -int -cc_usb_write_memory(struct cc_usb *cc, uint16_t addr, uint8_t *bytes, int len); - -int -cc_usb_read_memory(struct cc_usb *cc, uint16_t addr, uint8_t *bytes, int len); - -int -cc_usb_debug_mode(struct cc_usb *cc); - -int -cc_usb_reset(struct cc_usb *cc); - -void -cc_usb_sync(struct cc_usb *cc); - -#endif /* _CC_USB_H_ */