/** * @file expansion_settings.h * @brief Expansion module support settings. */ #pragma once #include #include #ifdef __cplusplus extern "C" { #endif /** * @brief Expansion module support settings storage type. */ typedef struct { /** * Numerical index of serial port used to communicate * with expansion modules. */ uint8_t uart_index; } ExpansionSettings; /** * @brief Load expansion module support settings from file. * * @param[in,out] settings pointer to an ExpansionSettings instance to load settings into. */ void expansion_settings_load(ExpansionSettings* settings); /** * @brief Save expansion module support settings to file. * * @param[in] settings pointer to an ExpansionSettings instance to save settings from. */ void expansion_settings_save(const ExpansionSettings* settings); #ifdef __cplusplus } #endif