X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/f070902bdb96795c497bce283288affaa9a4fc5b..6d1adf7339b71952d1ba8616af9422fbc7333eb1:/Projects/Incomplete/AVRISP/Lib/V2ProtocolParams.h?ds=inline diff --git a/Projects/Incomplete/AVRISP/Lib/V2ProtocolParams.h b/Projects/Incomplete/AVRISP/Lib/V2ProtocolParams.h index 4797c9fa8..d0a467b00 100644 --- a/Projects/Incomplete/AVRISP/Lib/V2ProtocolParams.h +++ b/Projects/Incomplete/AVRISP/Lib/V2ProtocolParams.h @@ -46,15 +46,19 @@ #include "V2ProtocolConstants.h" /* Macros: */ + /* Parameter privellage mask to allow the host PC to read the parameter's value */ #define PARAM_PRIV_READ (1 << 0) + + /* Parameter privellage mask to allow the host PC to change the parameter's value */ #define PARAM_PRIV_WRITE (1 << 1) /* Type Defines: */ + /** Type define for a parameter table entry indicating a PC readable or writable device parameter. */ typedef struct { - const uint8_t ParamID; - uint8_t ParamValue; - uint8_t ParamPrivellages; + const uint8_t ParamID; /**< Parameter ID number to uniquely identify the parameter within the device */ + uint8_t ParamValue; /**< Current parameter's value within the device */ + uint8_t ParamPrivellages; /**< Parameter privellages to allow the host to read or write the parameter's value */ } ParameterItem_t; /* Function Prototypes: */