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

📄 events.h

📁 ov7620是采用cmos传感器技术的摄像头
💻 H
字号:
#ifndef EVENTS_H
#define EVENTS_H

/***********************************************************
    Module Name: Events.h
    Module Date: 05/23/2004
    Module Auth: John Orlando 
    Copyright (c) 2004 John Orlando  All Rights Reserved 

    Description: This file provides the external interface
    to the events that can be published/processed in the
    system.  It is specifically by itself (and nothing
    else should be defined in here) so that both .c and
    .S (assembly) files can include this file without
    a problem.
    *******************************************************/

/* Definitions */
/* Originally, all events were passed in a bitmask...however,
    an event FIFO was finally used, but the coding of the event
    definitions were never translated back....doesn't make a
    difference, but looks a little weird */
#define EV_SERIAL_DATA_RECEIVED		0x01
#define EV_DUMP_FRAME				0x02
#define EV_PROCESS_FRAME_COMPLETE	      0x04
#define EV_PROCESS_LINE_COMPLETE          0x08
#define EV_ACQUIRE_LINE_COMPLETE	      0x10
#define EV_ACQUIRE_FRAME_COMPLETE	      0x20
#define EV_CONFIGURE_CAMERA			0x40
#define EV_ENABLE_TRACKING			0x80
#define EV_DISABLE_TRACKING			0x81
#define EV_SERIAL_DATA_PENDING_TX	      0x90
#define EV_RED_COLOR_MAP_RECEIVED	      0x91
#define EV_BLUE_COLOR_MAP_RECEIVED	      0x92
#define EV_GREEN_COLOR_MAP_RECEIVED	      0x93

/* This is used to pass fast events through the system
    so there is a minimum of processing time needed
    between lines of tracking data */
#define FEV_ACQUIRE_LINE_COMPLETE 	0x01
#define FEV_PROCESS_LINE_COMPLETE 	0x02

/* This is needed for the event fifo */
#define EXEC_EVENT_FIFO_SIZE 8
#define EXEC_EVENT_FIFO_MASK EXEC_EVENT_FIFO_SIZE-1

#endif

⌨️ 快捷键说明

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