23.8.1.2.1 Code
Copy-paste the following code to your user application:
system_pinmux_pin_set_input_sample_mode(10,
SYSTEM_PINMUX_PIN_SAMPLE_ONDEMAND);
while
(
true
) {
/* Infinite loop */
}