我用PPS编译生成了一个.h文件,文件里头的接口段代码如下:
static control VOLUME_controls[] = {
{44,28,0,0}
};
static string VOLUME_control_names[] = {
"Volume_1"
};
我想问的是{44,28,0,0}这四个数字分别代表什么意思啊?还请大家指教,不胜感激~!
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
我用PPS编译生成了一个.h文件,文件里头的接口段代码如下:
static control VOLUME_controls[] = {
{44,28,0,0}
};
static string VOLUME_control_names[] = {
"Volume_1"
};
我想问的是{44,28,0,0}这四个数字分别代表什么意思啊?还请大家指教,不胜感激~!
没有代码啊,我还没有写代码,这个代码都是pps软件自动生成的。
我想问的是这四个音量控制字什么是什么意思,就像其他reg_value REG_Section_program[]
这个数组都是类似这种格式:
{ 0,0x00},
// # reg[ 0][ 1] = 0x01 ; Initialize the device through software reset
{ 1,0x01},
{254,0x0A},
{ 0,0x01},
这个我很容易的知道前一个数据代表寄存器地址,后一个数据代表寄存器配置数据。
那像这个音量控制字:
static control VOLUME_controls[] = {
{44,28,0,0}
};
这四个数据有说第一个数据代表寄存器地址,第二个数据代表寄存器数据类似这样的解释吗?谢谢~!