semaphores.c

来自「使用Usb cy7c68013与DSP通信」· C语言 代码 · 共 79 行

C
79
字号
/*****************************************************************************
Copyright(c) 2005 Analog Devices, Inc.  All Rights Reserved. This software is 
proprietary and confidential to Analog Devices, Inc. and its licensors.
******************************************************************************

$RCSfile: semaphores.c,v $
$Revision: 1.5 $
$Date: 2005/10/27 07:49:15 $

Project:	Developer Kit
Title:		Semaphore.c
Author(s):	mt
Revised by: mt

Description:
			Semaphore variables used for synchronisation

References:
			None

******************************************************************************
Tab Setting:			4
Target Processor:		ADSP-BF5xx
Target Tools Revision:	ADSP VisualDSP++ v4.0
******************************************************************************

Modification History:
====================
$Log: semaphores.c,v $
Revision 1.5  2005/10/27 07:49:15  dwu
Changed/added ADI headers

Revision 1.4  2005/07/29 06:41:12  dwu
Changed to be common between different developer kit projects


*****************************************************************************/


/*****************************************************************************
 *			INCLUDES														 *
 *****************************************************************************/
// This modules own header
#include    "semaphores.h"


/*****************************************************************************
 *          VARIABLES                                                        *
 *****************************************************************************/
volatile int                Video_Frame_Completed_Number    = 0;
volatile bool               Video_Frame_Completed_Flag      = false;

volatile int                Frame_Dropped_Counter   = 0;
volatile bool               Frame_Dropped           = false;
volatile bool               Frame_Ready             = false;


volatile bool 				isMPEInputDataAvailable = false;
volatile bool 				isMPDInputDataAvailable = false;
//volatile bool 				isMJEInputDataAvailable = false;
//volatile bool 				isMJDInputDataAvailable = false;

volatile int 				Input_Frame_Transferred_Flag = 0;
volatile unsigned long      Video_Frame_Counter = 0;

//volatile int 				JPEG_Input_File_Completed_Read = 0;
//volatile int 				JPEG_Input_File_Reading_Busy = 0;

volatile bool				Start_MDMA				= false;



/*
**
** EOF: $Source: /proj/ada_cvs/app_kits/bf533_app_kit/codec_BF533/utilities/semaphores.c,v $
**
*/

⌨️ 快捷键说明

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