Matthew Shoemaker / Mbed 2 deprecated USBHostLite

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers usbhost_uart.h Source File

usbhost_uart.h

00001 /*
00002 **************************************************************************************************************
00003 *                                                 NXP USB Host Stack
00004 *
00005 *                                     (c) Copyright 2008, NXP SemiConductors
00006 *                                     (c) Copyright 2008, OnChip  Technologies LLC
00007 *                                                 All Rights Reserved
00008 *
00009 *                                                  www.nxp.com
00010 *                                               www.onchiptech.com
00011 *
00012 * File           : usbhost_uart.h
00013 * Programmer(s)  : Prasad.K.R.S.V
00014 * Version        :
00015 *
00016 **************************************************************************************************************
00017 */
00018 
00019 #ifndef USBHOST_UART_H
00020 #define USBHOST_UART_H
00021 
00022 /*
00023 **************************************************************************************************************
00024 *                                           INCLUDE HEADER FILES
00025 **************************************************************************************************************
00026 */
00027 
00028 #include <stdarg.h>
00029 #include <stdio.h>
00030 #include "usbhost_inc.h"
00031 
00032 /*
00033 **************************************************************************************************************
00034 *                                             UART DEFINITIONS
00035 **************************************************************************************************************
00036 */     
00037 //#define Fcclk 48000000
00038 //#define Fpclk (Fcclk / 2)
00039 
00040 /*
00041 **************************************************************************************************************
00042 *                                             FUNCTION PROTOTYPES
00043 **************************************************************************************************************
00044 */
00045 
00046 void  UART_Init  (      USB_INT32U   baudrate);
00047 void  UART_PrintChar (      USB_INT08U   ch);
00048 void  UART_PrintStr  (const USB_INT08U  *str);
00049 void  UART_Printf(const USB_INT08U  *format, ...);
00050 
00051 #endif