12345678910111213141516171819202122232425 |
- #ifndef __MONITORING_H
- #define __MONITORING_H
- #include <stdbool.h>
- // Коды ошибок модуля
- typedef enum
- {
- ERR_OK = 0 << 1,
- ADC_ERR = 1 << 1,
-
- } err_code_t;
- void mon_set_err(err_code_t err_code, bool state);
- extern uint32_t mon_state;
- #endif // __MONITORING_H
|