Workflow

  1. 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);