usbhost_uart.h

来自「LPC1788的USBHOST的FATFS移植」· C头文件 代码 · 共 53 行

H
53
字号
/*
**************************************************************************************************************
*                                                 NXP USB Host Stack
*
*                                     (c) Copyright 2008, NXP SemiConductors
*                                     (c) Copyright 2008, OnChip  Technologies LLC
*                                                 All Rights Reserved
*
*                                                  www.nxp.com
*                                               www.onchiptech.com
*
* File           : usbhost_uart.h
* Programmer(s)  : Prasad.K.R.S.V
* Version        :
*
**************************************************************************************************************
*/

#ifndef USBHOST_UART_H
#define USBHOST_UART_H

/*
**************************************************************************************************************
*                                           INCLUDE HEADER FILES
**************************************************************************************************************
*/

#include <stdarg.h>
#include <stdio.h>
#include "usbhost_inc.h"

/*
**************************************************************************************************************
*                                             UART DEFINITIONS
**************************************************************************************************************
*/

//#define Fcclk	48000000
//#define Fpclk	(Fcclk / 2)

/*
**************************************************************************************************************
*                                             FUNCTION PROTOTYPES
**************************************************************************************************************
*/

void  UART_Init  (      uint32_t  baudrate);
void  UART_PrintChar (      uint8_t   ch);
void  UART_PrintStr  (const uint8_t  *str);
void  UART_Printf(const uint8_t  *format, ...);

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?