mirror of https://github.com/ARMmbed/mbed-os.git
The power consumption was reported by Paul Staron to be 100uA higher when an AnalogIn was used previously. Problem 1 is that 40uA was used by the async ADC clock, which is never actually used, so it is disabled. Problem 2 is that setting it for high speed mode increased it by another 60uA while in deepsleep. This currently seems to me to be possibly a bug in the design, but the workaround is checking if this is the case before going to deepsleep, and if yes, disable it. Afterwards it is re-enabled. |
||
|---|---|---|
| .. | ||
| TARGET_KL05Z | ||
| TARGET_KL25Z | ||
| TARGET_KL43Z | ||
| TARGET_KL46Z | ||
| PeripheralPins.h | ||
| PortNames.h | ||
| analogin_api.c | ||
| analogout_api.c | ||
| clk_freqs.h | ||
| gpio_api.c | ||
| gpio_object.h | ||
| i2c_api.c | ||
| objects.h | ||
| pinmap.c | ||
| port_api.c | ||
| pwmout_api.c | ||
| rtc_api.c | ||
| sleep.c | ||
| us_ticker.c | ||