Project 1
4×4 Keypad
Neff Site
c1889.h
Go to the documentation of this file.
1
17
#ifndef C1889_H_
18
#define C1889_H_
19
20
#define C1889_COLS 4
21
#define C1889_ROWS 4
22
23
/**** Low level functions *****/
24
32
uint16_t
c1889_scan
(
void
);
33
34
/**** High level functions *****/
35
41
void
c1889_init
(
void
);
42
52
uint16_t
c1889_pressed
(uint16_t current, uint16_t previous);
53
63
uint16_t
c1889_released
(uint16_t current, uint16_t previous);
64
71
char
c1889_decode
(uint8_t key);
72
73
#endif
/* c1889_H_ */
c1889_scan
uint16_t c1889_scan(void)
Scan keypad.
c1889_init
void c1889_init(void)
Initialize click module.
c1889_released
uint16_t c1889_released(uint16_t current, uint16_t previous)
Return released keys.
c1889_pressed
uint16_t c1889_pressed(uint16_t current, uint16_t previous)
Return pressed keys.
c1889_decode
char c1889_decode(uint8_t key)
Decode key.
Contact
Generated by
1.8.13