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) |
AIN access functions for MIDIbox NG
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
This function handles the calibration values Note: it's also used by the AINSER module, therefore public
This function should be called from APP_AIN_NotifyChange when an input has changed its value
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)