13.6.1.1 Struct port_config

Configuration structure for a port pin instance. This structure should be initialized by the port_get_config_defaults() function before being modified by the user application.

Table 13-1. Members
TypeNameDescription
enum port_pin_dirdirection

Port buffer input/output direction

enum port_pin_pullinput_pull

Port pull-up/pull-down for input pins

boolpowersave

Enable lowest possible powerstate on the pin.

Note: All other configurations will be ignored, the pin will be disabled.