?? bf533_ez-kit_ppi_config.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 + -