pando_sys.h 905 B

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