Microchip® Advanced Software Framework

port_config Struct Reference

Port pin configuration structure.

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.

#include <port.h>

Data Fields

enum port_pin_dir direction
 Port buffer input/output direction. More...
 
enum port_pin_pull input_pull
 Port pull-up/pull-down for input pins. More...
 
bool powersave
 Enable lowest possible powerstate on the pin. More...
 

bool port_config::powersave

Enable lowest possible powerstate on the pin.

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

Referenced by app_resources_uninit(), port_get_config_defaults(), port_group_set_config(), and port_pin_set_config().