sd_extr.h

来自「基于c的电动机保护程序」· C头文件 代码 · 共 59 行

H
59
字号
/*************************************************************************/
/*                                                                       */
/*        Copyright (c) 2000      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        */
/*                                                                       */
/*      sd_extr.h                                 PLUS/KS32C41000 1.11.1 */
/*                                                                       */
/* COMPONENT                                                             */
/*                                                                       */
/*      SD - Serial Driver                                               */
/*                                                                       */
/* DESCRIPTION                                                           */
/*                                                                       */
/*      This file contains function prototypes for the Serial Dirver     */
/*  module.                                                              */
/*                                                                       */
/* DATA STRUCTURES                                                       */
/*                                                                       */
/*      none                                                             */
/*                                                                       */
/* DEPENDENCIES                                                          */
/*                                                                       */
/*      sd_defs.h                                                        */
/*                                                                       */
/*************************************************************************/
#ifndef SD_EXTR
#define SD_EXTR

#include "sd_defs.h"

/* SDC function prototypes */
STATUS  SDC_Init_Port(SD_PORT *);
VOID    SDC_Put_Char(UNSIGNED_CHAR, SD_PORT *);
VOID    SDC_Put_String(CHAR *, SD_PORT *);
CHAR    SDC_Get_Char(SD_PORT *);
STATUS  SDC_Data_Ready(SD_PORT *);

/* This is for processors that have multiple vectors:
** static VOID  SDC_LISR(INT vector)
**
** NOTE: For the ARM Processors there is no input Vector used to determine
**       which UART is interrupting!  Instead the external variable
**       "INTERRUPTING_DEVICE", captured in INT_IRQ, may be used to set the
**       structure pointer if more than 1 UART is initialized!
***************************************************************************/
VOID  SDC_LISR(void);
#endif

⌨️ 快捷键说明

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