/* Set the fields of structure stc_tmr6_pwm_init_t to default values.  */
int32_t TMR6_PWM_StructInit(stc_tmr6_pwm_init_t *pstcPwmInit)
/* Set the fields of structure stc_tmr6_pwm_init_t to default values.  */
int32_t TMR6_PWM_StructInit(stc_tmr6_pwm_init_t *pstcPwmInit)
{
    int32_t i32Ret = LL_ERR_INVD_PARAM;
    uint32_t u32RefRegResetValue;
    if (NULL != pstcPwmInit) {
        pstcPwmInit->u32StartPolarity = TMR6_PWM_LOW;
        pstcPwmInit->u32StopPolarity = TMR6_PWM_LOW;
        u32RefRegResetValue = TMR6_REG_RST_VALUE_U16;
        pstcPwmInit->u32CompareMatchPolarity = TMR6_PWM_LOW;
        pstcPwmInit->u32PeriodMatchPolarity = TMR6_PWM_LOW;
        pstcPwmInit->u32StartStopHold = TMR6_PWM_START_STOP_CHANGE;
        pstcPwmInit->u32CompareValue = u32RefRegResetValue;
        i32Ret = LL_OK;
    }
    return i32Ret;
}