start_manager.h 671 B

123456789101112131415161718192021222324252627
  1. /*
  2. $License:
  3. Copyright (C) 2011-2012 InvenSense Corporation, All Rights Reserved.
  4. See included License.txt for License information.
  5. $
  6. */
  7. #ifndef INV_START_MANAGER_H__
  8. #define INV_START_MANAGER_H__
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif
  12. #include "mltypes.h"
  13. /** Max number of start callbacks we can handle. */
  14. #define INV_MAX_START_CB 20
  15. inv_error_t inv_init_start_manager(void);
  16. inv_error_t inv_register_mpl_start_notification(inv_error_t (*start_cb)(void));
  17. inv_error_t inv_execute_mpl_start_notification(void);
  18. inv_error_t inv_unregister_mpl_start_notification(inv_error_t (*start_cb)(void));
  19. #ifdef __cplusplus
  20. }
  21. #endif
  22. #endif // INV_START_MANAGER_H__