diff options
Diffstat (limited to 'i2c-uda1388.script')
-rw-r--r-- | i2c-uda1388.script | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/i2c-uda1388.script b/i2c-uda1388.script new file mode 100644 index 0000000..8ea5b40 --- /dev/null +++ b/i2c-uda1388.script @@ -0,0 +1,52 @@ +<script> + <action> + <name>Set I2C speed to 400kbps (1/2)</name> + <type>SEND_MCM</type> + <fblock_id_hex>0</fblock_id_hex> + <function_id_hex>E1D</function_id_hex> + <op_type_request_hex>2</op_type_request_hex> + <op_type_response_hex>C</op_type_response_hex> + <payload_hex>01 00 01</payload_hex> + </action> + <action> + <name>Set I2C speed to 400kbps (2/2)</name> + <type>PAUSE</type> + <pause_ms>25</pause_ms> + </action> + <action> + <name>Uda1380Setup (1/2)</name> + <type>SEND_MCM</type> + <fblock_id_hex>0</fblock_id_hex> + <function_id_hex>E1E</function_id_hex> + <op_type_request_hex>2</op_type_request_hex> + <op_type_response_hex>C</op_type_response_hex> + <payload_hex>18 03 0a 00 0f 02 01 00 00 02 a5 df 03 3f 3f 04 02 02 10 00 00 11 00 00 12 00 00 13 00 00 14 00 00</payload_hex> + </action> + <action> + <name>Uda1380Setup (2/2)</name> + <type>SEND_MCM</type> + <fblock_id_hex>0</fblock_id_hex> + <function_id_hex>E1E</function_id_hex> + <op_type_request_hex>2</op_type_request_hex> + <op_type_response_hex>C</op_type_response_hex> + <payload_hex>18 03 04 20 00 00 21 00 00 22 00 00 23 00 00</payload_hex> + </action> + <action> + <name>Uda1380Setup (1/2)</name> + <type>SEND_MCM</type> + <fblock_id_hex>0</fblock_id_hex> + <function_id_hex>E1E</function_id_hex> + <op_type_request_hex>2</op_type_request_hex> + <op_type_response_hex>C</op_type_response_hex> + <payload_hex>1a 03 0a 00 0f 02 01 00 00 02 a5 df 03 3f 3f 04 02 02 10 00 00 11 00 00 12 00 00 13 00 00 14 00 00</payload_hex> + </action> + <action> + <name>Uda1380Setup (2/2)</name> + <type>SEND_MCM</type> + <fblock_id_hex>0</fblock_id_hex> + <function_id_hex>E1E</function_id_hex> + <op_type_request_hex>2</op_type_request_hex> + <op_type_response_hex>C</op_type_response_hex> + <payload_hex>1a 03 04 20 00 00 21 00 00 22 00 00 23 00 00</payload_hex> + </action> +</script> |