Definition in file input.c.
Go to the source code of this file.
Functions | |
| void | InputInit (void) |
| Initializes the input module. | |
| void | InputMain (void) |
| The input state machines are feeded, handled and checked. | |
| void | InputButtonReset (eButtonID eBtn) |
| The state machine of the given button will be reseted or all if ALL_BTN is the parameter. | |
| BOOL | bInputButtonPushedOnce (eButtonID eBtn) |
| The application can ask the input module for a given button if there was a single push since the last call of InputButtonReset. | |
| void | InputResetButtonPush (eButtonID eBtn) |
| This function can be used to reset single push events in the state machine. | |
| void | InputResetPowerButton (void) |
| The power button state machine is something special and can be reset by this function. | |
| BOOL | bInputButtonPushedTwice (eButtonID eBtn) |
| The application can ask the input module for a given button if there was a double push since the last call of InputButtonReset or InputInit. | |
| BOOL | bInputButtonPushedLong (eButtonID eBtn) |
| The application can ask the input module for a given button if there was a long push since the last call of InputButtonReset or InputInit. | |
| BYTE | u8InputButtonQuickPushed (void) |
| The function delivers the ID of any pushed quick button (F1-F4). | |
| BOOL | bInputButtonPressed (eButtonID eBtn) |
| The function checks whether the requested button is currently pressed or released. | |
| BOOL | bInputButtonPushed (eButtonID eBtn) |
| This function combines the functions bInputButtonPushedLong, bInputButtonPushedOnce and bInputButtonPushedTwice. | |
| void | InputEncoderInit (SHORT s16Val, SHORT s16Min, SHORT s16Max, BYTE u8Flags) |
| This function initializes the rotary encoder. | |
| SHORT | s16InputEncoderGetValue (void) |
| This function returns the actual value of rotary encoder state machine. | |
| void | InputEncoderSetValue (short s16NewVal, BOOL bRemember) |
| The function sets the internal encoder value to the given value. | |
| BOOL | bInputEncoderValueChanged (void) |
| This function returns TRUE if the value of rotary encoder state machine has changed after the last call of s16InputEncoderGetValue. | |
| void | InputForceChangedEncoderValue (void) |
| After calling this function the function bInputEncoderValueChanged delivers a TRUE when calling after this function call. | |
| BOOL | InputEncoderGetDirection (void) |
| This function delivers the current or last rotary direction of the encoder button. | |
| BOOL | IsEncoderTurning (void) |
| The function checks whether the input encoder is turning. | |
| void | InputInterruptHandler (void) |
| This function handles the periodic requested interrupts. | |
1.5.5