Module gpio_config

Source
Expand description

Generic Purpose Input/Output config

Structs§

GPIO_CONFIG_SPEC
Generic Purpose Input/Output config

Enums§

ALTERNATE_A
Pin alternate function switch
INTERRUPT_MODE_A
Select pin interrupt mode
PIN_MODE_A
Pin input/output mode switch

Type Aliases§

ALTERNATE_R
Field alternate reader - Pin alternate function switch
ALTERNATE_W
Field alternate writer - Pin alternate function switch
DRIVE_R
Field drive reader - Drive strength
DRIVE_W
Field drive writer - Drive strength
INPUT_FUNCTION_R
Field input_function reader - Enable input signal
INPUT_FUNCTION_W
Field input_function writer - Enable input signal
INPUT_VALUE_R
Field input_value reader - Input value
INTERRUPT_CLEAR_R
Field interrupt_clear reader - Clear pin interrupt flag
INTERRUPT_CLEAR_W
Field interrupt_clear writer - Clear pin interrupt flag
INTERRUPT_MASK_R
Field interrupt_mask reader - Pin interrupt mask
INTERRUPT_MASK_W
Field interrupt_mask writer - Pin interrupt mask
INTERRUPT_MODE_R
Field interrupt_mode reader - Select pin interrupt mode
INTERRUPT_MODE_W
Field interrupt_mode writer - Select pin interrupt mode
INTERRUPT_STATE_R
Field interrupt_state reader - Pin interrupt state
OUTPUT_CLEAR_W
Field output_clear writer - Clear output value to 0
OUTPUT_FUNCTION_R
Field output_function reader - Enable output signal
OUTPUT_FUNCTION_W
Field output_function writer - Enable output signal
OUTPUT_SET_W
Field output_set writer - Set output value to 1
OUTPUT_VALUE_R
Field output_value reader - Output value
OUTPUT_VALUE_W
Field output_value writer - Output value
PIN_MODE_R
Field pin_mode reader - Pin input/output mode switch
PIN_MODE_W
Field pin_mode writer - Pin input/output mode switch
PULL_DOWN_R
Field pull_down reader - Enable internal pull-down
PULL_DOWN_W
Field pull_down writer - Enable internal pull-down
PULL_UP_R
Field pull_up reader - Enable internal pull-up
PULL_UP_W
Field pull_up writer - Enable internal pull-up
R
Register gpio_config[%s] reader
SCHMITT_R
Field schmitt reader - Enable schmitt trigger
SCHMITT_W
Field schmitt writer - Enable schmitt trigger
W
Register gpio_config[%s] writer