/**
    @copyright None
    @file      pwm.h
    @author    Comment Vivre
    @date      2025-12-19
    @brief     None
*/
#ifndef __PWM_H_
#define __PWM_H_

#include <FU65_72.h>

typedef struct
{
    uint8_t UpdateFlag;
    uint16_t TimerDR;
    uint16_t TimerARR;
    uint16_t TimerDROld;
    uint16_t TimerARROld;
    uint16_t OutFreq;
    uint16_t OutDuty;
} Input_Capture_t;

extern Input_Capture_t xdata inputCapture;

void Input_Capture_Calc(void);

#endif

