uarts.h

来自「学习嵌入式LINUX的好东西」· C头文件 代码 · 共 58 行

H
58
字号
/******************************************************************************
**
**  COPYRIGHT (C) 2000, 2001 Intel Corporation.
**
**  This software as well as the software described in it is furnished under 
**  license and may only be used or copied in accordance with the terms of the 
**  license. The information in this file is furnished for informational use 
**  only, is subject to change without notice, and should not be construed as 
**  a commitment by Intel Corporation. Intel Corporation assumes no 
**  responsibility or liability for any errors or inaccuracies that may appear 
**  in this document or any software that may be provided in association with 
**  this document. 
**  Except as permitted by such license, no part of this document may be 
**  reproduced, stored in a retrieval system, or transmitted in any form or by 
**  any means without the express written consent of Intel Corporation. 
**
**  FILENAME:       uarts.h
**
**  PURPOSE:        This is a header file for uarts.c
**
**  LAST MODIFIED:  $Modtime: 6/06/01 10:41a $
******************************************************************************/

#ifndef _uarts_h
#define _uarts_h

/*
************************************************************************************
*                           CONSTANTS 
************************************************************************************
*/

#define NUM_TEST_VALUES     12
#define NUM_BUF             2
#define DMA_BUFSIZ          256
#define XFER_LEN            32
#define DMA_DATA_MARKER     0xFED0FAD0


/*
*******************************************************************************
                            DATA TYPES
*******************************************************************************
*/


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

void PrintSerial(char *s, int portId);
void UartStaticLoopTest (void * arg, char * param);
void UartDmaLoopTest (void * arg, char * param);

#endif /* _uarts_h */

⌨️ 快捷键说明

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