23.8.1.2.2 Workflow

  1. Adjust the configuration of the pin to enable on-demand sampling mode.
    system_pinmux_pin_set_input_sample_mode(10,
            SYSTEM_PINMUX_PIN_SAMPLE_ONDEMAND);