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 1. Parameters
Data direction Parameter name Description

[in]

gpio_pin

Index of the GPIO pin

[in]

n

Port input event

Table 2. Return Values
Return value Description

STATUS_ERR_INVALID_ARG

Invalid parameter

STATUS_OK

Successfully