OpenCores
URL https://opencores.org/ocsvn/usb_device_core/usb_device_core/trunk

Subversion Repositories usb_device_core

[/] [usb_device_core/] [trunk/] [sw/] [usb_uart.h] - Blame information for rev 5

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 5 ultra_embe
#ifndef  __USB_UART_H__
2
#define  __USB_UART_H__
3
 
4
//-----------------------------------------------------------------
5
// Prototypes
6
//-----------------------------------------------------------------
7
#ifdef __cplusplus
8
extern "C" {
9
#endif
10
 
11
void usb_uart_init(void);
12
int  usb_uart_haschar(void);
13
int  usb_uart_getchar(void);
14
int  usb_uart_putblock(unsigned char *data, int length);
15
int  usb_uart_getblock(unsigned char *data, int max_length);
16
int  usb_uart_putchar(char txbyte);
17
void usb_uart_flush(void);
18
 
19
#ifdef __cplusplus
20
}
21
#endif
22
 
23
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.