Root/Software/sie_cg/templates/basic (copy)/jz_adc_peripheral.cpp

1/* ADC Peripheral.c
2
3Copyright (C) 2010 Carlos Camargo cicamargoba@unal.edu.co
4                               Andres Calderon andres.calderon@emqbit.com
5
6This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2 of the License, or
9(at your option) any later version.
10
11This program is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with this program; if not, write to the Free Software
18Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
19
20#include <stdio.h>
21#include <unistd.h>
22
23#include "jz_adc_peripheral.h"
24
25void ADCTest()
26{
27
28}
29
30void ADCPowerDown()
31{
32
33}
34
35JZ_REG * ADCTakeSamples(int CHANNEL)
36{
37
38}
39
40void ADCConfig(uchar CMD)
41{
42
43}
44
45int ADCCheckBufferFull()
46{
47
48}
49

Archive Download this file

Branches:
master



interactive