USB Mouse (relative) example for mbed NXP LPC11U24 beta
USB_HID_STACK/USBUtils.h@1:e089be2a6aa1, 2011-11-09 (annotated)
- Committer:
- chris
- Date:
- Wed Nov 09 15:55:10 2011 +0000
- Revision:
- 1:e089be2a6aa1
- Parent:
- 0:163560051396
removed include for <math.h> that is already included by mbed.h
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 |