-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGPIO_in_example.h.txt
More file actions
31 lines (24 loc) · 971 Bytes
/
GPIO_in_example.h.txt
File metadata and controls
31 lines (24 loc) · 971 Bytes
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
/*!\file GPIO_in_example.h
** \author SMFSW
** \copyright MIT (c) 2017-2026, SMFSW
** \brief GPIO_in example
** \note Simple GPIO_in.c / GPIO_ex.c example to handle different GPIO inputs with callbacks
**/
/****************************************************************/
#ifndef GPIO_IN_EXAMPLE_H__
#define GPIO_IN_EXAMPLE_H__
#ifdef __cplusplus
extern "C" {
#endif
/****************************************************************/
/*!\brief GPIO_in_example handler (handling acquisition of inputs and callbacks)
** \note Callbacks On declared with same function callback (to demonstrate use of passed argument GPIO_in *)
** \note Callbacks Off declared with different function callback (to demonstrate both possibilities)
**/
void GPIO_in_example_handler(void);
/****************************************************************/
#ifdef __cplusplus
}
#endif
#endif /* GPIO_IN_EXAMPLE_H__ */
/****************************************************************/