/********************************************************************************/
/** BDRV: Run a Brush DC motor with 25% duty cycle and diagnostic              **/
/********************************************************************************/
/** Timer12 (CCU6) is running with a period of 50 us                           **/
/** Channels 0 and 1 are connected to BDRV and configured with 25% duty cycle  **/
/** Before the motor is turned on, an Openload detection is performed:         **/
/**  - if no motor is connected, LED1 (P0.1) is turned on                      **/
/**  - if a motor is connected, it must be spinning                            **/
/** The Overcurrent diagnostic is enabled. In case of an overcurrent condition **/
/** or a short of the motor to either VBAT or GND, the following LEDs provide  **/
/** information on where it was detected:                                      **/
/**  - LED6 = LS1                                                              **/
/**  - LED5 = HS1                                                              **/
/**  - LED4 = LS2                                                              **/
/**  - LED3 = HS2                                                              **/
/********************************************************************************/
