| 数据搜索系统,热门电子元器件搜索 |
|
L6474 数据表(PDF) 44 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
L6474 数据表(HTML) 44 Page - STMicroelectronics |
|
44 / 51 page ![]() Programming manual L6474 44/51 Doc ID 022529 Rev 2 9.2.3 SetParam (PARAM, VALUE) The SetParam command sets the PARAM register value equal to VALUE; PARAM is the respective register address listed in Table 16. The command should be followed by the new register VALUE (most significant byte first). The number of bytes composing the VALUE argument depends on the length of the target register (see Table 16). Some registers cannot be written (see Table 16); any attempt to write one of those registers causes the command to be ignored and the WRONG_CMD flag to rise at the end of command byte, the same is true when an unknown command code is sent (see Section 9.1.13). Some registers can only be written in particular conditions (see Table 16); any attempt to write one of those registers when the conditions are not satisfied causes the command to be ignored and the NOTPERF_CMD flag to rise at the end of last argument byte (see Section 9.1.13). Any attempt to set an inexistent register (wrong address value) causes the command to be ignored and the WRONG_CMD flag to rise at the end of command byte, the same is true when an unknown command code is sent. 9.2.4 GetParam (PARAM) This command reads the current PARAM register value; PARAM is the respective register address listed in Table 16. The command response is the current value of the register (most significant byte first). The number of bytes composing the command response depends on the length of the target register (see Table 16). The returned value is the register one at the moment of GetParam command decoding. If register values change after this moment the response is not accordingly updated. All registers can be read anytime. Table 32. SetParam command structure Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 0 PARAM From host VALUE Byte 2 (if needed) VALUE Byte 1 (if needed) VALUE Byte 0 Table 33. GetParam command structure Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 1 PARAM from host ANS Byte 2 (if needed) to host ANS Byte 1 (if needed) to host ANS Byte 0 to host |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |