Clean up and add more comments to the AVRISP-MKII project. Make sure the SPI_MULTI command handler supports multiple packet responses. Use slightly smaller/faster repeated indirect-load commands when retrieving the PDI target's memory CRCs.
This commit is contained in:
parent
b0ce1eab66
commit
f3d370a777
10 changed files with 87 additions and 47 deletions
|
@ -52,10 +52,13 @@
|
|||
|
||||
/* Macros: */
|
||||
/** Parameter privilege mask to allow the host PC to read the parameter's value */
|
||||
#define PARAM_PRIV_READ (1 << 0)
|
||||
#define PARAM_PRIV_READ (1 << 0)
|
||||
|
||||
/** Parameter privilege mask to allow the host PC to change the parameter's value */
|
||||
#define PARAM_PRIV_WRITE (1 << 1)
|
||||
#define PARAM_PRIV_WRITE (1 << 1)
|
||||
|
||||
/** Total number of parameters in the parameter table */
|
||||
#define TABLE_PARAM_COUNT (sizeof(ParameterTable) / sizeof(ParameterTable[0]))
|
||||
|
||||
/* Type Defines: */
|
||||
/** Type define for a parameter table entry indicating a PC readable or writable device parameter. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue