init_pf.c

来自「Using the ADSP-BF561 Blackfin Processor 」· C语言 代码 · 共 39 行

C
39
字号
/*****************************************************************************
**																			**
**	 Project Name: 	LCD											**	
**																			**
******************************************************************************

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

File Name:		Init_PF.c

Date Modified:	5/1/05		CL		Rev 1.0

Software:       VisualDSP++3.5

Hardware:		ADSP-BF561 EZ-KIT Lite

Special Connections:  None

Purpose:		This file initializes and sets up the Flag Pins.  In this
			application, some of the Flag Pins are used to interface
			to the LCD Panel's timing signals.
				
******************************************************************************/



#include "main.h"

void Init_PF(){
	
	*pFIO0_DIR |= 0x0100;
	ssync();
	
	*pFIO0_FLAG_D &= 0xfeff;
	ssync();	

	
}

⌨️ 快捷键说明

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