Embedded SDK
Embedded SDK
lib_nbgl
include
nbgl_buttons.h
Go to the documentation of this file.
1
7
#ifndef NBGL_BUTTONS_H
8
#define NBGL_BUTTONS_H
9
10
#ifdef __cplusplus
11
extern
"C"
{
12
#endif
13
14
/*********************
15
* INCLUDES
16
*********************/
17
#include "
nbgl_types.h
"
18
#include "
nbgl_obj.h
"
19
20
/*********************
21
* DEFINES
22
*********************/
25
#define CONTINOUS_PRESS_THRESHOLD 8
27
#define CONTINUOUS_PRESS_PERIOD 3
28
29
/**********************
30
* TYPEDEFS
31
**********************/
32
33
/**********************
34
* GLOBAL PROTOTYPES
35
**********************/
36
void
nbgl_buttonsHandler
(
uint8_t
buttonState, uint32_t currentTimeMs);
37
void
nbgl_buttonsReset
(
void
);
38
39
/**********************
40
* MACROS
41
**********************/
42
43
#ifdef __cplusplus
44
}
/* extern "C" */
45
#endif
46
47
#endif
/* NBGL_BUTTONS_H */
nbgl_buttonsHandler
void nbgl_buttonsHandler(uint8_t buttonState, uint32_t currentTimeMs)
nbgl_buttonsReset
void nbgl_buttonsReset(void)
nbgl_obj.h
API to draw all basic graphic objects.
nbgl_types.h
common types for Graphical Library
uint8_t
unsigned char uint8_t
Definition:
usbd_conf.h:53
Generated by
1.9.1