-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5379544
commit c8c1616
Showing
47 changed files
with
527 additions
and
481 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
Software/STM32F103RBTx/Application/BusinessLogic/Inc/HmiMuiHandlers.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#ifndef HmiMuiHandlers_h | ||
#define HmiMuiHandlers_h | ||
|
||
#include "BusinessLogic/Inc/HmiMeasurementModel.hpp" | ||
#include "Device/Interfaces/IDisplay.hpp" | ||
|
||
#include "MUIU8g2.h" | ||
|
||
#include <cstdint> | ||
|
||
namespace BusinessLogic | ||
{ | ||
// Those are raw C functions, that needs to have signature based on what MUI lib requires. | ||
std::uint8_t device1_printLastReading(mui_t *muiHandler, std::uint8_t muiMessage); | ||
std::uint8_t device2_printLastReading(mui_t *muiHandler, std::uint8_t muiMessage); | ||
std::uint8_t device3_printLastReading(mui_t *muiHandler, std::uint8_t muiMessage); | ||
std::uint8_t device4_printLastReading(mui_t *muiHandler, std::uint8_t muiMessage); | ||
std::uint8_t device5_printLastReading(mui_t *muiHandler, std::uint8_t muiMessage); | ||
|
||
bool registerMuiToItsObjects(mui_t *ui, Device::IDisplay *display, BusinessLogic::HmiMeasurementModel *model); | ||
|
||
} | ||
|
||
#endif // HmiMuiHandlers_h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.