上升沿有效C代码及Simulink实现
static uint8 status_flg = TRUE; if((TRUE == get_CCU1Finish_flg()) && (FALSE == status_flg )) { status_flg = TRUE; CCU1_AutoFinish_flg = TRUE; } else if((TRUE == get_CCU1Finish_flg()) && (TRUE == status_flg )) {