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

📄 bf533_ez-kit_ppi_config.asm

📁 bf533平台图像采集程序
💻 ASM
字号:
/******************************************************************************/
//
// Name: 	BF533 EZ-KIT video ITU-656 receive mode
//
/******************************************************************************

(C) Copyright 2003 - Analog Devices, Inc.  All rights reserved.

File Name:		BF533_EZ-KIT_PPI_Config.asm

Date Modified:	10/25/04	TL		Rev 2

Software:       VisualDSP++3.1

Hardware:		ADSP-BF533 EZ-KIT Board

Special Connections:  None

Purpose:		PPI setup
				
				
Program Parameters:

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


#include <defBF533.h>

.global		_BF533_EZ_KIT_PPI_Config;



.section L1_code;
/*******************************************************************************/
_BF533_EZ_KIT_PPI_Config:


	p0.h = hi(PPI_CONTROL);
	p0.l = lo(PPI_CONTROL);

	//The PPI is set to receive 525 lines for each frame
	r0 = 625;
	w[p0+PPI_FRAME-PPI_CONTROL] = r0;


	//PPI enabled, input mode, active video only, receive field 1&2, 
	//packing enabled, skipping disabled, 8bit data bus, nothing inverted
	r0 =  PORT_EN | PACK_EN | DLEN_8 (z);	 
	w[p0+PPI_CONTROL-PPI_CONTROL] = r0;
	SSYNC;

_BF533_EZ_KIT_PPI_Config.END:	
RTS;
/*******************************************************************************/

⌨️ 快捷键说明

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