libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
Go to the source code of this file.
Functions | |
void | gpio_mode_setup (uint32_t gpioport, enum gpio_mode mode, enum gpio_pull_up_down pull_up_down, uint8_t gpios) |
General Purpose Input/Outputs Set Pin Mode. More... | |
void | gpio_set_output_options (uint32_t gpioport, enum gpio_output_type otype, enum gpio_drive_strength drive, enum gpio_slew_ctl slewctl, uint8_t gpios) |
General Purpose Input/Outputs Set Output Options. More... | |
void | gpio_set_af (uint32_t gpioport, uint8_t alt_func_num, uint8_t gpios) |
General Purpose Input/Outputs Set Alternate Function Selection. More... | |
void | gpio_configure_trigger (uint32_t gpioport, enum gpio_trigger trigger, uint8_t gpios) |
General Purpose Input/Outputs Configure Interrupt Trigger. More... | |
void | gpio_set (uint32_t gpioport, uint8_t gpios) |
General Purpose Input/Outputs Set a Group of Pins Atomic. More... | |
void | gpio_clear (uint32_t gpioport, uint8_t gpios) |
General Purpose Input/Outputs Clear a Group of Pins Atomic. More... | |
uint8_t | gpio_get (uint32_t gpioport, uint8_t gpios) |
General Purpose Input/Outputs Read a Group of Pins. More... | |
void | gpio_toggle (uint32_t gpioport, uint8_t gpios) |
General Purpose Input/Outputs Toggle a Group of Pins. More... | |
uint8_t | gpio_port_read (uint32_t gpioport) |
General Purpose Input/Outputs Read from a Port. More... | |
void | gpio_port_write (uint32_t gpioport, uint8_t data) |
General Purpose Input/Outputs Write to a Port. More... | |
void | gpio_enable_interrupts (uint32_t gpioport, uint8_t gpios) |
General Purpose Input/Outputs Enable Interrupts on specified pins. More... | |
void | gpio_disable_interrupts (uint32_t gpioport, uint8_t gpios) |
General Purpose Input/Outputs Disable interrupts on specified pins. More... | |
void | gpio_unlock_commit (uint32_t gpioport, uint8_t gpios) |
General Purpose Input/Outputs Unlock The Commit Control. More... | |
uint8_t | gpio_is_interrupt_source (uint32_t gpioport, uint8_t gpios) |
General Purpose Input/Outputs Determine if interrupt is generated by the given pin. More... | |
void | gpio_clear_interrupt_flag (uint32_t gpioport, uint8_t gpios) |
General Purpose Input/Outputs Mark Interrupt as Serviced. More... | |