23.6.3.3.2 Function system_pinmux_pin_set_input_sample_mode()

Configures the input sampling mode for a GPIO pin.

void system_pinmux_pin_set_input_sample_mode( const uint8_t gpio_pin, const enum system_pinmux_pin_sample mode)

Configures the input sampling mode for a GPIO input, to control when the physical I/O pin value is sampled and stored inside the microcontroller.

Table 23-8. Parameters
Data directionParameter nameDescription

[in]

gpio_pin

Index of the GPIO pin to configure

[in]

mode

New pin sampling mode to configure