mirror of
https://github.com/dougg3/mac-rom-simm-programmer.git
synced 2024-12-22 04:30:10 +00:00
8aec8807c9
A whole bunch of files in this project had DOS line endings. This is due to how I started working on it on a Windows machine with little Git experience. Now it's inconsistent so I'm fixing it.
43 lines
1.3 KiB
C
43 lines
1.3 KiB
C
/*
|
|
* usbcdc.h
|
|
*
|
|
* Created on: Nov 22, 2020
|
|
* Author: Doug
|
|
*
|
|
* Copyright (C) 2011-2020 Doug Brown
|
|
*
|
|
* 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 Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
*
|
|
*/
|
|
|
|
#ifndef HAL_USBCDC_H_
|
|
#define HAL_USBCDC_H_
|
|
|
|
#include <stdint.h>
|
|
#include "usbcdc_hw.h"
|
|
|
|
// Note: Functions commented out should be implemented as static inline
|
|
// functions in the board-specific header file for efficiency.
|
|
void USBCDC_Init(void);
|
|
void USBCDC_Disable(void);
|
|
void USBCDC_Check(void);
|
|
//void USBCDC_SendByte(uint8_t byte);
|
|
//bool USBCDC_SendData(uint8_t const *data, uint16_t len);
|
|
//int16_t USBCDC_ReadByte(void);
|
|
//uint8_t USBCDC_ReadByteBlocking(void);
|
|
//void USBCDC_Flush(void)
|
|
|
|
#endif /* HAL_USBCDC_H_ */
|