-
Notifications
You must be signed in to change notification settings - Fork 0
/
Logic_in_example.h.txt
31 lines (24 loc) · 986 Bytes
/
Logic_in_example.h.txt
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 Logic_in_example.h
** \author SMFSW
** \copyright MIT (c) 2017-2024, SMFSW
** \brief Logic_in example
** \note Simple Logic_in.c / Logic_ex.c example to handle different variables inputs with callbacks
**/
/****************************************************************/
#ifndef __LOGIC_IN_EXAMPLE_H
#define __LOGIC_IN_EXAMPLE_H
#ifdef __cplusplus
extern "C" {
#endif
/****************************************************************/
/*!\brief Logic_in_example handler (handling acquisition of inputs and callbacks)
** \note Callbacks On declared with same function callback (to demonstrate use of passed argument Logic_in *)
** \note Callbacks Off declared with different function callback (to demonstrate both possibilities)
**/
void Logic_in_example_handler(void);
/****************************************************************/
#ifdef __cplusplus
}
#endif
#endif /* __LOGIC_IN_EXAMPLE_H */
/****************************************************************/