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.
Data direction | Parameter name | Description |
---|---|---|
[in] | gpio_pin |
Index of the GPIO pin |
[in] | n |
Port input event |
Return value | Description |
---|---|
STATUS_ERR_INVALID_ARG |
Invalid parameter |
STATUS_OK |
Successfully |