cl_ribu.h
来自「GSM手机设计软件代码」· C头文件 代码 · 共 50 行
H
50 行
/*
+-----------------------------------------------------------------------------
| Project : COMLIB
| Modul : cl_ribu
+-----------------------------------------------------------------------------
| Copyright 2002 Texas Instruments Berlin, AG
| All rights reserved.
|
| This file is confidential and a trade secret of Texas
| Instruments Berlin, AG
| The receipt of or possession of this file does not convey
| any rights to reproduce or disclose its contents or to
| manufacture, use, or sell anything it may describe, in
| whole, or in part, without the specific written consent of
| Texas Instruments Berlin, AG.
+-----------------------------------------------------------------------------
| Purpose : Definitions of global types used by common library functions
| and the prototypes of those functions.
+-----------------------------------------------------------------------------
*/
/*
* Version 1.0
*/
/**********************************************************************************/
#ifndef CL_RIBU_H
#define CL_RIBU_H
/**********************************************************************************/
typedef struct
{
U8 ri; /* ring buffer read index */
U8 wi; /* ring buffer write index */
U8 size; /* ring buffer size */
U8 filled; /* ring buffer filled flag */
} T_RIBU;
/**********************************************************************************/
EXTERN void cl_ribu_init(T_RIBU *ribu, U8 size);
EXTERN U8 cl_ribu_read_index(T_RIBU *ribu);
EXTERN U8 cl_ribu_write_index(T_RIBU *ribu);
EXTERN void cl_set_frame_desc(T_FRAME_DESC *frame_desc, U8 *A0, U16 L0, U8 *A1, U16 L1);
EXTERN void cl_set_frame_desc_0(T_FRAME_DESC *frame_desc, U8 *A0, U16 L0);
#endif /* CL_RIBU_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?