OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [io/] [adc/] [current/] [cdl/] [io_adc.cdl] - Blame information for rev 825

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
##==========================================================================
2
##
3
##      io_adc.cdl
4
##
5
##      Generic ADC driver layer
6
##
7
##==========================================================================
8
## ####ECOSGPLCOPYRIGHTBEGIN####
9
## -------------------------------------------
10
## This file is part of eCos, the Embedded Configurable Operating System.
11
## Copyright (C) 2008 Free Software Foundation, Inc.
12
##
13
## eCos is free software; you can redistribute it and/or modify it under
14
## the terms of the GNU General Public License as published by the Free
15
## Software Foundation; either version 2 or (at your option) any later
16
## version.
17
##
18
## eCos is distributed in the hope that it will be useful, but WITHOUT
19
## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20
## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
21
## for more details.
22
##
23
## You should have received a copy of the GNU General Public License
24
## along with eCos; if not, write to the Free Software Foundation, Inc.,
25
## 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
26
##
27
## As a special exception, if other files instantiate templates or use
28
## macros or inline functions from this file, or you compile this file
29
## and link it with other works to produce a work based on this file,
30
## this file does not by itself cause the resulting work to be covered by
31
## the GNU General Public License. However the source code for this file
32
## must still be made available in accordance with section (3) of the GNU
33
## General Public License v2.
34
##
35
## This exception does not invalidate any other reasons why a work based
36
## on this file might be covered by the GNU General Public License.
37
## -------------------------------------------
38
## ####ECOSGPLCOPYRIGHTEND####
39
##==========================================================================
40
#######DESCRIPTIONBEGIN####
41
##
42
## Author(s):    nickg
43
## Date:         2008-03-31
44
## Description:  Implements generic layer of ADC drivers.
45
##
46
######DESCRIPTIONEND####
47
##
48
##========================================================================*/
49
 
50
 
51
cdl_package CYGPKG_IO_ADC {
52
    display       "ADC device drivers"
53
    doc           ref/io-adc.html
54
    parent        CYGPKG_IO
55
    active_if     CYGPKG_IO
56
    requires      CYGPKG_ERROR
57
    include_dir   cyg/io
58
    description   "
59
        This option enables drivers for basic I/O services on
60
        ADC devices."
61
 
62
    compile       -library=libextras.a adc.c
63
 
64
    cdl_component CYGPKG_IO_ADC_DEVICES {
65
        display       "Hardware ADC device drivers"
66
        flavor        bool
67
        default_value 0
68
        description   "
69
            This option enables the hardware device drivers
70
            for the current platform."
71
    }
72
 
73
    cdl_option CYGNUM_IO_ADC_SAMPLE_SIZE {
74
        display       "Sample size"
75
        flavor        data
76
        default_value 16
77
        legal_values  0 to 32
78
 
79
        description   "This option defines the sample size for the ADC devices.
80
                       Given in bits, it will be rounded up to 8, 16 or 32 to define
81
                       the cyg_adc_sample_t type."
82
    }
83
 
84
    cdl_option CYGPKG_IO_ADC_SELECT_SUPPORT {
85
        display "Enable ADC device select support"
86
        flavor bool
87
        active_if CYGPKG_IO_FILEIO
88
        requires  { CYGFUN_IO_FILEIO_SELECT == 1 }
89
        default_value 1
90
        description "
91
            This option enables support for the select() API function on all
92
            ADC devices."
93
    }
94
 
95
    cdl_component CYGPKG_IO_ADC_TESTS {
96
        display     "ADC device driver tests"
97
        flavor      data
98
        no_define
99
        calculated  { "tests/adc1 tests/adc2" }
100
        description "
101
            This option specifies the set of tests for the ADC device drivers."
102
 
103
 
104
        cdl_option CYGNUM_IO_ADC_PERFORMANCE_TEST_RATE {
105
            display         "ADC performance test rate"
106
            flavor          data
107
            legal_values    1 to 10000
108
            default_value   1000
109
            description     "
110
                This option specifies the sampling rate used for the ADC device
111
                driver performance test."
112
        }
113
    }
114
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.