CubeMon-Vue-Demo-STM32F407VGT6U
init.h
Go to the documentation of this file.
1
8
#ifndef INC_PROG_INIT_H_
9
#define INC_PROG_INIT_H_
10
11
void
init(
void
);
12
13
// activation of the selected libraries
14
#define LIB_DI
15
#define LIB_DO
16
#define LIB_AI
17
#define LIB_AO
18
19
typedef
enum
{
20
DI_BUTTON
,
21
DI_1
,
22
DI_2
,
23
DI_NONE
,
24
}
digInputs
;
25
26
typedef
enum
{
27
DO_LED_ORANGE
,
28
DO_LED_RED
,
29
DO_LED_BLUE
,
30
DO_NONE
31
}
digOutputs
;
32
33
typedef
enum
{
34
AI_1
,
35
AI_2
,
36
AI_NONE
37
}
anaInputs
;
38
39
typedef
enum
{
40
AO_1
,
41
AO_2
,
42
AO_NONE,
43
}
anaOutputs
;
44
45
#endif
/* INC_PROG_INIT_H_ */
anaOutputs
anaOutputs
Definition:
init.h:39
AO_2
@ AO_2
AO_2 (PA5)
Definition:
init.h:41
AO_1
@ AO_1
AO_1 (PA4)
Definition:
init.h:40
anaInputs
anaInputs
Definition:
init.h:33
AI_2
@ AI_2
AI_2 (PA2)
Definition:
init.h:35
AI_1
@ AI_1
AI_1 (PA1)
Definition:
init.h:34
digOutputs
digOutputs
Definition:
init.h:26
DO_LED_BLUE
@ DO_LED_BLUE
Blue LED (PD15)
Definition:
init.h:29
DO_LED_ORANGE
@ DO_LED_ORANGE
Orange LED (PD13)
Definition:
init.h:27
DO_NONE
@ DO_NONE
DUMMY to keep the track of enum length.
Definition:
init.h:30
DO_LED_RED
@ DO_LED_RED
Red LED (PD14)
Definition:
init.h:28
digInputs
digInputs
Definition:
init.h:19
DI_BUTTON
@ DI_BUTTON
User button.
Definition:
init.h:20
DI_NONE
@ DI_NONE
DUMMY to keep the track of enum length.
Definition:
init.h:23
DI_2
@ DI_2
DI_2 (PE8, active low)
Definition:
init.h:22
DI_1
@ DI_1
DI_1 (PE7, active high)
Definition:
init.h:21
CubeMon-Vue-Demo-STM32F407VGT6U
Core
Inc
prog
init.h
Generated by
1.9.3