MBNG_AIN

Functions

s32 MBNG_AIN_Init (u32 mode)
s32 MBNG_AIN_HandleCalibration (u16 pin_value, u16 min, u16 max, u16 ain_max, u8 spread_center)
s32 MBNG_AIN_HandleAinMode (mbng_event_item_t *item, u16 pin_value, u16 prev_pin_value)
s32 MBNG_AIN_NotifyChange (u32 pin, u32 pin_value, u8 no_midi)
s32 MBNG_AIN_Periodic (void)
s32 MBNG_AIN_NotifyReceivedValue (mbng_event_item_t *item)

Detailed Description

AIN access functions for MIDIbox NG


Function Documentation

s32 MBNG_AIN_HandleAinMode ( mbng_event_item_t item,
u16  pin_value,
u16  prev_pin_value 
)

This function handles the various AIN modes Note: it's also used by the AINSER module, therefore public

Here is the call graph for this function:

s32 MBNG_AIN_HandleCalibration ( u16  pin_value,
u16  min,
u16  max,
u16  ain_max,
u8  spread_center 
)

This function handles the calibration values Note: it's also used by the AINSER module, therefore public

s32 MBNG_AIN_Init ( u32  mode  ) 

This function initializes the AIN handler

s32 MBNG_AIN_NotifyChange ( u32  pin,
u32  pin_value,
u8  no_midi 
)

This function should be called from APP_AIN_NotifyChange when an input has changed its value

Here is the call graph for this function:

s32 MBNG_AIN_NotifyReceivedValue ( mbng_event_item_t item  ) 

This function is called by MBNG_EVENT_ItemReceive when a matching value has been received

s32 MBNG_AIN_Periodic ( void   ) 

Handle timed AIN events (sensor mode)

Here is the call graph for this function:


Generated on 22 Jan 2016 for MIDIboxNG by  doxygen 1.6.1