MotorWare f2806x Module API Documentation
32b/hal_data.h
Go to the documentation of this file.
1 #ifndef _HAL_DATA_H_
2 #define _HAL_DATA_H_
3 
8 
9 
10 // **************************************************************************
11 // the includes
12 
13 // drivers
14 
15 
16 // modules
19 
20 
21 // solutions
22 
23 
28 
29 
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
35 
36 // **************************************************************************
37 // the defines
38 
39 
40 // **************************************************************************
41 // the typedefs
42 
45 typedef struct _HAL_AdcData_t_
46 {
48 
50 
52 
54 
55 
58 typedef struct _HAL_DacData_t_
59 {
60  _iq value[4];
61 
63 
64 
67 typedef struct _HAL_PwmData_t_
68 {
70 
72 
73 
74 // **************************************************************************
75 // the globals
76 
77 
78 // **************************************************************************
79 // the function prototypes
80 
81 
82 #ifdef __cplusplus
83 }
84 #endif // extern "C"
85 
87 
88 
89 #endif // end of _HAL_DATA_H_ definition
90 
MATH_vec3 Vabc_pu
the PWM time-durations for each motor phase
Definition: 32b/hal_data.h:69
_iq dcBus_pu
the dcBus value
Definition: 32b/hal_data.h:51
struct _HAL_PwmData_t_ HAL_PwmData_t
Defines the PWM data.
long _iq
Defines a three element vector.
Definition: 32b/math.h:258
struct _HAL_DacData_t_ HAL_DacData_t
Defines the DAC data.
Contains the public interface to the math (MATH) module routines.
MATH_vec3 V_pu
the voltage values
Definition: 32b/hal_data.h:49
MATH_vec3 I_pu
the current values
Definition: 32b/hal_data.h:47
struct _HAL_AdcData_t_ HAL_AdcData_t
Defines the ADC data.