diff options
author | Yuuki NAGAO <wf.yn386@gmail.com> | 2025-09-21 10:07:53 +0900 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-09-23 14:48:50 +1000 |
commit | ddf1a383ca110fa6787ea71ff92e3e110378bf2e (patch) | |
tree | c820cee317f7cd1434c63c00d1c730c5bd8f0fc5 /docs/esp32 | |
parent | 7ba82219f3d40689479704edfcc97fcf5b914b2c (diff) |
stm32/machine_adc: Fix machine.ADC so it works on STM32G0.
Fixes are:
- Enable VREG before initializing ADC.
- The channel value of internal sensor should convert with
__LL_ADC_CHANNEL_TO_DECIMAL_NB().
Signed-off-by: Yuuki NAGAO <wf.yn386@gmail.com>
Diffstat (limited to 'docs/esp32')
0 files changed, 0 insertions, 0 deletions