13.6.3.4.1 Function port_enable_input_event()

Enable the port event input.

enum status_code port_enable_input_event( const uint8_t gpio_pin, const enum port_input_event n)

Enable the port event input with the given pin and event.

Table 13-15. Parameters
Data directionParameter nameDescription

[in]

gpio_pin

Index of the GPIO pin

[in]

n

Port input event

Table 13-16. Return Values
Return valueDescription

STATUS_ERR_INVALID_ARG

Invalid parameter

STATUS_OK

Successfully