fm_manager.h 697 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * Copyright (c) 2018 Actions Semiconductor Co., Ltd
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. /**
  7. * @file fm manager interface
  8. */
  9. #ifndef __FM_MANAGER_H__
  10. #define __FM_MANAGER_H__
  11. #include <stdint.h>
  12. /**
  13. * @defgroup alarm_manager_apis alarm manager APIs
  14. * @ingroup system_apis
  15. * @{
  16. */
  17. /**
  18. * @cond INTERNAL_HIDDEN
  19. */
  20. int fm_manager_init(void);
  21. int fm_rx_init(void *param);
  22. int fm_rx_set_freq(uint32_t freq);
  23. int fm_rx_set_mute(bool mute);
  24. int fm_rx_check_freq(uint32_t freq);
  25. int fm_tx_set_freq(uint32_t freq);
  26. int fm_tx_get_freq(void);
  27. int fm_rx_deinit(void);
  28. int fm_manager_deinit(void);
  29. /**
  30. * INTERNAL_HIDDEN @endcond
  31. */
  32. /**
  33. * @} end defgroup alarm_manager_apis
  34. */
  35. #endif