I use purepath create a header file:
typedef struct { u8 control_page; //coefficient page location u8 control_base; //coefficient base address within page u8 control_mute_flag; //non-zero means muting required u8 control_string_index; //string table index } control; static control MUX_controls[] = { {45,112,1,0}, {45,116,1,1}, {46,40,1,2} }; static string MUX_control_names[] = { "Input_Mode", "Filter_Select", "Filter_Select_1" }; static control VOLUME_controls[] = { {44,68,0,0}, {10,44,0,1} }; static string VOLUME_control_names[] = { "Volume_1", "Volume_3" }; //INSTRUCTIONS & COEFFICIENTS typedef struct { u8 reg_off; u8 reg_val; } reg_value; static string REG_Section_names[] = { "miniDSP_A_reg_values", "miniDSP_D_reg_values", };
How to use these coefficient to change the MUX channel and change volume?
If I want to change the "Input_Mode" channel to "channel 2". How to do that?