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... | |
enum port_pin_dir port_config::direction |
Port buffer input/output direction.
Referenced by bootloader_system_init(), port_get_config_defaults(), port_group_set_config(), port_pin_set_config(), and usb_dual_enable().
enum port_pin_pull port_config::input_pull |
Port pull-up/pull-down for input pins.
Referenced by port_get_config_defaults(), port_group_set_config(), port_pin_set_config(), and usb_dual_enable().
bool port_config::powersave |
Enable lowest possible powerstate on the pin.
Referenced by port_get_config_defaults(), port_group_set_config(), and port_pin_set_config().