Fixed HID Parser not distributing the Usage Min and Usage Max values across an array of report items.

Added new HID_ALIGN_DATA() macro to return the pre-retrieved value of a HID report item, left-aligned to a given datatype.

Added new PreviousValue to the HID Report Parser report item structure, for easy monitoring of previous report item values.
This commit is contained in:
Dean Camera 2009-12-04 01:06:26 +00:00
parent f338ddcb87
commit 2919aeeaab
12 changed files with 52 additions and 17 deletions

View file

@ -42,7 +42,7 @@
#include "V2Protocol.h"
/* Preprocessor Checks: */
#if BOARD == BOARD_XPLAIN
#if (BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1)
#undef ENABLE_ISP_PROTOCOL
#if !defined(ENABLE_PDI_PROTOCOL)

View file

@ -48,7 +48,7 @@
#include "V2ProtocolParams.h"
/* Preprocessor Checks: */
#if BOARD == BOARD_XPLAIN
#if (BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1)
#undef ENABLE_ISP_PROTOCOL
#if !defined(ENABLE_PDI_PROTOCOL)

View file

@ -44,7 +44,7 @@
#include "PDITarget.h"
/* Preprocessor Checks: */
#if BOARD == BOARD_XPLAIN
#if (BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1)
#undef ENABLE_ISP_PROTOCOL
#if !defined(ENABLE_PDI_PROTOCOL)

View file

@ -41,7 +41,7 @@
/** Writes a given byte to the attached XMEGA device, using a RS232 frame via software through the
* PDI interface.
*
* \param Byte Byte to send to the attached device
* \param[in] Byte Byte to send to the attached device
*/
void PDITarget_SendByte(uint8_t Byte)
{

View file

@ -43,7 +43,7 @@
#include <LUFA/Common/Common.h>
/* Preprocessor Checks: */
#if BOARD == BOARD_XPLAIN
#if (BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1)
#undef ENABLE_ISP_PROTOCOL
#if !defined(ENABLE_PDI_PROTOCOL)

View file

@ -47,7 +47,7 @@
#include "PDIProtocol.h"
/* Preprocessor Checks: */
#if BOARD == BOARD_XPLAIN
#if (BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1)
#undef ENABLE_ISP_PROTOCOL
#if !defined(ENABLE_PDI_PROTOCOL)