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.
 
 

20 lines
381 B

#pragma once
#include "chip_tim_irq_shceduler.hpp"
#include "zcan_irq_dispatcher.hpp"
#include "zgpio.hpp"
#include "zirq_dispatcher.hpp"
#include "ztim.hpp"
#include "zuart.hpp"
extern "C" {
typedef struct {
zchip_tim_t *us_dleay_tim;
zchip_tim_t *tim_irq_scheduler_tim;
zchip_uart_t *huart;
Pin_t debuglight;
} chip_cfg_t;
void chip_init(chip_cfg_t *cfg);
}