Subversion Repositories DashDisplay

Rev

Rev 57 | Rev 61 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 57 Rev 58
Line 22... Line 22...
22
/* Define to prevent recursive inclusion -------------------------------------*/
22
/* Define to prevent recursive inclusion -------------------------------------*/
23
#ifndef __MAIN_H
23
#ifndef __MAIN_H
24
#define __MAIN_H
24
#define __MAIN_H
25
 
25
 
26
#ifdef __cplusplus
26
#ifdef __cplusplus
27
extern "C"
27
extern "C" {
28
{
-
 
29
#endif
28
#endif
30
 
29
 
31
  /* Includes ------------------------------------------------------------------*/
30
/* Includes ------------------------------------------------------------------*/
32
#include "stm32l1xx_hal.h"
31
#include "stm32l1xx_hal.h"
33
 
32
 
34
  /* Private includes ----------------------------------------------------------*/
33
/* Private includes ----------------------------------------------------------*/
35
  /* USER CODE BEGIN Includes */
34
/* USER CODE BEGIN Includes */
36
#include "display.h"
35
#include "display.h"
37
 
36
 
38
#include "libPLX/plx.h"
37
#include "libPLX/plx.h"
39
 
38
 
40
  /* USER CODE END Includes */
39
/* USER CODE END Includes */
-
 
40
 
-
 
41
/* Exported types ------------------------------------------------------------*/
-
 
42
/* USER CODE BEGIN ET */
-
 
43
 
-
 
44
#define TX_USART_BUFF_SIZ 512
-
 
45
#define RX_USART_BUFF_SIZ 512
-
 
46
 
-
 
47
 
-
 
48
  #define MAXRDG 32
-
 
49
 
-
 
50
 
41
 
51
 
42
  /* Exported types ------------------------------------------------------------*/
-
 
43
  /* USER CODE BEGIN ET */
-
 
44
#define MAXRDG 32
-
 
45
 
52
 
46
  extern const int DialTimeout;
53
  extern const int DialTimeout;
47
 
54
 
48
  /// \brief Sensor information as read in from serial port, and expressed as structures.
55
  /// \brief Sensor information as read in from serial port, and expressed as structures.
49
  typedef union
56
  typedef union
Line 99... Line 106...
99
  extern UART_HandleTypeDef huart3;
106
  extern UART_HandleTypeDef huart3;
100
 
107
 
101
  extern TIM_HandleTypeDef htim3;
108
  extern TIM_HandleTypeDef htim3;
102
  extern TIM_HandleTypeDef htim9;
109
  extern TIM_HandleTypeDef htim9;
103
 
110
 
104
  /* USER CODE END ET */
111
/* USER CODE END ET */
105
 
112
 
106
  /* Exported constants --------------------------------------------------------*/
113
/* Exported constants --------------------------------------------------------*/
107
  /* USER CODE BEGIN EC */
114
/* USER CODE BEGIN EC */
108
 
115
 
109
  /* USER CODE END EC */
116
/* USER CODE END EC */
110
 
117
 
111
  /* Exported macro ------------------------------------------------------------*/
118
/* Exported macro ------------------------------------------------------------*/
112
  /* USER CODE BEGIN EM */
119
/* USER CODE BEGIN EM */
113
 
120
 
114
  /* USER CODE END EM */
121
/* USER CODE END EM */
115
 
122
 
116
  /* Exported functions prototypes ---------------------------------------------*/
123
/* Exported functions prototypes ---------------------------------------------*/
117
  void
-
 
118
  Error_Handler (void);
124
void Error_Handler(void);
119
 
125
 
120
  /* USER CODE BEGIN EFP */
126
/* USER CODE BEGIN EFP */
121
  extern context_t context[MAX_DISPLAYS];
127
  extern context_t context[MAX_DISPLAYS];
122
 
128
 
123
/* USER CODE END EFP */
129
/* USER CODE END EFP */
124
 
130
 
125
/* Private defines -----------------------------------------------------------*/
131
/* Private defines -----------------------------------------------------------*/