Mercurial > public > ostc4
comparison Discovery/Inc/base.h @ 551:e3237f580ae9
Added viewport functionality:
The viewport shall estimate if the user is looking at the display (in focus) or not. This is done by vector calculation using roll, pitch and yaw angles.
The first usecase is to enable the motion detection feature: It is only active if the user is looking at the display. Still in development state => deactivated by compile switch
author | Ideenmodellierer |
---|---|
date | Sun, 08 Nov 2020 18:43:19 +0100 |
parents | 50ea68c7a153 |
children | 916998f90e39 |
comparison
equal
deleted
inserted
replaced
550:af1c3e3abd5f | 551:e3237f580ae9 |
---|---|
106 uint8_t get_globalMode(void); | 106 uint8_t get_globalMode(void); |
107 void set_globalMode(uint8_t newMode); | 107 void set_globalMode(uint8_t newMode); |
108 void set_globalState_Log_Page(uint8_t pageIsLine); | 108 void set_globalState_Log_Page(uint8_t pageIsLine); |
109 void set_returnFromComm(void); | 109 void set_returnFromComm(void); |
110 uint8_t font_update_required(void); | 110 uint8_t font_update_required(void); |
111 void set_Backlight_Boost(uint8_t level); | |
111 | 112 |
112 #endif /* BASE_H */ | 113 #endif /* BASE_H */ |
113 | 114 |
114 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ | 115 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |