pando_sys.h 935 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*********************************************************
  2. * File name: pando_sys.h
  3. * Author: xiaoxiao
  4. * Versions: 1.0
  5. * Description: declare common base function lib.
  6. * History:
  7. * 1.Date: Oct 28, 2015
  8. * Author: xiaoxiao
  9. * Modification:
  10. *********************************************************/
  11. #ifndef _PANDO_SYS_H_
  12. #define _PANDO_SYS_H_
  13. #include <stdio.h>
  14. #include <stdlib.h>
  15. #include <string.h>
  16. #include "string.h"
  17. #include "stdio.h"
  18. #include "usart.h"
  19. #define pd_malloc malloc //malloc
  20. #define pd_free free //free
  21. #define pd_memcpy memcpy
  22. #define pd_memcmp memcmp
  23. #define pd_memset memset
  24. #define pd_strlen strlen
  25. #define pd_strcpy strcpy
  26. #define pd_strncpy strncpy
  27. #define pd_strcmp strcmp
  28. #define pd_strncmp strncmp
  29. #define pd_strchr strchr
  30. #define pd_sprintf sprintf
  31. #define pd_printf PRINTF
  32. #endif /* _PANDO_SYS_H_ */