* Header file for V2ProtocolParams.c.\r
*/\r
\r
-#ifndef _V2_PROTOCOL_PARAMS_
-#define _V2_PROTOCOL_PARAMS_
-
- /* Includes: */
+#ifndef _V2_PROTOCOL_PARAMS_\r
+#define _V2_PROTOCOL_PARAMS_\r
+\r
+ /* Includes: */\r
#include <avr/io.h>\r
- #include <avr/eeprom.h>
+ #include <avr/eeprom.h>\r
\r
- #include <LUFA/Version.h>
+ #include <LUFA/Version.h>\r
\r
#if defined(ADC)\r
#include <LUFA/Drivers/Peripheral/ADC.h>\r
#include "V2ProtocolConstants.h"\r
\r
/* Macros: */\r
- /** Parameter privellage mask to allow the host PC to read the parameter's value */\r
+ /** Parameter privilege mask to allow the host PC to read the parameter's value */\r
#define PARAM_PRIV_READ (1 << 0)\r
\r
- /** Parameter privellage mask to allow the host PC to change the parameter's value */\r
+ /** Parameter privilege mask to allow the host PC to change the parameter's value */\r
#define PARAM_PRIV_WRITE (1 << 1)\r
-
+\r
/* Type Defines: */\r
/** Type define for a parameter table entry indicating a PC readable or writable device parameter. */\r
typedef struct\r
{\r
const uint8_t ParamID; /**< Parameter ID number to uniquely identify the parameter within the device */\r
uint8_t ParamValue; /**< Current parameter's value within the device */\r
- uint8_t ParamPrivellages; /**< Parameter privellages to allow the host to read or write the parameter's value */\r
- } ParameterItem_t;
-
+ uint8_t ParamPrivileges; /**< Parameter privileges to allow the host to read or write the parameter's value */\r
+ } ParameterItem_t;\r
+\r
/* Function Prototypes: */\r
void V2Params_LoadNonVolatileParamValues(void);\r
void V2Params_UpdateParamValues(void);\r
\r
- uint8_t V2Params_GetParameterPrivellages(uint8_t ParamID);\r
+ uint8_t V2Params_GetParameterPrivileges(uint8_t ParamID);\r
uint8_t V2Params_GetParameterValue(uint8_t ParamID);\r
void V2Params_SetParameterValue(uint8_t ParamID, uint8_t Value);\r
\r
#if defined(INCLUDE_FROM_V2PROTOCOL_PARAMS_C)\r
static ParameterItem_t* V2Params_GetParamFromTable(uint8_t ParamID);\r
#endif\r
-
-#endif
-
+\r
+#endif\r
+\r