You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
456 B

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. #pragma once
  2. #include <stdbool.h>
  3. typedef struct
  4. {
  5. bool heating_plate_preheat_start_flag;
  6. bool heating_plate_preheat_finished_flag;
  7. } heating_plate_structer_t;
  8. typedef double (*get_temp_callback_t)(void);
  9. void T_heating_plate_init(heating_plate_structer_t *heating_plate_structer);
  10. void T_heating_plate_registered_cb(get_temp_callback_t cb);
  11. void T_heating_plate_start(void);
  12. void T_heating_plate_stop(void);
  13. void T_heating_plate_schedule(void);