Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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
Generated on Wed Jul 13 2022 12:29:10 by
1.7.2