log_dio.h 459 B

1234567891011121314151617181920212223242526272829303132333435
  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. void log_archive_task_device(void);
  16. extern uint32_t archive_cnt[];
  17. extern struct ringfs fs_ch_arch[];
  18. extern EventGroupHandle_t archive_event;
  19. #ifdef __cplusplus
  20. }
  21. #endif
  22. #endif // __LOG_DIO_H