#ifndef _UKSI_DC_CONTROL_H #define _UKSI_DC_CONTROL_H #include "main.h" typedef struct { TIM_HandleTypeDef *htim; uint32_t ActiveMode; uint32_t InactiveMode; }UKSI_DC_t; HAL_StatusTypeDef DC_Init(UKSI_DC_t *dc, TIM_HandleTypeDef *htim, uint32_t activemode, uint32_t inactivemode); HAL_StatusTypeDef DC_Enable(UKSI_DC_t *dc, uint8_t state); #endif //_UKSI_CALC_RES_H