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 config_led(), config_port_pins(), configure_port_pins(), configure_usart_lin(), ksz8851snl_interface_init(), main(), oled1_init(), port_get_config_defaults(), port_group_set_config(), port_input_event_set_config(), port_pin_set_config(), run_faultn_test(), run_faultx_test(), setup_extint_callback_mode_test(), setup_extint_polled_mode_test(), spi_attach_slave(), and ssd1306_interface_init().
enum port_pin_pull port_config::input_pull |
Port pull-up/pull-down for input pins.
Referenced by config_port_pins(), configure_port_pins(), oled1_init(), port_get_config_defaults(), port_group_set_config(), port_pin_set_config(), setup_extint_callback_mode_test(), and setup_extint_polled_mode_test().
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().