#include "stdint.h"
#include "stdbool.h"
Go to the source code of this file.
◆ DISPLAY_DODW
| #define DISPLAY_DODW 1000 |
◆ DISPLAY_ON
◆ DISPLAY_UP
◆ DISPLAYTIME
◆ STEPON
◆ STEPPWM
◆ STEPWMSEC
◆ TIMERATIO
◆ sens
| Enumerator |
|---|
| RAMPUP | |
| RAMPSTATIC | |
| RAMPDOWN | |
◆ states
| Enumerator |
|---|
| APP_INIT | |
| APP_WAIT_FOR_INT | |
| APP_CALC | |
| APP_DISPLAY | |
| APP_DELAY | |
| APP_KILL | |
◆ APP_CORETIMER_CALLBACK()
| void APP_CORETIMER_CALLBACK |
( |
void | | ) |
|
Callback du core timer pour gérer la variation de RC.
◆ APP_TMR1_CallBack()
| void APP_TMR1_CallBack |
( |
void | | ) |
|
Callback du timer 1, décrémente le délai stocké dans AppData.
End of File
◆ APP_WaitStart()
| void APP_WaitStart |
( |
uint16_t | waitingTime_ms | ) |
|
Lance une attente bloquante pendant un temps donné (ms).
- Parameters
-
| waitingTime | Durée d'attente en millisecondes |
Lance une attente bloquante pendant un temps donné (ms).
- Parameters
-
| waitingTime_ms | Durée d'attente en millisecondes |
◆ APP_WaitStart_noBlocking()
| bool APP_WaitStart_noBlocking |
( |
| ) |
|
Lance une attente non bloquante (fonction expérimentale).
- Returns
- true si attente terminée, false sinon
◆ SetStates()
| void SetStates |
( |
states | newstate | ) |
|
Change l'état courant de l'application.
- Parameters
-
| newstate | Nouvel état à appliquer |