#include <stdint.h>
Go to the source code of this file.
Classes |
struct | PACK_ATTRIB |
struct | PACK_ATTRIB::PACK_ATTRIB |
struct | PACK_ATTRIB::PACK_ATTRIB |
struct | PACK_ATTRIB::PACK_ATTRIB |
struct | PACK_ATTRIB::PACK_ATTRIB |
struct | PACK_ATTRIB::PACK_ATTRIB |
struct | PACK_ATTRIB::PACK_ATTRIB |
struct | PACK_ATTRIB |
union | PACK_ATTRIB::PACK_ATTRIB::PACK_ATTRIB |
struct | PACK_ATTRIB::PACK_ATTRIB::PACK_ATTRIB::PACK_ATTRIB |
union | PACK_ATTRIB::PACK_ATTRIB::PACK_ATTRIB |
struct | PACK_ATTRIB::PACK_ATTRIB |
struct | PACK_ATTRIB |
struct | PACK_ATTRIB |
Defines |
#define | BUILD_ASSERT(cond) do { (void) sizeof(char [1 - 2*!(cond)]); } while(0) |
#define | COMMS_VERSION 1 |
#define | CONFIGURATION_ENDPOINT 1 |
#define | PACK_ATTRIB __attribute__ ((packed)) |
#define | STREAM_ENDPOINT 2 |
#define | USB_MI 0 |
#define | USB_PID 0x0112 |
#define | USB_VID 0x6923 |
Typedefs |
typedef union PACK_ATTRIB | ConfigPacket |
typedef union PACK_ATTRIB | MessageBuffer |
typedef struct PACK_ATTRIB | StreamPacket |
typedef struct PACK_ATTRIB | Version |
Enumerations |
enum | {
USB_ID_VERSION = 0x00,
USB_ID_REBOOT = 0x01,
USB_ID_RESET = 0x08,
USB_ID_SET_BUS_CFG = 0x10,
USB_ID_GET_BUS_CFG = 0x11,
USB_ID_SET_FILTER = 0x12,
USB_ID_GET_FILTER = 0x13,
USB_ID_NUM_CHANNELS = 0x40,
USB_ID_GET_TIME = 0x41,
USB_ID_GET_STATS = 0x42
} |
enum | { MODE_NORMAL = 0,
MODE_LISTEN_ONLY = 1
} |
Functions |
static void | testCommonSizes () |
static void | testConfigurationInterfaceSizes () |
static void | testDataStreamSizes () |
Define Documentation
#define BUILD_ASSERT |
( |
|
cond | ) |
do { (void) sizeof(char [1 - 2*!(cond)]); } while(0) |
Typedef Documentation
Enumeration Type Documentation
- Enumerator:
USB_ID_VERSION |
|
USB_ID_REBOOT |
|
USB_ID_RESET |
|
USB_ID_SET_BUS_CFG |
|
USB_ID_GET_BUS_CFG |
|
USB_ID_SET_FILTER |
|
USB_ID_GET_FILTER |
|
USB_ID_NUM_CHANNELS |
|
USB_ID_GET_TIME |
|
USB_ID_GET_STATS |
|
Definition at line 93 of file UsbCanMessages.h.
Function Documentation