USB Mouse (relative) example for mbed NXP LPC11U24 beta
Embed:
(wiki syntax)
Show/hide line numbers
USBUtils.c
00001 /* USBUtils.c */ 00002 /* USB Utility Functions */ 00003 /* Copyright (c) 2011 ARM Limited. All rights reserved. */ 00004 00005 #include "stdint.h" 00006 00007 void USBMemCopy(uint8_t *dst, uint8_t *src, uint32_t size) 00008 { 00009 if (size > 0) 00010 { 00011 do { 00012 *dst++ = *src++; 00013 } while (--size > 0); 00014 } 00015 }
Generated on Fri Jul 22 2022 22:32:37 by 1.7.2