/* Disables PDMA transfer of selected channel for PWM capture.  */
void PWM_DisablePDMA(PWM_T *pwm, uint32_t u32ChannelNum)
/* Disables PDMA transfer of selected channel for PWM capture.  */
void PWM_DisablePDMA(PWM_T *pwm, uint32_t u32ChannelNum)
{
    (pwm)->PDMACTL &= ~(PWM_PDMACTL_CHEN0_1_Msk << ((u32ChannelNum >> 1UL) << 3UL));
}