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 10 #ifdef __cplusplus 11 extern "C" { 12 #endif 13 14 #include "mltypes.h" 15 16 /** Max number of start callbacks we can handle. */ 17 #define INV_MAX_START_CB 20 18 19 inv_error_t inv_init_start_manager(void); 20 inv_error_t inv_register_mpl_start_notification(inv_error_t (*start_cb)(void)); 21 inv_error_t inv_execute_mpl_start_notification(void); 22 inv_error_t inv_unregister_mpl_start_notification(inv_error_t (*start_cb)(void)); 23 24 #ifdef __cplusplus 25 } 26 #endif 27 #endif // INV_START_MANAGER_H__ 28