LEGO Mindstorms EV3


Shared Memory


It is possible to get a pointer to the USB Speed (FULL or HIGH) for use in userspace this pointer will point to a struct and the layout is following:

 */

enum  {
        FULL_SPEED,
        HIGH_SPEED
      };

typedef   struct
{
  DATA8   Speed;
}
USB_SPEED;

/*
\n

LEGO® Robotics Firmware Documentation
Confidential Information © 2013 The LEGO Group