adc_demo.h

来自「freescale k40/k60 adc 例程」· C头文件 代码 · 共 30 行

H
30
字号
/******************************************************************************
* File:    ADC_PDB.h
* Purpose: header file for ADC_PDB.c
* Note: 
******************************************************************************/

#ifndef __ADC_PDB_H
#define __ADC_PDB_H 1



/*     #defines  */

#define PIN_LOW     GPIOA_PCOR = 0x01 << 29;               // clear
#define PIN_HIGH    GPIOA_PSOR = 0x01 << 29;               // set


void delay(void);
void Init_Gpio(void);


// This is included in case some filtering is needed on the ADC input
// to faciliate DSP code developments

#include "dsp.h"

#endif  //__ADC_PDB_H

/* End of "ADC_PDB.h" */

⌨️ 快捷键说明

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