⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 urt_extr.h

📁 一款交换机BSP开发代码
💻 H
字号:
/*************************************************************************/
/*                                                                       */
/*        Copyright (c) 1999      Accelerated Technology, Inc.           */
/*                                                                       */
/* PROPRIETARY RIGHTS of Accelerated Technology are involved in the      */
/* subject matter of this material.  All manufacturing, reproduction,    */
/* use, and sales rights pertaining to this subject matter are governed  */
/* by the license agreement.  The recipient of this software implicitly  */
/* accepts the terms of the license.                                     */
/*                                                                       */
/*************************************************************************/

/*************************************************************************/
/*                                                                       */
/* FILE NAME                                            VERSION          */
/*                                                                       */
/*      urt_defs.h                                    MCF5206/D 1.0      */
/*                                                                       */
/* COMPONENT                                                             */
/*                                                                       */
/*      UART                                                             */
/*                                                                       */
/* DESCRIPTION                                                           */
/*                                                                       */
/*      This file contains function prototypes for the UART module.      */
/*                                                                       */
/* AUTHOR                                                                */
/*                                                                       */
/*      Barry Sellew,     Accelerated Technology, Inc.                   */
/*                                                                       */
/* DATA STRUCTURES                                                       */
/*                                                                       */
/*      none                                                             */
/*                                                                       */
/* DEPENDENCIES                                                          */
/*                                                                       */
/*      none                                                             */
/*                                                                       */
/* HISTORY                                                               */
/*                                                                       */
/*         NAME            DATE                    REMARKS               */
/*                                                                       */
/*    Barry Sellew      04-16-1998            Created version 1.0        */
/*                                                                       */
/*************************************************************************/
#ifndef URT_EXTR
#define URT_EXTR

#include "typedef.h"
#include "urt_defs.h"

#pragma section CODE ".rtext"
/* UART function prototypes */
STATUS  UART_Init_Port(UART_INIT *uart);
VOID    UART_Put_Char(UCHAR ch);
VOID    UART_Put_String(UCHAR *str);
UCHAR    UART_Get_Char(VOID);
void	Wait_10ms(void);
int		UART_Get_Char1(UCHAR *c);
STATUS  UART_Data_Ready(VOID);
VOID  UART_Set_Baud_Rate(ULONG baud_rate);
int UART_Get_Bytes(UCHAR *buf,int cnt,int block);
#pragma section CODE 

#endif

⌨️ 快捷键说明

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