I understand its cannot be done directly from SDK configuration.
1. PWM PAL I will configure using the SDK
2. For IC I will create below Init function and I will not add any configuration using SDK GUI:
void FTM0_Ch2_risingedge_cb()
{
/* Rising edge detected for channel 2 */
}
IC_InitFTM0_Channel2(void)
{
uint8_t chnlPairNum = 0U;
chnlPairNum = (uint8_t)(2 >> 1); //for channel 2
/* Disable the dual edge mode */
FTM_DRV_SetDualEdgeCaptureCmd(FTM0, chnlPairNum, false);
/* Set input capture mode */
FTM_DRV_SetChnMSnBAMode(FTM0, 2, 0U);
/* Set the event which will generate the interrupt */
FTM_DRV_SetChnEdgeLevel(FTM0, 2,0x01); //rising edge interrupt
/* Enable interrupt request for the current channel */
FTM_DRV_EnableChnInt(FTM0, 2);
INT_SYS_InstallHandler(FTM0_Ch0_7_IRQn, FTM0_Ch2_risingedge_cb, (isr_t *)0);
INT_SYS_EnableIRQ(FTM0_Ch0_7_IRQn);
}