13.6.4.3 Enum port_pin_dir

Enum for the possible pin direction settings of the port pin configuration structure, to indicate the direction the pin should use.

Table 13-24. Members
Enum valueDescription

PORT_PIN_DIR_INPUT

The pin's input buffer should be enabled, so that the pin state can be read

PORT_PIN_DIR_OUTPUT

The pin's output buffer should be enabled, so that the pin state can be set

PORT_PIN_DIR_OUTPUT_WTH_READBACK

The pin's output and input buffers should be enabled, so that the pin state can be set and read back