27 #define BM_VOLATILE volatile // Make volatile so we can see in debug
30 #define BM_VOLATILE volatile // Vars could be changed in isr, so make it volatile
31 #define BM_STATIC static // Internal variables for release
50 #define BM_MINIMUM_CB_TIMELEFT_USEC (100)
52 #define BM_ALLOC_MEM_ZERO(x) _lwmem_alloc_system_zero(x)
53 #define BM_FREE_MEM(x) _lwmem_free(x)
55 #define BM_ALLOC_MEM_ZERO(x) OSA_MemAllocZero(x)
56 #define BM_FREE_MEM(x) OSA_MemFree(x)
59 #define BM_MIN_REMAINING_THRESHOLD_USEC (10)
63 #define BM_FULL_PERIOD 1
64 #define BM_CURRENT_PERIOD 2
65 #define BM_PIPELINE_STAGES 2
103 #endif // BM_INTERNAL_H
BM_VOLATILE bm_callback_token_t cb_token_registered_mask
API definitions, types, and macros for the Intelligent Sensing Framework (ISF) Bus Manager (BM)...
void bm_statechange_reset(void)
Reset the state change.
bool bm_cb_occurred_query(void)
Tells caller if a callback was scheduled to be called since setting bus manager for powerdown mode...
uint32 bm_callback_token_t
This type defines the Bus Manager token. Each callback registered with the Bus Manager receives a uni...
uint32 bm_powerdown(void)
Prepare bm for powerdown state. Called by power manager. .
header for current pit instance.
bm_callback_token_t nToken
bool bm_active_cb_query(void)
Tells caller if there are active callbacks. .
#define BM_PIPELINE_STAGES
BM_VOLATILE bm_callback_token_t cb_token_active_mask
bm_callback_t * pCallback
BM_VOLATILE uint32 time_keeper_usec
BM_VOLATILE int32 cb_list_cur_cnt
bool bm_statechange_query(void)
Tells caller if there a change in the state of the bus manager. Change could be: ...
uint32 isf_duration_t
ISF time duration in microseconds.
Main ISF header file. Contains code common to all ISF components.
void( bm_callback_t)(void *)
Type for the prototype for a Bus Manager periodic callback function.
BM_VOLATILE uint32 pipeline_index
isf_comm.h defines the common types for the Communications Service Family of the Intelligent Sensing ...