1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- #ifndef __ANALOG_INPUT_H
- #define __ANALOG_INPUT_H
- #include <stdbool.h>
- /*
- #define AN_INP_1 (0)
- #define AN_INP_1 (0)
- #define AN_INP_1 (0)
- #define AN_INP_1 (0)
- #define AN_INP_1 (0)
- #define AN_INP_1 (0)
- #define AN_INP_1 (0)
- #define AN_INP_1 (0)
- */
- typedef enum
- {
- AN_INP_1 = 0,
- AN_INP_2,
- AN_INP_3,
- AN_INP_4,
- AN_INP_5,
- AN_INP_6,
- AN_INP_7,
- AN_INP_8,
- AN_INP_9,
- AN_INP_10,
- AN_INP_11,
- AN_INP_12,
- V_ISO_CL, // +24 V
- V_ISO, // +5 V
- CRNT_LIM_U_BFR_R,
- CRNT_LIM_U_ABFR_R
-
- } ANALOG_IN;
- //
- void ai_connect_channel_301(uint8_t ch);
- //
- void ai_connect_channel_401(uint8_t ch);
-
- //
- void ai_connect_test(void);
- #endif // __ANALOG_INPUT_H
|