/** * @file Struct.h * @brief This file contains the definitions and structures for menu…
- User
/**
- @file Struct.h
- @brief This file contains the definitions and structures for menu configurations, EEPROM addresses,
-
and related constants used in the BoxerAndrei1_0 project. - @details
-
- Defines constants for currency symbols, prize symbols, and EEPROM memory layout.
-
- Contains structures for menu configurations and their associated properties.
-
- Provides EEPROM address mappings for various settings and counters.
-
- Includes function pointers for handling menu changes and display updates.
- @note
-
- The maximum data range for variables stored in EEPROM is determined by the
SIZE_BYTEconstant,
- The maximum data range for variables stored in EEPROM is determined by the
- which is set to 4 bytes. This allows for a maximum range of:
-
- Signed integers: -2,147,483,648 to 2,147,483,647
-
- Unsigned integers: 0 to 4,294,967,295
-
- Ensure that the
maximumfield inMenuStructdoes not exceed this range.
- Ensure that the
- @section EEPROM_Addresses
-
- EEPROM_SIZE: Total EEPROM size (1024 bytes).
-
- EESTART: Starting address for EEPROM data (4 bytes offset).
-
- Each address is calculated as
EESTART + (SIZE_BYTE * index).
- Each address is calculated as
- @section Structures
-
- MenuStructMain: Represents the main menu structure with a name and parent shortname.
-
- MenuStruct: Represents detailed menu configurations, including EEPROM address, display name,
- value ranges, default values, units, and associated functions.
- @section Constants
-
- CURRENCY_SYMBOL: Default currency symbol for display purposes.
-
- g_no_prize_symbol_array: Array of symbols used for "no prize" display.
-
- g_currency_array: Array of supported currency codes.
-
- g_maxPrizeLimit: Maximum prize limit for spirals.
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.