USB Mouse (relative) example for mbed NXP LPC11U24 beta
USB_HID_STACK/USBUtils.h
- Committer:
- chris
- Date:
- 2011-10-24
- Revision:
- 0:163560051396
File content as of revision 0:163560051396:
/* USBUtils.h */ /* USB Utility Functions and Macros */ /* Copyright (c) 2011 ARM Limited. All rights reserved. */ #define ROUND_UP_TO_MULTIPLE(x, m) ((((x)+((m)-1))/(m))*(m)) void USBMemCopy(uint8_t *dst, uint8_t *src, uint32_t size);