Чет работает
This commit is contained in:
16
Core/UKSI/uksi_dc_control.h
Normal file
16
Core/UKSI/uksi_dc_control.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user