Committer:
chris
Date:
Thu Oct 20 14:07:30 2011 +0000
Revision:
0:e98d1c2b16c6

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
chris 0:e98d1c2b16c6 1 /* USBUtils.c */
chris 0:e98d1c2b16c6 2 /* USB Utility Functions */
chris 0:e98d1c2b16c6 3 /* Copyright (c) 2011 ARM Limited. All rights reserved. */
chris 0:e98d1c2b16c6 4
chris 0:e98d1c2b16c6 5 #include "stdint.h"
chris 0:e98d1c2b16c6 6
chris 0:e98d1c2b16c6 7 void USBMemCopy(uint8_t *dst, uint8_t *src, uint32_t size)
chris 0:e98d1c2b16c6 8 {
chris 0:e98d1c2b16c6 9 if (size > 0)
chris 0:e98d1c2b16c6 10 {
chris 0:e98d1c2b16c6 11 do {
chris 0:e98d1c2b16c6 12 *dst++ = *src++;
chris 0:e98d1c2b16c6 13 } while (--size > 0);
chris 0:e98d1c2b16c6 14 }
chris 0:e98d1c2b16c6 15 }