30 #define BM_VOLATILE volatile // Make volatile so we can see in debug
33 #define BM_VOLATILE volatile // Vars could be changed in isr, so make it volatile
34 #define BM_STATIC static // Internal variables for release
53 #define BM_MINIMUM_CB_TIMELEFT_USEC (100)
55 #define BM_ALLOC_MEM_ZERO(x) _lwmem_alloc_system_zero(x)
56 #define BM_FREE_MEM(x) _lwmem_free(x)
58 #define BM_MIN_REMAINING_THRESHOLD_USEC (10)
62 #define BM_FULL_PERIOD 1
63 #define BM_CURRENT_PERIOD 2
64 #define BM_PIPELINE_STAGES 2
102 #endif // BM_INTERNAL_H
boolean bm_statechange_query(void)
Tells caller if there a change in the state of the bus manager. Change could be: ...
BM_VOLATILE bm_callback_token_t cb_token_registered_mask
boolean bm_cb_occurred_query(void)
Tells caller if a callback was scheduled to be called since setting bus manager for powerdown mode...
API definitions, types, and macros for the Intelligent Sensing Framework (ISF) Bus Manager (BM)...
void bm_statechange_reset(void)
Reset the state change.
unsigned long uint32
This defines uint32 as unsigned long.
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. .
bm_callback_token_t nToken
#define BM_PIPELINE_STAGES
BM_VOLATILE bm_callback_token_t cb_token_active_mask
void( bm_callback_t)(void *)
Type for the prototype for a Bus Manager periodic callback function.
bm_callback_t * pCallback
BM_VOLATILE uint32 time_keeper_usec
BM_VOLATILE int32 cb_list_cur_cnt
uint32 isf_duration_t
ISF time duration in microseconds.
long int32
This defines int32 as long.
BM_VOLATILE uint32 pipeline_index
isf_comm.h defines the common types for the Communications Service Family of the Intelligent Sensing ...
boolean bm_active_cb_query(void)
Tells caller if there are active callbacks. .