Header for stm32f4_ultrasound.c file.
More...
#include <stdint.h>
#include "stm32f4xx.h"
|
void | stm32f4_ultrasound_set_new_trigger_gpio (uint32_t ultrasound_id, GPIO_TypeDef *p_port, uint8_t pin) |
| Auxiliary function to change the GPIO and pin of the trigger pin of an ultrasound transceiver. This function is used for testing purposes mainly although it can be used in the final implementation if needed. More...
|
|
void | stm32f4_ultrasound_set_new_echo_gpio (uint32_t ultrasound_id, GPIO_TypeDef *p_port, uint8_t pin) |
| Auxiliary function to change the GPIO and pin of the echo pin of an ultrasound transceiver. This function is used for testing purposes mainly although it can be used in the final implementation if needed. More...
|
|
Header for stm32f4_ultrasound.c file.
- Author
- Sistemas Digitales II
- Date
- 2025-01-01
◆ STM32F4_REAR_PARKING_SENSOR_ECHO_GPIO
#define STM32F4_REAR_PARKING_SENSOR_ECHO_GPIO |
Ultrasound echo signal GPIO port
◆ STM32F4_REAR_PARKING_SENSOR_ECHO_PIN
#define STM32F4_REAR_PARKING_SENSOR_ECHO_PIN |
Ultrasound echo signal GPIO pin
◆ STM32F4_REAR_PARKING_SENSOR_TRIGGER_GPIO
#define STM32F4_REAR_PARKING_SENSOR_TRIGGER_GPIO |
Ultrasound trigger signal GPIO port
◆ STM32F4_REAR_PARKING_SENSOR_TRIGGER_PIN
#define STM32F4_REAR_PARKING_SENSOR_TRIGGER_PIN |
Ultrasound trigger signal GPIO pin
◆ stm32f4_ultrasound_set_new_echo_gpio()
void stm32f4_ultrasound_set_new_echo_gpio |
( |
uint32_t |
ultrasound_id, |
|
|
GPIO_TypeDef * |
p_port, |
|
|
uint8_t |
pin |
|
) |
| |
Auxiliary function to change the GPIO and pin of the echo pin of an ultrasound transceiver. This function is used for testing purposes mainly although it can be used in the final implementation if needed.
- Parameters
-
ultrasound_id | ID of the echo signal to change. |
p_port | New GPIO port for the echo signal. |
pin | New GPIO pin for the echo signal. |
◆ stm32f4_ultrasound_set_new_trigger_gpio()
void stm32f4_ultrasound_set_new_trigger_gpio |
( |
uint32_t |
ultrasound_id, |
|
|
GPIO_TypeDef * |
p_port, |
|
|
uint8_t |
pin |
|
) |
| |
Auxiliary function to change the GPIO and pin of the trigger pin of an ultrasound transceiver. This function is used for testing purposes mainly although it can be used in the final implementation if needed.
- Parameters
-
ultrasound_id | ID of the trigger signal to change. |
p_port | New GPIO port for the trigger signal. |
pin | New GPIO pin for the trigger signal. |