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 at24mac602_arch_init(), at25dfx_chip_init(), bootloader_system_init(), button_sensor_init(), config_led(), config_port_pins(), configure_button_led(), configure_port_pins(), configure_trigger(), init_buttons(), init_chip_pins(), io1_board_init(), ksz8851snl_interface_init(), led_init(), leds_arch_init(), mac_init(), main(), nm_bsp_btn_init(), nm_bsp_deinit(), nm_bus_deinit(), 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(), set_sda_input(), set_sda_output(), setup_extint_callback_mode_test(), setup_extint_polled_mode_test(), spi_attach_slave(), ssd1306_interface_init(), and usb_dual_enable().
enum port_pin_pull port_config::input_pull |
Port pull-up/pull-down for input pins.
Referenced by button_sensor_init(), config_port_pins(), configure_port_pins(), init_buttons(), nm_bsp_btn_init(), nm_bsp_deinit(), nm_bus_deinit(), oled1_init(), port_get_config_defaults(), port_group_set_config(), port_pin_set_config(), set_sda_input(), setup_extint_callback_mode_test(), setup_extint_polled_mode_test(), 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().