drv_wm8978.h 427 B

12345678910111213141516171819
  1. /*
  2. * Copyright (c) 2006-2018, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2018-11-14 ZeroFree first implementation
  9. */
  10. #ifndef __DRV_WM8978_H__
  11. #define __DRV_WM8978_H__
  12. #include <rtthread.h>
  13. #include <rtdevice.h>
  14. int wm8978_init(struct rt_i2c_bus_device *dev);
  15. int wm8978_set_volume(struct rt_i2c_bus_device *dev, int vol);
  16. #endif