USB Mouse (relative) example for mbed NXP LPC11U24 beta
USB_HID_STACK/USBUtils.h@0:163560051396, 2011-10-24 (annotated)
- Committer:
- chris
- Date:
- Mon Oct 24 10:26:27 2011 +0000
- Revision:
- 0:163560051396
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
chris | 0:163560051396 | 1 | /* USBUtils.h */ |
chris | 0:163560051396 | 2 | /* USB Utility Functions and Macros */ |
chris | 0:163560051396 | 3 | /* Copyright (c) 2011 ARM Limited. All rights reserved. */ |
chris | 0:163560051396 | 4 | |
chris | 0:163560051396 | 5 | #define ROUND_UP_TO_MULTIPLE(x, m) ((((x)+((m)-1))/(m))*(m)) |
chris | 0:163560051396 | 6 | |
chris | 0:163560051396 | 7 | void USBMemCopy(uint8_t *dst, uint8_t *src, uint32_t size); |
chris | 0:163560051396 | 8 |