i2c_master.c 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /************************************************************************
  2. Project: Welling Motor Control Paltform
  3. Filename: i2c_master.c
  4. Partner Filename: i2c_master.h
  5. Description: I2C master driver
  6. Complier: IAR Embedded Workbench for ARM 8.40.2
  7. CPU TYPE : STM32F30x
  8. *************************************************************************
  9. Copyright (c) 2018 Welling Motor Technology(Shanghai) Co. Ltd.
  10. All rights reserved.
  11. *************************************************************************
  12. *************************************************************************
  13. Revising History (ECL of this file):
  14. M0_20170410, by liyue, create this file;
  15. ************************************************************************/
  16. /************************************************************************
  17. Beginning of File, do not put anything above here except notes
  18. Compiler Directives:
  19. *************************************************************************/
  20. #ifndef _I2C_MASTER_C_
  21. #define _I2C_MASTER_C_
  22. #endif
  23. /************************************************************************
  24. Included File
  25. *************************************************************************/
  26. #include "syspar.h"
  27. #include "user.h"
  28. /*************************************************************************
  29. Exported Functions (N/A)
  30. *************************************************************************/
  31. /*************************************************************************
  32. Copyright (c) 2018 Welling Motor Technology(Shanghai) Co. Ltd.
  33. All rights reserved.
  34. *************************************************************************/
  35. #ifdef _SPI_SLAVE_C_
  36. #undef _SPI_SLAVE_C_
  37. #endif
  38. /*************************************************************************
  39. End of this File (EOF)!
  40. Do not put anything after this part!
  41. *************************************************************************/