<!DOCTYPE module SYSTEM "module.dtd">

<module name="current_sensor">
  <doc>
    <description>
      Current sensor via onboard ADC.
    </description>
    <configure name="ADC_CURRENT_SENSOR" value="ADC_0|ADC_1|ADC_2|ADC_3" description="ADC to use"/>
  </doc>
  <makefile target="ap">
    <define name="ADC_CHANNEL_CURRENT" value="$(ADC_CURRENT_SENSOR)"/>
    <define name="USE_$(ADC_CURRENT_SENSOR)"/>
  </makefile>
</module>
