Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
lib_nbgl
include
nbgl_buttons.h
Go to the documentation of this file.
1
6
7
#ifndef NBGL_BUTTONS_H
8
#define NBGL_BUTTONS_H
9
10
#include "
nbgl_low_level_guard.h
"
11
12
#ifdef __cplusplus
13
extern
"C"
{
14
#endif
15
16
/*********************
17
* INCLUDES
18
*********************/
19
#include "
nbgl_types.h
"
20
#include "
nbgl_obj.h
"
21
22
/*********************
23
* DEFINES
24
*********************/
27
#define CONTINOUS_PRESS_THRESHOLD 8
29
#define CONTINUOUS_PRESS_PERIOD 3
30
31
/**********************
32
* TYPEDEFS
33
**********************/
34
35
/**********************
36
* GLOBAL PROTOTYPES
37
**********************/
38
void
nbgl_buttonsHandler
(uint8_t buttonState, uint32_t currentTimeMs);
39
void
nbgl_buttonsReset
(
void
);
40
41
/**********************
42
* MACROS
43
**********************/
44
45
#ifdef __cplusplus
46
}
/* extern "C" */
47
#endif
48
49
#endif
/* NBGL_BUTTONS_H */
nbgl_buttonsHandler
void nbgl_buttonsHandler(uint8_t buttonState, uint32_t currentTimeMs)
nbgl_buttonsReset
void nbgl_buttonsReset(void)
nbgl_low_level_guard.h
Included by every low-level NBGL header, to forbid them in apollo app code.
nbgl_obj.h
API to draw all basic graphic objects.
nbgl_types.h
common types for Graphical Library
Generated by
1.15.0