27 lines
530 B
C++
27 lines
530 B
C++
#ifndef BSP_STM32_BOARDTEST_STM32TESTTASK_H_
|
|
#define BSP_STM32_BOARDTEST_STM32TESTTASK_H_
|
|
|
|
#include <test/TestTask.h>
|
|
#include "stm32h7xx_hal.h"
|
|
#include "stm32h7xx_hal_spi.h"
|
|
|
|
|
|
|
|
class STM32TestTask: public TestTask {
|
|
public:
|
|
STM32TestTask(object_id_t objectId, bool enablePrintout, bool blinkyLed = true);
|
|
|
|
ReturnValue_t performPeriodicAction() override;
|
|
ReturnValue_t performOneShotAction() override;
|
|
|
|
void performSpiL3gd20hTest();
|
|
private:
|
|
|
|
bool blinkyLed = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* BSP_STM32_BOARDTEST_STM32TESTTASK_H_ */
|