MT2503 ADC

ADC读取

ADC读取有两种方式:

  • 1,直接读取(immediate)
  • 2,定时读取(timer-triggerd)
    读取方式通过AUXADC_CON0来控制

ADC通道

Channel ID Description 是否外部管脚
Channel 0 VBAT
Channel 1 ISENSE
Channel 2 CHRIN
Channel 3 BATON(BATTemp)
Channel 4 AUXIN4
Channel 5 ACCDET
Channel 9 ClassAB
Channel 12 XP/Externl
Channel 13 YP/Externl
Channel 14 YM/Externl
Channel 15 XM/Externl

There are only two externl pins(channel 4,5) for voltage detection. Other channes(0-3) are for battery vol, current, charger and battery temperature. channel 9 for audio.

其中channel 4、5可以在软件里配置给固定的逻辑通道

你可能感兴趣的:(MT2503 ADC)