Casio AP-200 Electronic Keyboard User Manual


 
31
16.3.13 len : Data Length
Data length indicates the transfer array length minus 1 for individual parameter transfer when the parameter contains a
character string or other similar array structure.
16.3.14 data : Parameter Data
Parameter data indicates the parameter value. Data that is the size of the number of arrays equivalent to len + 1 follows.
For the structure of one data item, the length depends on the data bit width, as shown below.
Each block of data is packed from the lowest order byte first. In the case of multiple-byte data, the lowest weighted bit
is the LSB of the first "data" block, and the highest weighted bit is the MSB of the final "data" block. The following
shows an example of how data would be divided for transfer in the case of 32-bit data.
Format: 0lllllllB
Format: 0dddddddB (0eeeeeeeB) (0fffffffB) (0gggggggB) (0hhhhhhhB)
:
:
dddddB + 1 Number of Data
1 - 71
8 - 14 2
15 - 21 3
22 - 28 4
29 - 32 5
76543210
data0: 0 [bit06] [bit05] [bit04] [bit03] [bit02] [bit01] [bit00]
data1: 0 [bit13] [bit12] [bit11] [bit10] [bit09] [bit08] [bit07]
data2: 0 [bit20] [bit19] [bit18] [bit17] [bit16] [bit15] [bit14]
data3: 0 [bit27] [bit26] [bit25] [bit24] [bit23] [bit22] [bit21]
data4: 0 0 0 0 [bit31] [bit30] [bit29] [bit28]