#include <types.h>
#include <avr/io.h>
#include <avr/pgmspace.h>
Go to the source code of this file.
The file describes the public interface and parameters of Config Server. It is intended for reading/writing the stack parameters.
Definition in file configServer.h.
| enum CS_MemoryId_t |
IDs of the memory area in Config Server.
Definition at line 309 of file configServer.h.
| enum CS_ParameterId_t |
IDs of the parameters in Config Server.
Definition at line 239 of file configServer.h.
| void CS_GetMemory | ( | CS_MemoryId_t | memoryId, | |
| void ** | memoryPtr | |||
| ) |
Gets allocated memory specified by memory identifier.
| [in] | memoryId | - memory area Id |
| [out] | memoryPtr | - pointer to the memory |
| void CS_Init | ( | void | ) |
Inits the Config Server.
Config server gets values from defines and reads from persistence data server
| void CS_PdsDefaultValue | ( | void | ) |
Set persist default value.
| void CS_ReadParameter | ( | CS_ParameterId_t | parameterId, | |
| void * | parameterValue | |||
| ) |
Reads a parameter value specified by parameter identifier from Config Server.
| [in] | parameterId | - ID of the parameter being read |
| [out] | parameterValue | - Value of the parameter being read |
| void CS_WriteParameter | ( | CS_ParameterId_t | parameterId, | |
| void * | parameterValue | |||
| ) |
Writes a parameter value specified by parameter identifier to Config Server.
If the parameter is in persistense data server it also is saved there.
| [in] | parameterId | - ID of the parameter being written |
| [in] | parameterValue | - Value of the parameter being written |
1.5.1-p1