Casio WK3800 Instruction Manual - Page 37

Parameter Data

Page 37 highlights

ccccB 0000B 0001B 0010B 0011B 0100B 0101B : 1111B Control Message EOD Oneway/Handshake Bulk Dump End of Data (Parameter set transfer complete) HDA Handshake Bulk Dump Acknowledge (Handshake receive successful) HDJ Handshake Bulk Dump Reject (Handshake rejected/stopped) HDE Handshake Bulk Dump Error (Handshake Error) BSY Handshake Bulk Dump Busy (Handshake Busy) EOS Oneway/Handshake Bulk Dump End of Package (Parameter set package complete) NOP No Operation (No operation) 17.2.11 11...data Parameter Data When act = 1(IPR), 03(BDR), 05(HDR) or 7 (EOD, HDA, HDJ, HDE, BSY, EOS, NOP) Format: This field is always empty. When act = 00(IPC) Format: 0dddddddB (0eeeeeeeB) (0fffffffB) (0gggggggB) (0hhhhhhhB) Indicates the value of the parameter itself. The length varies in accordance with the data size indicated by the "dlen" field, as shown below. This field is not included for a parameter request. dddddB + 1 Number of Data 1- 7 1 8 - 14 2 15 - 21 3 22 - 28 4 29 - 32 5 Each block of data is packed from the lowest order byte first. In the case of multiple-byte data, the least significant bit is the LSB of the first "data" block, and the most significant 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. data0: data1: data2: data3: data4: 7 6 5 4 3 2 1 0 0 [bit06] [bit05] [bit04] [bit03] [bit02] [bit01] [bit00] 0 [bit13] [bit12] [bit11] [bit10] [bit09] [bit08] [bit07] 0 [bit20] [bit19] [bit18] [bit17] [bit16] [bit15] [bit14] 0 [bit27] [bit26] [bit25] [bit24] [bit23] [bit22] [bit21] 0 0 0 0 [bit31] [bit30] [bit29] [bit28] 37

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84

37
17.2.11
11...
data
Parameter Data
This field is always empty.
Indicates the value of the parameter itself. The length varies in accordance with the data size indicated by the
"
dlen
" field, as shown below. This field is not included for a parameter request.
Each block of data is packed from the lowest order byte first. In the case of multiple-byte data, the least
significant bit is the LSB of the first "
data
" block, and the most significant 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.
ccccB
Control Message
0000B
0001B
0010B
0011B
0100B
0101B
:
1111B
EOD Oneway/Handshake Bulk Dump End of Data (Parameter set transfer complete)
HDA Handshake Bulk Dump Acknowledge (Handshake receive successful)
HDJ Handshake Bulk Dump Reject (Handshake rejected/stopped)
HDE Handshake Bulk Dump Error (Handshake Error)
BSY Handshake Bulk Dump Busy (Handshake Busy)
EOS Oneway/Handshake Bulk Dump End of Package (Parameter set package complete)
NOP No Operation (No operation)
When
act
= 1(IPR), 03(BDR), 05(HDR) or 7 (EOD, HDA, HDJ, HDE, BSY, EOS, NOP)
Format: -
When
act
= 00(IPC)
Format:
0dddddddB
(0eeeeeeeB)
(0fffffffB)
(0gggggggB)
(0hhhhhhhB)
dddddB + 1 Number of
Data
1-
7
1
8 - 14
2
15 - 21
3
22 - 28
4
29 - 32
5
7
6
5
4
3
2
1
0
data0:
data1:
data2:
data3:
data4:
0
0
0
0
0
[bit06]
[bit13]
[bit20]
[bit27]
0
[bit05]
[bit12]
[bit19]
[bit26]
0
[bit04]
[bit11]
[bit18]
[bit25]
0
[bit03]
[bit10]
[bit17]
[bit24]
[bit31]
[bit02]
[bit09]
[bit16]
[bit23]
[bit30]
[bit01]
[bit08]
[bit15]
[bit22]
[bit29]
[bit00]
[bit07]
[bit14]
[bit21]
[bit28]