Mercurial > ecos
annotate packages/io/common/current/include/config_keys.h @ 3265:1e90246544b4
* include/config_keys.h: Add config key
CYG_IO_GET_CONFIG_CAN_ERR_COUNTERS to read TX and RX error counters
from CAN hardware.
| author | sergeig |
|---|---|
| date | Wed, 28 Aug 2013 16:26:53 +0000 |
| parents | ceb05854bf2d |
| children |
| rev | line source |
|---|---|
| 2 | 1 #ifndef CYGONCE_CONFIG_KEYS_H |
| 2 #define CYGONCE_CONFIG_KEYS_H | |
| 3 // ==================================================================== | |
| 4 // | |
| 5 // config_keys.h | |
| 6 // | |
| 7 // Device I/O "Keys" for get/put config functions | |
| 8 // | |
| 9 // ==================================================================== | |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
10 // ####ECOSGPLCOPYRIGHTBEGIN#### |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
11 // ------------------------------------------- |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
12 // This file is part of eCos, the Embedded Configurable Operating System. |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
13 // Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004 Free Software Foundation, Inc. |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
115
diff
changeset
|
14 // |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
15 // eCos is free software; you can redistribute it and/or modify it under |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
16 // the terms of the GNU General Public License as published by the Free |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
17 // Software Foundation; either version 2 or (at your option) any later |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
18 // version. |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
115
diff
changeset
|
19 // |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
20 // eCos is distributed in the hope that it will be useful, but WITHOUT |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
21 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
22 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
23 // for more details. |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
115
diff
changeset
|
24 // |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
25 // You should have received a copy of the GNU General Public License |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
26 // along with eCos; if not, write to the Free Software Foundation, Inc., |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
27 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
115
diff
changeset
|
28 // |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
29 // As a special exception, if other files instantiate templates or use |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
30 // macros or inline functions from this file, or you compile this file |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
31 // and link it with other works to produce a work based on this file, |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
32 // this file does not by itself cause the resulting work to be covered by |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
33 // the GNU General Public License. However the source code for this file |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
34 // must still be made available in accordance with section (3) of the GNU |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
35 // General Public License v2. |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
115
diff
changeset
|
36 // |
|
2729
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
37 // This exception does not invalidate any other reasons why a work based |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
38 // on this file might be covered by the GNU General Public License. |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
39 // ------------------------------------------- |
|
74dbf4c3f2e1
Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents:
2631
diff
changeset
|
40 // ####ECOSGPLCOPYRIGHTEND#### |
| 2 | 41 // ==================================================================== |
| 42 //#####DESCRIPTIONBEGIN#### | |
| 43 // | |
|
86
6512add4f5d6
Merge from eCos master repository on 2000-05-05-07:47:05-BST
jlarmour
parents:
66
diff
changeset
|
44 // Author(s): gthomas |
|
115
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
45 // Contributors: gthomas,jskov,grante,jlarmour |
|
86
6512add4f5d6
Merge from eCos master repository on 2000-05-05-07:47:05-BST
jlarmour
parents:
66
diff
changeset
|
46 // Date: 1999-02-04 |
|
6512add4f5d6
Merge from eCos master repository on 2000-05-05-07:47:05-BST
jlarmour
parents:
66
diff
changeset
|
47 // Purpose: Repository for all get/put config "keys" |
| 2 | 48 // Description: |
| 49 // | |
| 50 //####DESCRIPTIONEND#### | |
| 51 // | |
| 52 // ==================================================================== | |
| 53 | |
| 54 // This file contains all of the 'key' values used by all I/O components. | |
| 55 // It is placed in this single repository to make it easy to reduce conflicts. | |
| 56 | |
|
86
6512add4f5d6
Merge from eCos master repository on 2000-05-05-07:47:05-BST
jlarmour
parents:
66
diff
changeset
|
57 // ======== 0x0100 Serial ==================================================== |
| 2 | 58 // Get/Set configuration 'key' values for low-level serial I/O |
|
115
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
59 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
60 #define CYG_IO_GET_CONFIG_SERIAL_INFO 0x0101 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
61 #define CYG_IO_GET_CONFIG_SERIAL_OUTPUT_DRAIN 0x0102 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
62 #define CYG_IO_GET_CONFIG_SERIAL_OUTPUT_FLUSH 0x0103 |
|
863
0d6e15090dc8
* include/config_keys.h: Define CYG_IO_SET_CONFIG_SERIAL_OUTPUT_FLUSH
jlarmour
parents:
210
diff
changeset
|
63 #define CYG_IO_SET_CONFIG_SERIAL_OUTPUT_FLUSH CYG_IO_GET_CONFIG_SERIAL_OUTPUT_FLUSH |
|
115
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
64 #define CYG_IO_GET_CONFIG_SERIAL_INPUT_FLUSH 0x0104 |
|
863
0d6e15090dc8
* include/config_keys.h: Define CYG_IO_SET_CONFIG_SERIAL_OUTPUT_FLUSH
jlarmour
parents:
210
diff
changeset
|
65 #define CYG_IO_SET_CONFIG_SERIAL_INPUT_FLUSH CYG_IO_GET_CONFIG_SERIAL_INPUT_FLUSH |
|
115
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
66 #define CYG_IO_GET_CONFIG_SERIAL_ABORT 0x0105 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
67 #define CYG_IO_GET_CONFIG_SERIAL_BUFFER_INFO 0x0111 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
68 #define CYG_IO_GET_CONFIG_SERIAL_FLOW_CONTROL_METHOD 0x0112 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
69 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
70 #define CYG_IO_SET_CONFIG_SERIAL_INFO 0x0181 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
71 #define CYG_IO_SET_CONFIG_SERIAL_HW_RX_FLOW_THROTTLE 0x0184 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
72 #define CYG_IO_SET_CONFIG_SERIAL_HW_FLOW_CONFIG 0x0185 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
73 #define CYG_IO_SET_CONFIG_SERIAL_FLOW_CONTROL_METHOD 0x0186 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
74 #define CYG_IO_SET_CONFIG_SERIAL_FLOW_CONTROL_FORCE 0x0187 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
75 #define CYG_IO_SET_CONFIG_SERIAL_STATUS_CALLBACK 0x0188 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
76 #define CYG_IO_SET_CONFIG_SERIAL_HW_BREAK 0x0189 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
77 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
78 // Compatibility values. Use of these is deprecated, the generic symbols |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
79 // should be used instead. |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
80 #define CYG_IO_GET_CONFIG_SERIAL_READ_BLOCKING CYG_IO_GET_CONFIG_READ_BLOCKING |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
81 #define CYG_IO_GET_CONFIG_SERIAL_WRITE_BLOCKING CYG_IO_GET_CONFIG_WRITE_BLOCKING |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
82 #define CYG_IO_SET_CONFIG_SERIAL_READ_BLOCKING CYG_IO_SET_CONFIG_READ_BLOCKING |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
83 #define CYG_IO_SET_CONFIG_SERIAL_WRITE_BLOCKING CYG_IO_SET_CONFIG_WRITE_BLOCKING |
| 2 | 84 |
|
86
6512add4f5d6
Merge from eCos master repository on 2000-05-05-07:47:05-BST
jlarmour
parents:
66
diff
changeset
|
85 // ======== 0x0200 TTY ======================================================= |
| 2 | 86 // Get/Set configuration 'key' values for tty-like driver |
| 87 #define CYG_IO_GET_CONFIG_TTY_INFO 0x0201 // Get channel configuration | |
| 88 #define CYG_IO_SET_CONFIG_TTY_INFO 0x0281 // Set channel configuration | |
| 89 | |
|
86
6512add4f5d6
Merge from eCos master repository on 2000-05-05-07:47:05-BST
jlarmour
parents:
66
diff
changeset
|
90 |
|
6512add4f5d6
Merge from eCos master repository on 2000-05-05-07:47:05-BST
jlarmour
parents:
66
diff
changeset
|
91 // ======== 0x0300 DSP ======================================================= |
|
6512add4f5d6
Merge from eCos master repository on 2000-05-05-07:47:05-BST
jlarmour
parents:
66
diff
changeset
|
92 // Get/Set configuration 'key' values for low-level DSP I/O |
|
6512add4f5d6
Merge from eCos master repository on 2000-05-05-07:47:05-BST
jlarmour
parents:
66
diff
changeset
|
93 #define CYG_IO_GET_CONFIG_DSP_OUTPUT_DRAIN 0x0301 |
|
6512add4f5d6
Merge from eCos master repository on 2000-05-05-07:47:05-BST
jlarmour
parents:
66
diff
changeset
|
94 #define CYG_IO_GET_CONFIG_DSP_OUTPUT_FLUSH 0x0302 |
|
6512add4f5d6
Merge from eCos master repository on 2000-05-05-07:47:05-BST
jlarmour
parents:
66
diff
changeset
|
95 #define CYG_IO_GET_CONFIG_DSP_INPUT_FLUSH 0x0303 |
|
6512add4f5d6
Merge from eCos master repository on 2000-05-05-07:47:05-BST
jlarmour
parents:
66
diff
changeset
|
96 #define CYG_IO_GET_CONFIG_DSP_ABORT 0x0304 |
|
6512add4f5d6
Merge from eCos master repository on 2000-05-05-07:47:05-BST
jlarmour
parents:
66
diff
changeset
|
97 #define CYG_IO_GET_CONFIG_DSP_INPUT_OVERFLOW_RESET 0x0307 |
|
6512add4f5d6
Merge from eCos master repository on 2000-05-05-07:47:05-BST
jlarmour
parents:
66
diff
changeset
|
98 |
|
115
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
99 // Compatibility values. Use of these is deprecated, the generic symbols |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
100 // should be used instead. |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
101 #define CYG_IO_GET_CONFIG_DSP_READ_BLOCKING CYG_IO_GET_CONFIG_READ_BLOCKING |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
102 #define CYG_IO_GET_CONFIG_DSP_WRITE_BLOCKING CYG_IO_GET_CONFIG_WRITE_BLOCKING |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
103 #define CYG_IO_SET_CONFIG_DSP_READ_BLOCKING CYG_IO_SET_CONFIG_READ_BLOCKING |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
104 #define CYG_IO_SET_CONFIG_DSP_WRITE_BLOCKING CYG_IO_SET_CONFIG_WRITE_BLOCKING |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
105 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
106 // ======== 0x400 DSP ======================================================= |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
107 // Get/Set configuration 'key' values for termios emulation |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
108 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
109 #define CYG_IO_GET_CONFIG_TERMIOS 0x0400 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
110 #define CYG_IO_SET_CONFIG_TERMIOS 0x0401 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
111 |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
115
diff
changeset
|
112 // ======== 0x600 FLASH ===================================================== |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
115
diff
changeset
|
113 // Get/Set configuration 'key' values for FLASH drivers |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
115
diff
changeset
|
114 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
115
diff
changeset
|
115 #define CYG_IO_GET_CONFIG_FLASH_ERASE 0x600 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
115
diff
changeset
|
116 #define CYG_IO_GET_CONFIG_FLASH_QUERY 0x601 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
115
diff
changeset
|
117 #define CYG_IO_GET_CONFIG_FLASH_LOCK 0x602 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
115
diff
changeset
|
118 #define CYG_IO_GET_CONFIG_FLASH_UNLOCK 0x603 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
115
diff
changeset
|
119 #define CYG_IO_GET_CONFIG_FLASH_VERIFY 0x604 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
115
diff
changeset
|
120 #define CYG_IO_GET_CONFIG_FLASH_DEVSIZE 0x605 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
115
diff
changeset
|
121 #define CYG_IO_GET_CONFIG_FLASH_BLOCKSIZE 0x606 |
|
2631
13376f3cfc60
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2513
diff
changeset
|
122 #define CYG_IO_GET_CONFIG_FLASH_DEVADDR 0x607 |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
115
diff
changeset
|
123 |
|
2631
13376f3cfc60
Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents:
2513
diff
changeset
|
124 // Note the following is now deprecated. See generic flash package for the replacement. |
|
1411
5e52f3febc7d
Specify flash block device names at runtime - from David Woodhouse
gthomas
parents:
863
diff
changeset
|
125 #define CYG_IO_SET_CONFIG_FLASH_FIS_NAME 0x680 |
|
5e52f3febc7d
Specify flash block device names at runtime - from David Woodhouse
gthomas
parents:
863
diff
changeset
|
126 |
|
1476
f2453fae08d4
Added support for FAT filesystem. Several packages, see the individual
nickg
parents:
1411
diff
changeset
|
127 // ======== 0x700 DISK ======================================================= |
|
f2453fae08d4
Added support for FAT filesystem. Several packages, see the individual
nickg
parents:
1411
diff
changeset
|
128 // Get/Set configuration 'key' values for DISK I/O |
|
f2453fae08d4
Added support for FAT filesystem. Several packages, see the individual
nickg
parents:
1411
diff
changeset
|
129 |
|
f2453fae08d4
Added support for FAT filesystem. Several packages, see the individual
nickg
parents:
1411
diff
changeset
|
130 #define CYG_IO_GET_CONFIG_DISK_INFO 0x700 |
|
f2453fae08d4
Added support for FAT filesystem. Several packages, see the individual
nickg
parents:
1411
diff
changeset
|
131 |
|
2296
528f10185fd5
* include/config_keys.h: Merge from eCosCentric repository.
jlarmour
parents:
2161
diff
changeset
|
132 #define CYG_IO_SET_CONFIG_DISK_MOUNT 0x781 |
|
528f10185fd5
* include/config_keys.h: Merge from eCosCentric repository.
jlarmour
parents:
2161
diff
changeset
|
133 #define CYG_IO_SET_CONFIG_DISK_UMOUNT 0x782 |
|
2068
c051df3f1083
Updates for CAN driver/infrastructure - from Uwe Kindler
gthomas
parents:
2059
diff
changeset
|
134 |
| 2059 | 135 // ======== 0x800 CAN ======================================================== |
|
2068
c051df3f1083
Updates for CAN driver/infrastructure - from Uwe Kindler
gthomas
parents:
2059
diff
changeset
|
136 // Get/Set configuration 'key' values for CAN I/O |
| 2059 | 137 #define CYG_IO_GET_CONFIG_CAN_INFO 0x0801 |
| 138 #define CYG_IO_GET_CONFIG_CAN_BUFFER_INFO 0x0802 | |
|
2068
c051df3f1083
Updates for CAN driver/infrastructure - from Uwe Kindler
gthomas
parents:
2059
diff
changeset
|
139 #define CYG_IO_GET_CONFIG_CAN_MSGBUF_INFO 0x0803 |
|
c051df3f1083
Updates for CAN driver/infrastructure - from Uwe Kindler
gthomas
parents:
2059
diff
changeset
|
140 #define CYG_IO_GET_CONFIG_CAN_TIMEOUT 0x0804 |
|
c051df3f1083
Updates for CAN driver/infrastructure - from Uwe Kindler
gthomas
parents:
2059
diff
changeset
|
141 #define CYG_IO_GET_CONFIG_CAN_HDI 0x0805 |
|
c051df3f1083
Updates for CAN driver/infrastructure - from Uwe Kindler
gthomas
parents:
2059
diff
changeset
|
142 #define CYG_IO_GET_CONFIG_CAN_STATE 0x0806 |
| 3265 | 143 #define CYG_IO_GET_CONFIG_CAN_ERR_COUNTERS 0x0807 |
| 2059 | 144 |
| 145 #define CYG_IO_SET_CONFIG_CAN_INFO 0x0881 | |
|
2068
c051df3f1083
Updates for CAN driver/infrastructure - from Uwe Kindler
gthomas
parents:
2059
diff
changeset
|
146 #define CYG_IO_SET_CONFIG_CAN_OUTPUT_DRAIN 0x0882 |
|
c051df3f1083
Updates for CAN driver/infrastructure - from Uwe Kindler
gthomas
parents:
2059
diff
changeset
|
147 #define CYG_IO_SET_CONFIG_CAN_OUTPUT_FLUSH 0x0883 |
|
c051df3f1083
Updates for CAN driver/infrastructure - from Uwe Kindler
gthomas
parents:
2059
diff
changeset
|
148 #define CYG_IO_SET_CONFIG_CAN_INPUT_FLUSH 0x0884 |
|
c051df3f1083
Updates for CAN driver/infrastructure - from Uwe Kindler
gthomas
parents:
2059
diff
changeset
|
149 #define CYG_IO_SET_CONFIG_CAN_TIMEOUT 0x0885 |
|
2296
528f10185fd5
* include/config_keys.h: Merge from eCosCentric repository.
jlarmour
parents:
2161
diff
changeset
|
150 #define CYG_IO_SET_CONFIG_CAN_MSGBUF 0x0886 |
|
2068
c051df3f1083
Updates for CAN driver/infrastructure - from Uwe Kindler
gthomas
parents:
2059
diff
changeset
|
151 #define CYG_IO_SET_CONFIG_CAN_MODE 0x0887 |
|
2296
528f10185fd5
* include/config_keys.h: Merge from eCosCentric repository.
jlarmour
parents:
2161
diff
changeset
|
152 #define CYG_IO_SET_CONFIG_CAN_ABORT 0x0888 |
|
2416
49d6269df2c2
* include/config_keys.h: Added key set setting CAN callback
asl
parents:
2296
diff
changeset
|
153 #define CYG_IO_SET_CONFIG_CAN_CALLBACK 0x0889 |
|
3076
ceb05854bf2d
* include/config_keys.h: Add two new keys to configure CAN driver:
sergeig
parents:
2953
diff
changeset
|
154 #define CYG_IO_SET_CONFIG_CAN_RANGE_FILTER 0x088A |
|
ceb05854bf2d
* include/config_keys.h: Add two new keys to configure CAN driver:
sergeig
parents:
2953
diff
changeset
|
155 #define CYG_IO_SET_CONFIG_CAN_MASK_FILTER 0x088B |
| 2059 | 156 |
| 2513 | 157 // ======== 0x900 ADC ======================================================== |
| 158 // Get/Set configuration 'key' values for ADC I/O | |
| 159 | |
| 160 #define CYG_IO_GET_CONFIG_ADC_RATE 0x0901 | |
| 161 | |
| 162 #define CYG_IO_SET_CONFIG_ADC_RATE 0x0981 | |
| 163 #define CYG_IO_SET_CONFIG_ADC_ENABLE 0x0982 | |
| 164 #define CYG_IO_SET_CONFIG_ADC_DISABLE 0x0983 | |
| 2953 | 165 #define CYG_IO_SET_CONFIG_ADC_DATA_FLUSH 0x0984 |
| 2513 | 166 |
|
115
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
167 // ======== 0x1000 Generic =================================================== |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
168 // Get/Set configuration 'key' values that can apply to more than one |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
169 // class of device. |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
170 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
171 #define CYG_IO_GET_CONFIG_READ_BLOCKING 0x1001 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
172 #define CYG_IO_GET_CONFIG_WRITE_BLOCKING 0x1002 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
173 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
174 #define CYG_IO_SET_CONFIG_READ_BLOCKING 0x1081 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
175 #define CYG_IO_SET_CONFIG_WRITE_BLOCKING 0x1082 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
86
diff
changeset
|
176 |
|
2296
528f10185fd5
* include/config_keys.h: Merge from eCosCentric repository.
jlarmour
parents:
2161
diff
changeset
|
177 // Close the underlying device - primarily useful for io/fileio's devfs, |
|
528f10185fd5
* include/config_keys.h: Merge from eCosCentric repository.
jlarmour
parents:
2161
diff
changeset
|
178 // but probably more widely applicable. Note that this is not like UNIX |
|
528f10185fd5
* include/config_keys.h: Merge from eCosCentric repository.
jlarmour
parents:
2161
diff
changeset
|
179 // close in that there is no reference counting. If that is needed it must |
|
528f10185fd5
* include/config_keys.h: Merge from eCosCentric repository.
jlarmour
parents:
2161
diff
changeset
|
180 // be done at a higher level. |
|
528f10185fd5
* include/config_keys.h: Merge from eCosCentric repository.
jlarmour
parents:
2161
diff
changeset
|
181 #define CYG_IO_SET_CONFIG_CLOSE 0x1100 |
|
86
6512add4f5d6
Merge from eCos master repository on 2000-05-05-07:47:05-BST
jlarmour
parents:
66
diff
changeset
|
182 |
| 2 | 183 #endif /* CYGONCE_CONFIG_KEYS_H */ |
| 184 /* EOF config_keys.h */ |
