23.8.1.2.2 Workflow
- 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);
system_pinmux_pin_set_input_sample_mode(10,
SYSTEM_PINMUX_PIN_SAMPLE_ONDEMAND);