?? dac.c
字號:
/*****************************************************************************
* dac.c: ADC module file for Philips LPC214x Family Microprocessors
*
* Copyright(C) 2006, Philips Semiconductor
* All rights reserved.
*
* History
* 2005.10.01 ver 1.00 Prelimnary version, first Release
*
******************************************************************************/
#include "LPC214x.h" /* LPC21xx definitions */
#include "type.h"
#include "dac.h"
/*****************************************************************************
** Function name: DACInit
**
** Descriptions: initialize DAC channel
**
** parameters: None
** Returned value: None
**
*****************************************************************************/
void DACInit( void )
{
/* setup the related pin to DAC output */
PINSEL1 = 0x00080000; /* set p0.25 to DAC output */
return;
}
/*********************************************************************************
** End Of File
*********************************************************************************/
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -