|
GPS Device
|
Functions | |
| void | gpio_init (GPIO_CFG_ts *gpio_cfg) |
| Initializes a GPIO pin according to the given configuration. | |
| void | gpio_deinit (GPIO_REGDEF_ts const *gpio_port) |
| Deinitializes a GPIO port by resetting its registers to reset values. | |
| void | gpio_write (GPIO_REGDEF_ts *gpio_port, uint8_t gpio_pin, PIN_STATUS_te pin_status) |
| Drives a GPIO output pin high or low. | |
| PIN_STATUS_te | gpio_read (GPIO_REGDEF_ts const *gpio_port, uint8_t gpio_pin) |
| Reads the current logic level of a GPIO input pin. | |
| void | gpio_clear_interrupt (EXTI_LINES_te exti_line) |
| Clears the EXTI pending flag for the given interrupt line. | |
| void | gpio_get_name (GPIO_REGDEF_ts const *gpio_port, char *name) |
| Returns the name string of a GPIO port. | |
| void gpio_init | ( | GPIO_CFG_ts * | gpio_cfg | ) |
Initializes a GPIO pin according to the given configuration.
Definition at line 29 of file stm32f401re_gpio.c.


| void gpio_deinit | ( | GPIO_REGDEF_ts const * | gpio_port | ) |
Deinitializes a GPIO port by resetting its registers to reset values.
Definition at line 103 of file stm32f401re_gpio.c.

| void gpio_write | ( | GPIO_REGDEF_ts * | gpio_port, |
| uint8_t | gpio_pin, | ||
| PIN_STATUS_te | pin_status ) |
Drives a GPIO output pin high or low.
Definition at line 127 of file stm32f401re_gpio.c.

| PIN_STATUS_te gpio_read | ( | GPIO_REGDEF_ts const * | gpio_port, |
| uint8_t | gpio_pin ) |
Reads the current logic level of a GPIO input pin.
Definition at line 139 of file stm32f401re_gpio.c.

| void gpio_clear_interrupt | ( | EXTI_LINES_te | exti_line | ) |
Clears the EXTI pending flag for the given interrupt line.
Definition at line 145 of file stm32f401re_gpio.c.
| void gpio_get_name | ( | GPIO_REGDEF_ts const * | gpio_port, |
| char * | name ) |
Returns the name string of a GPIO port.
Returns the name string of a GPIO port (e.g. "GPIOA").
Definition at line 150 of file stm32f401re_gpio.c.
