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.
 
 
 

21 lines
447 B

#pragma once
#include "chip_tim_irq_shceduler.hpp"
#include "irq_dispatcher/ztim_irq_dispatcher.hpp"
#include "irq_dispatcher/zcan_irq_dispatcher.hpp"
#include "zgpio.hpp"
#include "zpwm_generator.hpp"
#include "ztim.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);
void chip_set_error();
}