MotorWare f2806x Module API Documentation
float/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
18 
19 
20 // solutions
21 
22 
27 
28 
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
34 
35 // **************************************************************************
36 // the defines
37 
38 
39 // **************************************************************************
40 // the typedefs
41 
44 typedef struct _HAL_AdcData_t_
45 {
47 
49 
51 
53 
54 
57 typedef struct _HAL_DacData_t_
58 {
60 
62 
63 
66 typedef struct _HAL_PwmData_t_
67 {
69 
71 
72 
73 // **************************************************************************
74 // the globals
75 
76 
77 // **************************************************************************
78 // the function prototypes
79 
80 
81 #ifdef __cplusplus
82 }
83 #endif // extern "C"
84 
86 
87 
88 #endif // end of _HAL_DATA_H_ definition
89 
MATH_vec3 Vabc_pu
the PWM time-durations for each motor phase
Definition: 32b/hal_data.h:69
struct _HAL_PwmData_t_ HAL_PwmData_t
Defines the PWM data.
Contains the public interface to the math (MATH) module routines.
Defines a three element vector.
Definition: 32b/math.h:258
struct _HAL_DacData_t_ HAL_DacData_t
Defines the DAC data.
float_t dcBus_V
the dcBus value
MATH_vec3 I_A
the current values
MATH_vec3 V_V
the voltage values
struct _HAL_AdcData_t_ HAL_AdcData_t
Defines the ADC data.
float float_t
Defines the portable data type for 32 bit, signed floating-point data.
Definition: types.h:121