2021-09-07 16:11:02 +02:00
|
|
|
#ifndef BSP_Q7S_CALLBACKS_GNSSCALLBACK_H_
|
|
|
|
#define BSP_Q7S_CALLBACKS_GNSSCALLBACK_H_
|
|
|
|
|
|
|
|
#include "fsfw/returnvalues/HasReturnvaluesIF.h"
|
2022-01-17 15:58:27 +01:00
|
|
|
#include "fsfw_hal/linux/gpio/LinuxLibgpioIF.h"
|
2021-09-07 16:11:02 +02:00
|
|
|
|
|
|
|
struct ResetArgs {
|
2022-01-17 15:58:27 +01:00
|
|
|
bool gnss1 = false;
|
|
|
|
LinuxLibgpioIF* gpioComIF = nullptr;
|
|
|
|
uint32_t waitPeriodMs = 100;
|
2021-09-07 16:11:02 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
namespace gps {
|
|
|
|
|
|
|
|
ReturnValue_t triggerGpioResetPin(void* args);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* BSP_Q7S_CALLBACKS_GNSSCALLBACK_H_ */
|