26 lines
405 B
C
26 lines
405 B
C
//
|
|
// Created by cfif on 17.11.22.
|
|
//
|
|
|
|
#ifndef PWM_FLAGCHIP_H
|
|
#define PWM_FLAGCHIP_H
|
|
|
|
#include "PwmIO.h"
|
|
#include "cmsis_os2.h"
|
|
#include "fc7xxx_driver_tpu.h"
|
|
#include "interrupt_manager.h"
|
|
|
|
typedef struct {
|
|
|
|
TPU_InterruptCfgType etpu_Int_config_tbl;
|
|
TPU_PwmCfgType etpu_pwmconfig_tbl;
|
|
|
|
uint8_t TPU_PWM_CHANNEL;
|
|
|
|
} tPwmFlagchip;
|
|
|
|
|
|
tPwmIO vPwmGetIo(tPwmFlagchip *env);
|
|
|
|
#endif //PWM_FLAGCHIP_H
|