/* Configures the adc any channels conversion Max rank number.  */
void ADC_ANY_NUM_Config(ADC_TypeDef *adc, u8 num)
/* Configures the adc any channels conversion Max rank number.  */
void ADC_ANY_NUM_Config(ADC_TypeDef *adc, u8 num)
{
    if(num > 15) num = 15;
    adc->ANYCFG = num;
}