Rev 75 | Rev 77 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 75 | Rev 76 | ||
---|---|---|---|
Line 44... | Line 44... | ||
44 | /* USER CODE BEGIN ET */ |
44 | /* USER CODE BEGIN ET */ |
45 | 45 | ||
46 | #define TX_USART_BUFF_SIZ 512 |
46 | #define TX_USART_BUFF_SIZ 512 |
47 | #define RX_USART_BUFF_SIZ 512 |
47 | #define RX_USART_BUFF_SIZ 512 |
48 | 48 | ||
49 | #define MAXRDG 32 |
49 | #define MAXRDG 64 // can be quite large, this processor has a lot of RAM |
50 | 50 | ||
51 | extern const int DialTimeout; |
51 | extern const int DialTimeout; |
52 | 52 | ||
53 | /// \brief Sensor information as read in from serial port, and expressed as structures. |
- | |
54 | typedef union |
- | |
55 | { |
- | |
56 | PLX_SensorInfo Sensor[MAXRDG]; |
- | |
57 | char Bytes[MAXRDG * sizeof(PLX_SensorInfo)]; |
- | |
58 | } data_t; |
- | |
59 | - | ||
60 | typedef struct |
53 | typedef struct |
61 | { |
54 | { |
62 | enum PLX_Observations Obs; ///< Observation type |
55 | enum PLX_Observations Obs; ///< Observation type |
63 | int8_t Instance; ///< Observation instance |
56 | int8_t Instance; ///< Observation instance |
64 | } uniqueObs_t; |
57 | } uniqueObs_t; |