Slave_Ports_Status_QUEUE.h 713 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. typedef struct
  3. {
  4. uint8_t CNF1;
  5. } TASK_TYPE_T;
  6. */
  7. #ifndef Slave_Ports_Status_QUEUE
  8. #define TASK_TYPE_T_NOT_USED_________________ 0x00
  9. #define TASK_TYPE_T_Slave_Ports_ttl_decrement 0x01
  10. #define TASK_TYPE_T_request_confirm_Exp_state 0x02
  11. #define TASK_TYPE_T_request_set_new_Exp_state 0x03
  12. #define TASK_TYPE_T_Slave_Ports_broadcast____ 0x04
  13. #define TASK_TYPE_T_Slave_Ports_set_I2C______ 0x05
  14. #define Slave_Ports_Status_QUEUE
  15. struct Slave_Ports_Status_QUEUE_S {
  16. int _queue_id ; //current queue task
  17. int TASK_TYPE_A ;
  18. long time_seq_id;
  19. long time_min_run;
  20. } ;
  21. typedef struct Slave_Ports_Status_QUEUE_S Slave_Ports_Status_QUEUE_T;
  22. #endif