system_init.h 453 B

1234567891011121314151617181920
  1. #ifndef __SYSTEM_INIT_H
  2. #define __SYSTEM_INIT_H
  3. #include "rkfifo.h"
  4. void thread_can_handle(void);
  5. void thread_usart_handle(void);
  6. void thread_task_handle(void);
  7. void user_init(void);
  8. void creat_sem_init(void);
  9. extern rkfifo_t uart_rkfifo;
  10. extern rkfifo_t can1_rkfifo;
  11. extern rkfifo_t can2_rkfifo;
  12. extern rkfifo_t send_uart_rkfifo;
  13. extern struct rt_semaphore uart1_sem;
  14. extern struct rt_semaphore can1_sem;
  15. extern struct rt_semaphore can2_sem;
  16. #endif