Mercurial > ecos
diff packages/io/common/current/include/config_keys.h @ 2513:9454b98df9aa
Add ADC config keys.
| author | nickg |
|---|---|
| date | Fri, 08 Aug 2008 10:55:45 +0000 |
| parents | 49d6269df2c2 |
| children | 13376f3cfc60 |
line wrap: on
line diff
--- a/packages/io/common/current/include/config_keys.h +++ b/packages/io/common/current/include/config_keys.h @@ -151,6 +151,15 @@ #define CYG_IO_SET_CONFIG_CAN_ABORT 0x0888 #define CYG_IO_SET_CONFIG_CAN_CALLBACK 0x0889 +// ======== 0x900 ADC ======================================================== +// Get/Set configuration 'key' values for ADC I/O + +#define CYG_IO_GET_CONFIG_ADC_RATE 0x0901 + +#define CYG_IO_SET_CONFIG_ADC_RATE 0x0981 +#define CYG_IO_SET_CONFIG_ADC_ENABLE 0x0982 +#define CYG_IO_SET_CONFIG_ADC_DISABLE 0x0983 + // ======== 0x1000 Generic =================================================== // Get/Set configuration 'key' values that can apply to more than one // class of device.
