controller_bb_8_driver/src/lld_control.c
static void lldDisableAllChannels( void )
{
    // Motor 1
    pwmDisableChannel( pwm1Driver, MOTOR1_PWM1CH_HIN1 );
    pwmDisableChannel( pwm1Driver, MOTOR1_PWM1CH_LIN1 );  // not working
    pwmDisableChannel( pwm1Driver, MOTOR1_PWM1CH_HIN2 ); 
    pwmDisableChannel( pwm1Driver, MOTOR1_PWM1CH_LIN2 );  // not working

    //Motor 2 
    pwmDisableChannel( pwm8Driver, MOTOR2_PWM8CH_HIN1 );
    pwmDisableChannel( pwm8Driver, MOTOR2_PWM8CH_LIN1 );  // not working
    pwmDisableChannel( pwm8Driver, MOTOR2_PWM8CH_HIN2 );
    pwmDisableChannel( pwm8Driver, MOTOR2_PWM8CH_LIN2 );  // not working

    //Motor 3
    pwmDisableChannel( pwm8Driver, MOTOR3_PWM8CH_HIN1 );
    pwmDisableChannel( pwm8Driver, MOTOR3_PWM8CH_LIN1 );  // not working
    pwmDisableChannel( pwm1Driver, MOTOR3_PWM1CH_HIN2 );
    pwmDisableChannel( pwm1Driver, MOTOR3_PWM1CH_LIN2 );  // not working
}
/**
 * @brief   Disable all used PWM channels
 */
@brief   Disable all used PWM channels
@brief Disable all used PWM channels
static void lldDisableAllChannels( void )
{
    pwmDisableChannel( pwm1Driver, MOTOR1_PWM1CH_HIN1 );
    pwmDisableChannel( pwm1Driver, MOTOR1_PWM1CH_LIN1 );  
    pwmDisableChannel( pwm1Driver, MOTOR1_PWM1CH_HIN2 ); 
    pwmDisableChannel( pwm1Driver, MOTOR1_PWM1CH_LIN2 );  
    pwmDisableChannel( pwm8Driver, MOTOR2_PWM8CH_HIN1 );
    pwmDisableChannel( pwm8Driver, MOTOR2_PWM8CH_LIN1 );  
    pwmDisableChannel( pwm8Driver, MOTOR2_PWM8CH_HIN2 );
    pwmDisableChannel( pwm8Driver, MOTOR2_PWM8CH_LIN2 );  
    pwmDisableChannel( pwm8Driver, MOTOR3_PWM8CH_HIN1 );
    pwmDisableChannel( pwm8Driver, MOTOR3_PWM8CH_LIN1 );  
    pwmDisableChannel( pwm1Driver, MOTOR3_PWM1CH_HIN2 );
    pwmDisableChannel( pwm1Driver, MOTOR3_PWM1CH_LIN2 );  
}
static void lldDisableAllChannels ( void ) { pwmDisableChannel ( pwm1Driver , MOTOR1_PWM1CH_HIN1 ) ; pwmDisableChannel ( pwm1Driver , MOTOR1_PWM1CH_LIN1 ) ; pwmDisableChannel ( pwm1Driver , MOTOR1_PWM1CH_HIN2 ) ; pwmDisableChannel ( pwm1Driver , MOTOR1_PWM1CH_LIN2 ) ; pwmDisableChannel ( pwm8Driver , MOTOR2_PWM8CH_HIN1 ) ; pwmDisableChannel ( pwm8Driver , MOTOR2_PWM8CH_LIN1 ) ; pwmDisableChannel ( pwm8Driver , MOTOR2_PWM8CH_HIN2 ) ; pwmDisableChannel ( pwm8Driver , MOTOR2_PWM8CH_LIN2 ) ; pwmDisableChannel ( pwm8Driver , MOTOR3_PWM8CH_HIN1 ) ; pwmDisableChannel ( pwm8Driver , MOTOR3_PWM8CH_LIN1 ) ; pwmDisableChannel ( pwm1Driver , MOTOR3_PWM1CH_HIN2 ) ; pwmDisableChannel ( pwm1Driver , MOTOR3_PWM1CH_LIN2 ) ; }
@brief   Disable all used PWM channels
@brief Disable all used PWM channels
// Motor 1 // not working // not working //Motor 2  // not working // not working //Motor 3 // not working // not working