USB Mouse (relative) example for mbed NXP LPC11U24 beta
Diff: USB_HID_STACK/USBUtils.h
- Revision:
- 0:163560051396
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/USB_HID_STACK/USBUtils.h Mon Oct 24 10:26:27 2011 +0000 @@ -0,0 +1,8 @@ +/* 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); +