log_dio.h 507 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #ifndef __LOG_DIO_H
  2. #define __LOG_DIO_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #include "FreeRTOS.h"
  7. #include "task.h"
  8. #include "semphr.h"
  9. #include "event_groups.h"
  10. //
  11. void log_dio_archive_init(void);
  12. //
  13. uint8_t log_get_arch_channel_number(void);
  14. //
  15. uint8_t log_is_channel_on(uint8_t channel);
  16. //
  17. void log_archive_task_device(void);
  18. extern uint32_t archive_cnt[];
  19. extern struct ringfs fs_ch_arch[];
  20. extern EventGroupHandle_t archive_event;
  21. #ifdef __cplusplus
  22. }
  23. #endif
  24. #endif // __LOG_DIO_H