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(), HAL_RadioIOInit(), HAL_ResetPinMakeInput(), HAL_ResetPinMakeOutput(), init_buttons(), init_chip_pins(), ksz8851snl_interface_init(), mac_init(), main(), 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(), setup_extint_callback_mode_test(), setup_extint_polled_mode_test(), spi_attach_slave(), ssd1306_interface_init(), test_backup_mode(), and usb_dual_enable().
enum port_pin_pull port_config::input_pull |
Port pull-up/pull-down for input pins.
Referenced by config_port_pins(), configure_port_pins(), init_buttons(), nm_bsp_deinit(), nm_bus_deinit(), oled1_init(), port_get_config_defaults(), port_group_set_config(), port_pin_set_config(), 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 app_resources_uninit(), port_get_config_defaults(), port_group_set_config(), and port_pin_set_config().