bgr.h 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. /******************************************************************************
  2. * Copyright (C) 2021, Xiaohua Semiconductor Co., Ltd. All rights reserved.
  3. *
  4. * This software component is licensed by XHSC under BSD 3-Clause license
  5. * (the "License"); You may not use this file except in compliance with the
  6. * License. You may obtain a copy of the License at:
  7. * opensource.org/licenses/BSD-3-Clause
  8. *
  9. ******************************************************************************/
  10. /******************************************************************************
  11. * @file bgr.h
  12. *
  13. * @brief Header file for GBR functions
  14. *
  15. * @author MADS Team
  16. *
  17. ******************************************************************************/
  18. #ifndef __CRC_H__
  19. #define __CRC_H__
  20. /******************************************************************************
  21. * Include files
  22. ******************************************************************************/
  23. #include "ddl.h"
  24. /* C binding of definitions if building with C++ compiler */
  25. #ifdef __cplusplus
  26. extern "C"
  27. {
  28. #endif
  29. /**
  30. ******************************************************************************
  31. ** \defgroup BGR
  32. **
  33. ******************************************************************************/
  34. //@{
  35. /******************************************************************************
  36. * Global type definitions
  37. ******************************************************************************/
  38. /******************************************************************************
  39. * Global definitions
  40. ******************************************************************************/
  41. /******************************************************************************
  42. * Local type definitions ('typedef')
  43. ******************************************************************************/
  44. /******************************************************************************
  45. * Global variable definitions ('extern')
  46. ******************************************************************************/
  47. /******************************************************************************
  48. * Global function prototypes (definition in C source)
  49. ******************************************************************************/
  50. ///<内部温度传感器使能/关闭
  51. void Bgr_TempSensorEnable(void);
  52. void Bgr_TempSensorDisable(void);
  53. ///<BGR使能/关闭
  54. void Bgr_BgrEnable(void);
  55. void Bgr_BgrDisable(void);
  56. //@} // BGR Group
  57. #ifdef __cplusplus
  58. }
  59. #endif
  60. #endif /* __BGR_H__ */
  61. /******************************************************************************
  62. * EOF (not truncated)
  63. ******************************************************************************/