-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuttons.h
33 lines (26 loc) · 855 Bytes
/
buttons.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef SRC_INC_BUTTONS_H_
#define SRC_INC_BUTTONS_H_
/*===============================================
includes
===============================================*/
#include <stdint.h>
#include <stdbool.h>
#include "config.h"
/*===============================================
public constants
===============================================*/
/*===============================================
public data prototypes
===============================================*/
/*===============================================
public function prototypes
===============================================*/
void Buttons_Init(
const InitButtonHW_t init_hw,
const ReadButtonHW_t read_hw,
const GetClock_t read_clk,
const int32_t numButtons,
const ButtonSetup_t * const buttons
);
bool Buttons_Service(Triggers_t *triggers);
#endif // SRC_INC_BUTTONS_H_