5.7.1
User interface and indications
Table 4.
Appli_LedBlinkCb
Function
Description
Prototype
MOBLE_RESULT Appli_LedBlinkCb(void)
Behaviour description
It blinks the on-board LED. This function is used at power-on
and at the error conditions due to user's attention
Input parameter
None
Output parameter
MOBLE_RESULT status of result
Table 5.
Appli_LedStateCtrlCb
Function
Description
Prototype
MOBLE_RESULT Appli_LedStateCtrlCb(MOBLEUINT16 ctrl)
Behaviour description
Sets the state of the LEDs or Lighting interface connected
Input parameter
MOBLEUINT16 ctrl: sets the state of LEDs
Output parameter
MOBLE_RESULT status of result
5.7.2
User and button interface
Table 6.
Appli_ShortButtonPress
Function API parameters
Description
Prototype
Static void Appli_ShortButtonPress(void)
Behaviour description
Function calls when a button is pressed for short duration
Input parameter
Void
Output parameter
Void
Table 7.
Appli_LongButtonPress
Function
Description
Prototype
Static void Appli_LongButtonPress(void)
Behaviour description
Function calls when a button is pressed for long duration
Input parameter
Void
Output parameter
Void
Table 8.
Appli_UpdateButtonState
Function
Description
Prototype
Void Appli_UpdateButtonState(int isPressed)
Behaviour description
Updates the button status
Input parameter
int isPressed
Output parameter
Void
UM2295
Application functions and callbacks
UM2295
-
Rev 1
page 23/35