esp-idf/examples/peripherals/adc
..
continuous_read
oneshot_read