midibox_ng_v1/src/mbng_matrix.c File Reference

#include <mios32.h>
#include <string.h>
#include <max72xx.h>
#include "app.h"
#include "mbng_lcd.h"
#include "mbng_matrix.h"
#include "mbng_patch.h"
#include "mbng_event.h"
#include "mbng_din.h"

Defines

#define NUM_MATRIX_DIM_LEVELS   (MIOS32_SRIO_NUM_DOUT_PAGES/2)

Functions

s32 MBNG_MATRIX_Init (u32 mode)
s32 MBNG_MATRIX_LedMatrixChanged (u8 matrix)
s32 MBNG_MATRIX_ButtonMatrixChanged (u8 matrix)
s32 MBNG_MATRIX_SRIO_ParametersChanged (void)
s32 MBNG_MATRIX_PatternSet (u8 num, u8 pos, u16 pattern)
u16 MBNG_MATRIX_PatternGet (u8 num, u8 pos)
s32 MBNG_MATRIX_LcMeterPatternSet (u8 pos, u16 pattern)
u16 MBNG_MATRIX_LcMeterPatternGet (u8 pos)
s32 MBNG_MATRIX_DOUT_PinSet (u8 matrix, u8 color, u16 pin, u8 level)
s32 MBNG_MATRIX_DOUT_PatternSet (u8 matrix, u8 color, u16 row, u16 value, u16 range, u8 pattern, u8 level)
s32 MBNG_MATRIX_DOUT_PatternSet_LC (u8 matrix, u8 color, u16 row, u16 value, u8 level)
s32 MBNG_MATRIX_DOUT_PatternSet_LCMeter (u8 matrix, u8 color, u16 row, u8 meter_value, u8 level)
s32 MBNG_MATRIX_DOUT_PatternSet_Digit (u8 matrix, u8 color, u16 row, u8 value, u8 level, u8 dot)
s32 MBNG_MATRIX_GetRow (void)
s32 MBNG_MATRIX_ButtonHandler (void)
s32 MBNG_MATRIX_MAX72xx_Update (void)
s32 MBNG_MATRIX_DIN_NotifyReceivedValue (mbng_event_item_t *item)
s32 MBNG_MATRIX_DOUT_NotifyReceivedValue (mbng_event_item_t *item)

Variables

const u16 selection_4rows [MBNG_PATCH_NUM_MATRIX_ROWS_MAX]
const u16 selection_8rows [MBNG_PATCH_NUM_MATRIX_ROWS_MAX]
const u16 selection_16rows [MBNG_PATCH_NUM_MATRIX_ROWS_MAX]

Generated on 22 Jan 2016 for MIDIboxNG by  doxygen 1.6.1