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.

19 lines
410 B

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. #pragma once
  2. #include "chip_tim_irq_shceduler.hpp"
  3. #include "zcan_irq_dispatcher.hpp"
  4. #include "zgpio.hpp"
  5. #include "zirq_dispatcher.hpp"
  6. #include "zpwm_generator.hpp"
  7. #include "ztim.hpp"
  8. #include "zuart.hpp"
  9. extern "C" {
  10. typedef struct {
  11. zchip_tim_t *us_dleay_tim;
  12. zchip_tim_t *tim_irq_scheduler_tim;
  13. zchip_uart_t *huart;
  14. Pin_t debuglight;
  15. } chip_cfg_t;
  16. void chip_init(chip_cfg_t *cfg);
  17. }