Skip to content
  • Jerzy Kasenberg's avatar
    drivers: adc: add adc support for Smartbond devices · ce401851
    Jerzy Kasenberg authored
    
    
    Renesas Renesas SmartBond(tm) have two ADC blocks:
    GPADC and SDADC.
    This change adds drivers for both.
    Each ADC supports only one channel setup, drivers allow
    to have multiply channels in sequence. Switching
    between ADC sources in done in software.
    
    GPADC has 10 bit resolution (accuracy can be increase
    with oversampling). Values up to 3.6V can be measured
    on selected pins. V30 and VBAT1 can also be measured.
    SDADC has 14 bit resolution and can take measurements
    from 8 pins (single of differential) and VBAT.
    
    Signed-off-by: default avatarJerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
    ce401851
Loading