| 数据搜索系统,热门电子元器件搜索 |
|
L6472 数据表(PDF) 56 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
L6472 数据表(HTML) 56 Page - STMicroelectronics |
|
56 / 69 page ![]() Programming manual L6472 56/69 Doc ID 022729 Rev 1 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 9. 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 9). Some registers cannot be written (see Table 9); any attempt to write one of these registers causes the command to be ignored and the WRONG_CMD flag to rise at the end of the command byte as if an unknown command code was sent (see Section 9.1.18). Some registers can only be written in particular conditions (see Table 9); any attempt to write one of these 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.19). 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 the command byte as if an unknown command code was sent. 9.2.4 GetParam (PARAM) This command reads the current PARAM register value; PARAM is the respective register address listed in Table 9. 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 9). The returned value is the register one at the moment of GetParam command decoding. If the register value changes after this moment, the response is not accordingly updated. All registers can be read anytime. Table 35. 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 36. 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 |