Changeset 82 for ctrl/firmware/Main/SES/Core/Inc
- Timestamp:
- Feb 6, 2025, 8:27:24 AM (3 months ago)
- Location:
- ctrl/firmware/Main/SES/Core/Inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ctrl/firmware/Main/SES/Core/Inc/gps.h
r80 r82 2 2 #define __GPS_H_ 3 3 4 #include < cstdint>4 #include <stdint.h> 5 5 6 6 //! Struktur zur Aufnahme der RTC Zeit/Datum -
ctrl/firmware/Main/SES/Core/Inc/sysdata.h
r80 r82 2 2 #define __SYS_DATA_H 3 3 4 #include <cstdint> 4 #include <stdint.h> 5 #include <stdbool.h> 5 6 6 7 #include "charge_controller.h" 7 8 #include "street_light.h" 9 #include "common.h" 8 10 #include "gps.h" 9 11 … … 14 16 //---------- Constants --------------------------------------------------------- 15 17 16 inline constexpr unsigned MAX_LIPRO_CELLS = 16U;// FÜR SPEICHERUNG AUF SD KARTE, damit Anzahl der Felder immer gleich ist und Reservierung Speicher für Lipro Daten, Achtung eine Änderung verschiebt MODBUS Adressen!!!17 inline constexpr unsigned MAX_LOG_MESSAGES = 10U; 18 inline constexpr unsigned MAX_TEMP_SENSOR_ID_SIZE = 8U; 18 #define MAX_LIPRO_CELLS (16U) // FÜR SPEICHERUNG AUF SD KARTE, damit Anzahl der Felder immer gleich ist und Reservierung Speicher für Lipro Daten, Achtung eine Änderung verschiebt MODBUS Adressen!!! 19 #define MAX_LOG_MESSAGES (10U) 20 #define MAX_TEMP_SENSOR_ID_SIZE (8U) 19 21 20 22 //---------- Enums ------------------------------------------------------------- … … 45 47 } ext_input_mode_t; 46 48 47 typedef enum mb_error_codes_enum49 /*typedef enum mb_error_codes_enum 48 50 { 49 51 MB_ERROR_NOTHING = 0, // 0 … … 54 56 MB_ERROR_BYTE_COUNT, // 5 55 57 MB_ERROR_START_ADRESS, // 6 56 } mb_error_codes_t; 58 } mb_error_codes_t;*/ 57 59 58 60 typedef enum output_state_enum … … 71 73 72 74 //---------- Typedefs ---------------------------------------------------------- 73 74 typedef union bword75 {76 uint16_t w;77 int16_t sw;78 uint8_t lb;79 int8_t slb;80 uint8_t b[2];81 int8_t sb[2];82 } bword_t;83 75 84 76 typedef struct ext_output_config … … 191 183 192 184 //LOKALBUS PARAMETER 193 uint8_t lb_slave_ad ress; //38l185 uint8_t lb_slave_address; //38l 194 186 uint8_t lb_mode; //38h 195 187 uint8_t lb_baudrate_mode; //39l
Note: See TracChangeset
for help on using the changeset viewer.