2021-09-07 16:11:02 +02:00
|
|
|
#ifndef BSP_Q7S_CALLBACKS_GNSSCALLBACK_H_
|
|
|
|
#define BSP_Q7S_CALLBACKS_GNSSCALLBACK_H_
|
|
|
|
|
2022-08-24 17:27:47 +02:00
|
|
|
#include "fsfw/returnvalues/returnvalue.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
|
|
|
LinuxLibgpioIF* gpioComIF = nullptr;
|
|
|
|
uint32_t waitPeriodMs = 100;
|
2021-09-07 16:11:02 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
namespace gps {
|
|
|
|
|
2022-05-25 10:59:20 +02:00
|
|
|
ReturnValue_t triggerGpioResetPin(const uint8_t* actionData, size_t len, void* args);
|
2021-09-07 16:11:02 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* BSP_Q7S_CALLBACKS_GNSSCALLBACK_H_ */
|