protocol translation

This commit is contained in:
yunyaobaihong 2022-10-31 14:36:50 +08:00
parent 88d1071c9f
commit 6da9dc3785
10 changed files with 1590 additions and 11 deletions

178
lang/cn/dec/0.json Normal file
View File

@ -0,0 +1,178 @@
[
{
"id": "dec_0i2c_chan_scl",
"text": "串行时钟线"
},
{
"id": "dec_0i2c_chan_sda",
"text": "串行数据线"
},
{
"id": "dec_0i2c_opt_addr",
"text": "显示从机地址格式"
},
{
"id": "dec_0spi_chan_clk",
"text": "时钟"
},
{
"id": "dec_0spi_opt_chan_miso",
"text": "主入从出"
},
{
"id": "dec_0spi_opt_chan_mosi",
"text": "主出从入"
},
{
"id": "dec_0spi_opt_chan_cs",
"text": "片选"
},
{
"id": "dec_0spi_opt_cs_pol",
"text": "片选极性"
},
{
"id": "dec_0spi_opt_cpol",
"text": "时钟极性"
},
{
"id": "dec_0spi_opt_cpha",
"text": "时钟相位"
},
{
"id": "dec_0spi_opt_bitorder",
"text": "比特序"
},
{
"id": "dec_0spi_opt_wordsize",
"text": "字长"
},
{
"id": "dec_0uart_chan_rxtx",
"text": "UART接收/发送线"
},
{
"id": "dec_0uart_opt_baudrate",
"text": "波特率"
},
{
"id": "dec_0uart_opt_num_data_bits",
"text": "数据位"
},
{
"id": "dec_0uart_opt_parity_type",
"text": "校验方式"
},
{
"id": "dec_0uart_opt_parity_check",
"text": "是否校验?"
},
{
"id": "dec_0uart_opt_num_stop_bits",
"text": "停止位"
},
{
"id": "dec_0uart_opt_bit_order",
"text": "比特序"
},
{
"id": "dec_0uart_opt_format",
"text": "数据形式"
},
{
"id": "dec_0uart_opt_invert",
"text": "信号反转?"
},
{
"id": "dec_0uart_anno_startstop",
"text": "显示开始/停止?"
},
{
"id": "dec_1i2c_chan_scl",
"text": "串行时钟线"
},
{
"id": "dec_1i2c_chan_sda",
"text": "串行数据线"
},
{
"id": "dec_1i2c_opt_addr",
"text": "显示从机地址格式"
},
{
"id": "dec_1spi_chan_clk",
"text": "时钟"
},
{
"id": "dec_1spi_opt_chan_miso",
"text": "主入从出"
},
{
"id": "dec_1spi_opt_chan_mosi",
"text": "主出从入"
},
{
"id": "dec_1spi_opt_chan_cs",
"text": "片选"
},
{
"id": "dec_1spi_opt_cs_pol",
"text": "片选极性"
},
{
"id": "dec_1spi_opt_cpol",
"text": "时钟极性"
},
{
"id": "dec_1spi_opt_cpha",
"text": "时钟相位"
},
{
"id": "dec_1spi_opt_bitorder",
"text": "比特序"
},
{
"id": "dec_1spi_opt_wordsize",
"text": "字长"
},
{
"id": "dec_1spi_opt_frame",
"text": "帧解码"
},
{
"id": "dec_1uart_chan_rxtx",
"text": "UART接收/发送线"
},
{
"id": "dec_1uart_opt_baudrate",
"text": "数据位"
},
{
"id": "dec_1uart_opt_parity_type",
"text": "校验方式"
},
{
"id": "dec_1uart_opt_parity_check",
"text": "是否校验?"
},
{
"id": "dec_1uart_opt_num_stop_bits",
"text": "停止位"
},
{
"id": "dec_1uart_opt_bit_order",
"text": "比特序"
},
{
"id": "dec_1uart_opt_format",
"text": "数据形式"
},
{
"id": "dec_1uart_opt_invert",
"text": "反转信号?"
},
{
"id": "dec_1uart_anno_startstop",
"text": "显示开始/停止?"
}
]

306
lang/cn/dec/a.json Normal file
View File

@ -0,0 +1,306 @@
[
{
"id": "dec_ac97_chan_sync",
"text": "帧同步"
},
{
"id": "dec_ac97_chan_clk",
"text": "数据位时钟"
},
{
"id": "dec_ac97_opt_chan_out",
"text": "数据输出"
},
{
"id": "dec_ac97_opt_chan_in",
"text": "数据输入"
},
{
"id": "dec_ac97_opt_chan_rst",
"text": "复位线"
},
{
"id": "dec_ad79x0_opt_vref",
"text": "参考电压(V)"
},
{
"id": "dec_am230x_chan_sda",
"text": "单线串行数据线"
},
{
"id": "dec_am230x_opt_device",
"text": "设备类型"
},
{
"id": "dec_amulet_ascii_opt_ms_chan",
"text": "主机->从机 通道"
},
{
"id": "dec_amulet_ascii_opt_sm_chan",
"text": "从机->主机 通道"
},
{
"id": "dec_arm_etmv3_opt_objdump",
"text": "反汇编路径"
},
{
"id": "dec_arm_etmv3_opt_objdump_opts",
"text": "反汇编选项"
},
{
"id": "dec_arm_etmv3_opt_elffile",
"text": "elf路径"
},
{
"id": "dec_arm_etmv3_opt_branch_enc",
"text": "分支编码"
},
{
"id": "dec_arm_itm_opt_objdump",
"text": "反汇编路径"
},
{
"id": "dec_arm_itm_opt_objdump_opts",
"text": "反汇编选项"
},
{
"id": "dec_arm_itm_opt_elffile",
"text": "elf路径"
},
{
"id": "dec_arm_tpiu_opt_stream",
"text": "流索引"
},
{
"id": "dec_arm_tpiu_sync_offset",
"text": "起始同步偏移"
},
{
"id": "dec_aud_chan_audck",
"text": "AUD时钟"
},
{
"id": "dec_aud_chan_naudsync",
"text": "AUD同步"
},
{
"id": "dec_aud_chan_audata3",
"text": "AUD数据线3"
},
{
"id": "dec_aud_chan_audata2",
"text": "AUD数据线2"
},
{
"id": "dec_aud_chan_audata1",
"text": "AUD数据线1"
},
{
"id": "dec_aud_chan_audata0",
"text": "AUD数据线0"
},
{
"id": "dec_avr_pdi_chan_reset",
"text": "复位/PDI时钟"
},
{
"id": "dec_avr_pdi_chan_data",
"text": "PDI数据"
},
{
"id": "dec_c2_chan_c2ck",
"text": "时钟"
},
{
"id": "dec_c2_chan_c2d",
"text": "数据"
},
{
"id": "dec_caliper_chan_clk",
"text": "串行时钟线"
},
{
"id": "dec_caliper_chan_data",
"text": "串行数据线"
},
{
"id": "dec_caliper_opt_timeout_ms",
"text": "数据包超时(毫秒),0表示禁用 "
},
{
"id": "dec_can_chan_can_rx",
"text": "CAN总线"
},
{
"id": "dec_can_opt_sample_point",
"text": "采样点(%d)"
},
{
"id": "dec_cec_chan_cec",
"text": "CEC总线数据"
},
{
"id": "dec_1uart_chan_rxtx",
"text": "UART接收/发送线"
},
{
"id": "dec_cjtag_oscan0_chan_tdi",
"text": "测试数据输入"
},
{
"id": "dec_cjtag_oscan0_chan_tdo",
"text": "测试数据输出"
},
{
"id": "dec_cjtag_oscan0_chan_tck",
"text": "测试时钟"
},
{
"id": "dec_cjtag_oscan0_chan_tms",
"text": "测试模式选择"
},
{
"id": "dec_cjtag_oscan0_opt_chan_trst",
"text": "测试复位"
},
{
"id": "dec_cjtag_oscan0_opt_chan_srst",
"text": "系统复位"
},
{
"id": "dec_cjtag_oscan0_opt_chan_rtck",
"text": "返回时钟信号"
},
{
"id": "dec_counter_chan_data",
"text": "数据线"
},
{
"id": "dec_counter_opt_chan_reset",
"text": "复位线"
},
{
"id": "dec_counter_opt_data_edge",
"text": "计数边沿(数据)"
},
{
"id": "dec_counter_opt_divider",
"text": "计数分隔符(字宽)"
},
{
"id": "dec_counter_opt_reset_edge",
"text": "清除(重置)计数器的边沿"
},
{
"id": "dec_counter_opt_edge_off",
"text": "启动/复位后的边沿计数器值"
},
{
"id": "dec_counter_opt_word_off",
"text": "启动/复位后的字计数器值"
},
{
"id": "dec_counter_opt_dead_cycles",
"text": "忽视重置后的边沿"
},
{
"id": "dec_counter_opt_start_with_reset",
"text": "假设解码从重置开始"
},
{
"id": "dec_dali_chan_dali",
"text": "DALI数据线"
},
{
"id": "dec_dali_opt_polarity",
"text": "极性"
},
{
"id": "dec_dcf77_chan_data",
"text": "数据线"
},
{
"id": "dec_dmx512_chan_dmx",
"text": "任意DMX数据线"
},
{
"id": "dec_dmx512_opt_invert",
"text": "反转信号?"
},
{
"id": "dec_dsi_chan_dsi",
"text": "DSI数据线"
},
{
"id": "dec_dsi_opt_polarity",
"text": "极性"
},
{
"id": "dec_eeprom24xx_opt_chip",
"text": "片选"
},
{
"id": "dec_eeprom24xx_opt_addr_counter",
"text": "初始地址计数器值"
},
{
"id": "dec_eeprom93xx_opt_addresssize",
"text": "地址大小"
},
{
"id": "dec_eeprom93xx_opt_wordsize",
"text": "字大小"
},
{
"id": "dec_em4100_chan_data",
"text": "数据线"
},
{
"id": "dec_em4100_opt_polarity",
"text": "极性"
},
{
"id": "dec_em4100_opt_datarate",
"text": "传输速率"
},
{
"id": "dec_em4100_opt_coilfreq",
"text": "线圈频率"
},
{
"id": "dec_em4305_chan_data",
"text": "数据线"
},
{
"id": "dec_em4305_opt_coilfreq",
"text": "线圈频率"
},
{
"id": "dec_em4305_opt_first_field_stop",
"text": "第一场停止最小值"
},
{
"id": "dec_em4305_opt_w_gap",
"text": "写入间隙最小值"
},
{
"id": "dec_em4305_opt_w_one_max",
"text": "最多写入一个"
},
{
"id": "dec_em4305_opt_w_zero_on_min",
"text": "最小值写零"
},
{
"id": "dec_em4305_opt_w_zero_off_max",
"text": "最大核销零"
},
{
"id": "dec_em4305_opt_em4100_decode",
"text": "EM4100解码器"
},
{
"id": "dec_eth_an_chan_dp",
"text": "ETH TX+信号"
}
]

326
lang/cn/dec/f.json Normal file
View File

@ -0,0 +1,326 @@
[
{
"id": "dec_flexray_chan_channel",
"text": "FlexRay总线通道"
},
{
"id": "dec_flexray_opt_channel_type",
"text": "通道类型"
},
{
"id": "dec_flexray_opt_bitrate",
"text": "比特率(bit/s)"
},
{
"id": "dec_fsi_chan_data",
"text": "数据帧"
},
{
"id": "dec_fsi_chan_clock",
"text": "时钟"
},
{
"id": "dec_gpib_chan_dio1",
"text": "数据I/O位1"
},
{
"id": "dec_gpib_chan_dio2",
"text": "数据I/O位2"
},
{
"id": "dec_gpib_chan_dio3",
"text": "数据I/O位3"
},
{
"id": "dec_gpib_chan_dio4",
"text": "数据I/O位4"
},
{
"id": "dec_gpib_chan_dio5",
"text": "数据I/O位5"
},
{
"id": "dec_gpib_chan_dio6",
"text": "数据I/O位6"
},
{
"id": "dec_gpib_chan_dio7",
"text": "数据I/O位7"
},
{
"id": "dec_gpib_chan_dio8",
"text": "数据I/O位8"
},
{
"id": "dec_gpib_chan_eoi",
"text": "结束或标识"
},
{
"id": "dec_gpib_chan_dav",
"text": "数据有效性"
},
{
"id": "dec_gpib_chan_nrfd",
"text": "尚未准备好数据"
},
{
"id": "dec_gpib_chan_ndac",
"text": "无接受数据"
},
{
"id": "dec_gpib_chan_ifc",
"text": "接口清零"
},
{
"id": "dec_gpib_chan_srq",
"text": "请求服务"
},
{
"id": "dec_gpib_chan_atn",
"text": "注意"
},
{
"id": "dec_gpib_chan_ren",
"text": "远程启用"
},
{
"id": "dec_graycode_opt_edges",
"text": "跳变沿"
},
{
"id": "dec_graycode_opt_avg_period",
"text": "平均周期"
},
{
"id": "dec_guess_bitrate_chan_data",
"text": "数据线"
},
{
"id": "dec_i2cfilter_opt_address",
"text": "从I²C流中筛选出的地址"
},
{
"id": "dec_i2cfilter_opt_direction",
"text": "过滤器读写方式"
},
{
"id": "dec_i2s_chan_sck",
"text": "位时钟线"
},
{
"id": "dec_i2s_chan_ws",
"text": "字时钟线"
},
{
"id": "dec_i2s_chan_sd",
"text": "串行数据线"
},
{
"id": "dec_i2s_opt_ws_polarity",
"text": "WS极性"
},
{
"id": "dec_i2s_opt_clk_edge",
"text": "SCK有效边沿"
},
{
"id": "dec_i2s_opt_bit_shift",
"text": "移位"
},
{
"id": "dec_i2s_opt_bit_align",
"text": "位对齐"
},
{
"id": "dec_i2s_opt_bitorder",
"text": "比特序"
},
{
"id": "dec_i2s_opt_wordsize",
"text": "字长"
},
{
"id": "dec_iec_chan_data",
"text": "数据I/O"
},
{
"id": "dec_iec_chan_clk",
"text": "时钟"
},
{
"id": "dec_iec_chan_atn",
"text": "注意"
},
{
"id": "dec_iec_opt_chan_srq",
"text": "请求服务"
},
{
"id": "dec_ieee488_chan_dio1",
"text": "数据I/O位1或串行数据"
},
{
"id": "dec_ieee488_chan_dio2",
"text": "数据I/O位2"
},
{
"id": "dec_ieee488_chan_dio3",
"text": "数据I/O位3"
},
{
"id": "dec_ieee488_chan_dio4",
"text": "数据I/O位4"
},
{
"id": "dec_ieee488_chan_dio5",
"text": "数据I/O位5"
},
{
"id": "dec_ieee488_chan_dio6",
"text": "数据I/O位6"
},
{
"id": "dec_ieee488_chan_dio7",
"text": "数据I/O位7"
},
{
"id": "dec_ieee488_chan_dio8",
"text": "数据I/O位8"
},
{
"id": "dec_ieee488_opt_chan_eoi",
"text": "结束或标识"
},
{
"id": "dec_ieee488_opt_chan_dav",
"text": "数据有效性"
},
{
"id": "dec_ieee488_opt_chan_nrfd",
"text": "尚未准备好数据"
},
{
"id": "dec_ieee488_opt_chan_ndac",
"text": "无接受数据"
},
{
"id": "dec_ieee488_opt_chan_ifc",
"text": "接口清零"
},
{
"id": "dec_ieee488_opt_chan_srq",
"text": "请求服务"
},
{
"id": "dec_ieee488_opt_chan_atn",
"text": "注意"
},
{
"id": "dec_ieee488_opt_chan_ren",
"text": "远程启用"
},
{
"id": "dec_ieee488_opt_chan_clk",
"text": "串行时钟"
},
{
"id": "dec_ieee488_opt_iec_periph",
"text": "解码Commodore IEC总线外围设备详细信息"
},
{
"id": "dec_ieee488_opt_delim",
"text": "有效载荷数据分隔符"
},
{
"id": "dec_ir_irmp_chan_ir",
"text": "数据线"
},
{
"id": "dec_ir_irmp_opt_polarity",
"text": "极性"
},
{
"id": "dec_ir_nec_chan_ir",
"text": "数据线"
},
{
"id": "dec_ir_nec_opt_polarity",
"text": "极性"
},
{
"id": "dec_ir_nec_opt_cd_freq",
"text": "载波频率"
},
{
"id": "dec_ir_rc5_chan_ir",
"text": "极性"
},
{
"id": "dec_ir_rc5_opt_polarity",
"text": "极性"
},
{
"id": "dec_ir_rc5_opt_protocol",
"text": "协议类型"
},
{
"id": "dec_ir_rc6_chan_ir",
"text": "IR数据线"
},
{
"id": "dec_ir_rc6_opt_polarity",
"text": "极性"
},
{
"id": "dec_ir_sirc_chan_ir",
"text": "IR数据线"
},
{
"id": "dec_ir_sirc_opt_polarity",
"text": "极性"
},
{
"id": "dec_jitter_chan_clk",
"text": "时钟参考通道"
},
{
"id": "dec_jitter_chan_sig",
"text": "时钟控制的结果信号"
},
{
"id": "dec_jitter_opt_clk_polarity",
"text": "时钟边沿极性"
},
{
"id": "dec_jitter_opt_sig_polarity",
"text": "产生的信号边缘极性"
},
{
"id": "dec_jtag_chan_tdi",
"text": "测试数据输入"
},
{
"id": "dec_jtag_chan_tdo",
"text": "测试数据输出"
},
{
"id": "dec_jtag_chan_tck",
"text": "测试时钟"
},
{
"id": "dec_jtag_chan_tms",
"text": "测试模式选择"
},
{
"id": "dec_jtag_opt_chan_trst",
"text": "测试复位"
},
{
"id": "dec_jtag_opt_chan_srst",
"text": "系统复位"
},
{
"id": "dec_jtag_opt_chan_rtck",
"text": "返回i时钟信号"
}
]

242
lang/cn/dec/k.json Normal file
View File

@ -0,0 +1,242 @@
[
{
"id": "dec_lfast_chan_data",
"text": "TXP或RXP"
},
{
"id": "dec_lin_opt_version",
"text": "协议版本"
},
{
"id": "dec_lm75_opt_sensor",
"text": "传感器类型"
},
{
"id": "dec_lm75_opt_resolution",
"text": "分辨率(位)"
},
{
"id": "dec_lpc_chan_lframe",
"text": "数据镇"
},
{
"id": "dec_lpc_chan_lclk",
"text": "时钟"
},
{
"id": "dec_lpc_chan_lad0",
"text": "地址/控制/数据线 0"
},
{
"id": "dec_lpc_chan_lad1",
"text": "地址/控制/数据线 1"
},
{
"id": "dec_lpc_chan_lad2",
"text": "地址/控制/数据线 2"
},
{
"id": "dec_lpc_chan_lad3",
"text": "地址/控制/数据线 3"
},
{
"id": "dec_lpc_opt_chan_lreset",
"text": "复位"
},
{
"id": "dec_lpc_opt_chan_ldrq",
"text": "编码的DMA/总线主请求"
},
{
"id": "dec_lpc_opt_chan_serirq",
"text": "中断请求"
},
{
"id": "dec_lpc_opt_chan_clkrun",
"text": "时钟运行"
},
{
"id": "dec_lpc_opt_chan_lpme",
"text": "LPC电源管理事件"
},
{
"id": "dec_lpc_opt_chan_lpcpd",
"text": "掉电"
},
{
"id": "dec_lpc_opt_chan_lsmi",
"text": "系统管理中断"
},
{
"id": "dec_ltc26x7_opt_chip",
"text": "片选"
},
{
"id": "dec_ltc26x7_opt_vref",
"text": "参考电压(V)"
},
{
"id": "dec_ltc242x_opt_vref",
"text": "参考电压(V)"
},
{
"id": "dec_maple_bus_chan_sdcka",
"text": "数据/时钟线 A"
},
{
"id": "dec_maple_bus_chan_sdckb",
"text": "数据/时钟线 B"
},
{
"id": "dec_mcs48_chan_ale",
"text": "地址锁存启用"
},
{
"id": "dec_mcs48_chan_psen",
"text": "程序存储启用"
},
{
"id": "dec_mdio_chan_mdc",
"text": "时钟"
},
{
"id": "dec_mdio_chan_mdio",
"text": "数据"
},
{
"id": "dec_mdio_opt_show_debug_bits",
"text": "显示调试位"
},
{
"id": "dec_mdio_opt_read_edge",
"text": "读取边沿"
},
{
"id": "dec_microwire_chan_cs",
"text": "片选"
},
{
"id": "dec_microwire_chan_sk",
"text": "时钟"
},
{
"id": "dec_microwire_chan_si",
"text": "从机输入"
},
{
"id": "dec_microwire_chan_so",
"text": "从机输出"
},
{
"id": "dec_miller_chan_data",
"text": "数据信号"
},
{
"id": "dec_miller_opt_baudrate",
"text": "波特率"
},
{
"id": "dec_miller_opt_edge",
"text": "边沿"
},
{
"id": "dec_mipi_dsi_chan_D0N",
"text": "LP数据0负"
},
{
"id": "dec_mipi_dsi_chan_D0P",
"text": "LP数据0正"
},
{
"id": "dec_mipi_rffe_chan_sclk",
"text": "串行时钟线"
},
{
"id": "dec_mipi_rffe_chan_sdata",
"text": "串行数据线"
},
{
"id": "dec_mipi_rffe_opt_error_display",
"text": "错误显示选项"
},
{
"id": "dec_modbus_opt_channel",
"text": "传输方向"
},
{
"id": "dec_morse_chan_data",
"text": "数据线"
},
{
"id": "dec_morse_opt_timeunit",
"text": "时间单位()"
},
{
"id": "dec_nes_gamepad_opt_variant",
"text": "Gamepad变体"
},
{
"id": "dec_nrf24l01_opt_chip",
"text": "芯片类型"
},
{
"id": "dec_numbers_and_state_chan_clk",
"text": "时钟"
},
{
"id": "dec_numbers_and_state_opt_clkedge",
"text": "时钟沿"
},
{
"id": "dec_numbers_and_state_opt_count",
"text": "总比特计数"
},
{
"id": "dec_numbers_and_state_opt_interp",
"text": "解释方法"
},
{
"id": "dec_numbers_and_state_opt_fracbits",
"text": "分数位计数"
},
{
"id": "dec_numbers_and_state_opt_mapping",
"text": "枚举到文本映射文件"
},
{
"id": "dec_numbers_and_state_opt_format",
"text": "数据格式"
},
{
"id": "dec_onewire_link_chan_owr",
"text": "1-Wire 信号线"
},
{
"id": "dec_onewire_link_opt_overdrive",
"text": "以高速模式开始"
},
{
"id": "dec_ook_chan_data",
"text": "数据线"
},
{
"id": "dec_ook_oregon_opt_unknown",
"text": "未知类型为"
},
{
"id": "dec_ook_vis_opt_displayas",
"text": "显示为"
},
{
"id": "dec_ook_vis_opt_synclen",
"text": "同步长度"
},
{
"id": "dec_ook_vis_opt_syncoffset",
"text": "同步偏移"
},
{
"id": "dec_ook_vis_opt_refsample",
"text": "比较"
}
]

442
lang/cn/dec/p.json Normal file
View File

@ -0,0 +1,442 @@
[
{
"id": "dec_parallel_opt_clock_edge",
"text": "采样时钟边沿"
},
{
"id": "dec_parallel_opt_wordsize",
"text": "数据字大小(总线周期数)"
},
{
"id": "dec_parallel_opt_endianness",
"text": "数据结尾"
},
{
"id": "dec_pjdl_chan_data",
"text": "单线数据"
},
{
"id": "dec_pjdl_opt_mode",
"text": "通信模式"
},
{
"id": "dec_pjdl_opt_idle_add_us",
"text": "增加空闲时间us"
},
{
"id": "dec_ps2_chan_clk",
"text": "时钟线"
},
{
"id": "dec_ps2_chan_data",
"text": "数据线"
},
{
"id": "dec_ps2_opt_HtoD_Clock",
"text": "HtoD时钟"
},
{
"id": "dec_ps2_opt_DtoH_Clock",
"text": "DtoH时钟"
},
{
"id": "dec_pwm_chan_data",
"text": "数据线"
},
{
"id": "dec_pwm_opt_polarity",
"text": "极性"
},
{
"id": "dec_pxx1_chan_data",
"text": "数据线"
},
{
"id": "dec_qi_chan_qi",
"text": "解调Qi数据线"
},
{
"id": "dec_qspi_chan_clk",
"text": "时钟线"
},
{
"id": "dec_qspi_chan_io0",
"text": "数据I/O 0"
},
{
"id": "dec_qspi_opt_chan_io1",
"text": "数据I/O 1"
},
{
"id": "dec_qspi_opt_chan_io2",
"text": "数据I/O 2"
},
{
"id": "dec_qspi_opt_chan_io3",
"text": "数据I/O 3"
},
{
"id": "dec_qspi_opt_chan_cs",
"text": "片选"
},
{
"id": "dec_qspi_opt_cs_polarity",
"text": "片选极性"
},
{
"id": "dec_qspi_opt_cpol",
"text": "时钟极性(CPOL)"
},
{
"id": "dec_qspi_opt_cpha",
"text": "时钟相位(CPHA)"
},
{
"id": "dec_qspi_opt_bitorder",
"text": "比特序"
},
{
"id": "dec_qspi_opt_wordsize",
"text": "字长"
},
{
"id": "dec_rc_encode_chan_data",
"text": "数据线"
},
{
"id": "dec_rgb_led_ws281x_chan_din",
"text": "DIN数据线"
},
{
"id": "dec_rgb_led_ws281x_opt_colors",
"text": "颜色"
},
{
"id": "dec_rgb_led_ws281x_opt_polarity",
"text": "极性"
},
{
"id": "dec_sae_j1850_vpw_chan_data",
"text": "数据线"
},
{
"id": "dec_sda2506_chan_clk",
"text": "时钟"
},
{
"id": "dec_sda2506_chan_d",
"text": "数据"
},
{
"id": "dec_sda2506_chan_ce",
"text": "芯片使能"
},
{
"id": "dec_sdcard_sd_chan_cmd",
"text": "命令"
},
{
"id": "dec_sdcard_sd_chan_clk",
"text": "时钟"
},
{
"id": "dec_sdcard_sd_opt_chan_dat0",
"text": "数据引脚 0"
},
{
"id": "dec_sdcard_sd_opt_chan_dat1",
"text": "数据引脚 1"
},
{
"id": "dec_sdcard_sd_opt_chan_dat2",
"text": "数据引脚 2"
},
{
"id": "dec_sdcard_sd_opt_chan_dat3",
"text": "数据引脚 3"
},
{
"id": "dec_sdq_chan_sdq",
"text": "单线SDQ数据线"
},
{
"id": "dec_sdq_opt_bitrate",
"text": "比特率"
},
{
"id": "dec_seven_segment_chan_A",
"text": "A段"
},
{
"id": "dec_seven_segment_chan_B",
"text": "B段"
},
{
"id": "dec_seven_segment_chan_C",
"text": "C段"
},
{
"id": "dec_seven_segment_chan_D",
"text": "D段"
},
{
"id": "dec_seven_segment_chan_E",
"text": "E段"
},
{
"id": "dec_seven_segment_chan_F",
"text": "F段"
},
{
"id": "dec_seven_segment_chan_G",
"text": "G段"
},
{
"id": "dec_seven_segment_opt_chan_A",
"text": "小数点"
},
{
"id": "dec_seven_segment_opt_polarity",
"text": "预期极性"
},
{
"id": "dec_signature_chan_start",
"text": "起始通道"
},
{
"id": "dec_signature_chan_stop",
"text": "停止通道"
},
{
"id": "dec_signature_chan_clk",
"text": "时钟通道"
},
{
"id": "dec_signature_chan_data",
"text": "数据通道"
},
{
"id": "dec_signature_opt_start_edge",
"text": "起始边沿极性"
},
{
"id": "dec_signature_opt_stop_edge",
"text": "停止边沿极性"
},
{
"id": "dec_signature_opt_clk_edge",
"text": "时钟边沿极性"
},
{
"id": "dec_signature_opt_annbits",
"text": "启用位注释"
},
{
"id": "dec_sle44xx_chan_rst",
"text": "复位线"
},
{
"id": "dec_sle44xx_chan_clk",
"text": "时钟线"
},
{
"id": "dec_sle44xx_chan_io",
"text": "I/O数据线"
},
{
"id": "dec_spdif_chan_data",
"text": "数据线"
},
{
"id": "dec_spi_tpm_opt_tpm_version",
"text": "TPM版本为1.2或2.0"
},
{
"id": "dec_spiflash_opt_chip",
"text": "芯片"
},
{
"id": "dec_spiflash_opt_format",
"text": "数据格式"
},
{
"id": "dec_ssi32_opt_msgsize",
"text": "消息大小"
},
{
"id": "dec_st7735_chan_cs",
"text": "片选"
},
{
"id": "dec_st7735_chan_clk",
"text": "时钟"
},
{
"id": "dec_st7735_chan_mosi",
"text": "主出从入"
},
{
"id": "dec_st7735_chan_dc",
"text": "数据或命令"
},
{
"id": "dec_st7789_chan_csx",
"text": "片选信号"
},
{
"id": "dec_st7789_chan_dcx",
"text": "时钟信号"
},
{
"id": "dec_st7789_chan_sdo",
"text": "串行输出数据"
},
{
"id": "dec_st7789_chan_wrx",
"text": "命令/数据"
},
{
"id": "dec_stepper_motor_chan_step",
"text": "步进脉冲"
},
{
"id": "dec_stepper_motor_chan_dir",
"text": "方向选择"
},
{
"id": "dec_stepper_motor_opt_unit",
"text": "单位"
},
{
"id": "dec_stepper_motor_opt_steps_per_mm",
"text": "每毫秒步数"
},
{
"id": "dec_swd_chan_swclk",
"text": "主机时钟"
},
{
"id": "dec_swd_chan_swdio",
"text": "数据输入/输出"
},
{
"id": "dec_swd_opt_strict_start",
"text": "开始解码前等待线路重置"
},
{
"id": "dec_swim_opt_debug",
"text": "调试"
},
{
"id": "dec_swim_chan_swim",
"text": "SWIM数据线"
},
{
"id": "dec_t55xx_chan_data",
"text": "数据线"
},
{
"id": "dec_t55xx_opt_coilfreq",
"text": "线圈频率"
},
{
"id": "dec_t55xx_opt_start_gap",
"text": "起始间隙最小值"
},
{
"id": "dec_t55xx_opt_w_gap",
"text": "写入间隙最小值"
},
{
"id": "dec_t55xx_opt_w_one_min",
"text": "写入1最小值"
},
{
"id": "dec_t55xx_opt_w_one_max",
"text": "写入1最大值"
},
{
"id": "dec_t55xx_opt_w_zero_min",
"text": "写入0最小值"
},
{
"id": "dec_t55xx_opt_w_zero_max",
"text": "写入0最大值"
},
{
"id": "dec_t55xx_opt_em4100_decode",
"text": "EM4100 解码"
},
{
"id": "dec_tdm_audio_chan_clock",
"text": "数据位时钟"
},
{
"id": "dec_tdm_audio_chan_frame",
"text": "帧同步"
},
{
"id": "dec_tdm_audio_chan_data",
"text": "串行数据"
},
{
"id": "dec_tdm_audio_opt_bps",
"text": "每个样本中数据位数"
},
{
"id": "dec_tdm_audio_opt_channels",
"text": "声道数"
},
{
"id": "dec_tdm_audio_opt_edge",
"text": "采样的时钟边沿"
},
{
"id": "dec_timing_chan_data",
"text": "数据线"
},
{
"id": "dec_timing_opt_avg_period",
"text": "平均周期"
},
{
"id": "dec_timing_opt_edge",
"text": "检测边沿"
},
{
"id": "dec_timing_opt_delta",
"text": "显示上次的增量"
},
{
"id": "dec_tlc5620_chan_clk",
"text": "串行接口时钟"
},
{
"id": "dec_tlc5620_chan_data",
"text": "串行接口数据"
},
{
"id": "dec_tlc5620_opt_chan_load",
"text": "串行接口负载控制"
},
{
"id": "dec_tlc5620_opt_chan_ldac",
"text": "负载DAC"
},
{
"id": "dec_tlc5620_opt_vref_a",
"text": "参考电压 DACA(V)"
},
{
"id": "dec_tlc5620_opt_vref_b",
"text": "参考电压 DACB(V)"
},
{
"id": "dec_tlc5620_opt_vref_c",
"text": "参考电压 DACC(V)"
},
{
"id": "dec_tlc5620_opt_vref_d",
"text": "参考电压 DACD(V)"
}
]

82
lang/cn/dec/u.json Normal file
View File

@ -0,0 +1,82 @@
[
{
"id": "dec_usb_packet_opt_signalling",
"text": "信号发送"
},
{
"id": "dec_usb_power_delivery_chan_cc1",
"text": "配置通道1"
},
{
"id": "dec_usb_power_delivery_opt_chan_cc2",
"text": "配置通道2"
},
{
"id": "dec_usb_power_delivery_opt_fulltext",
"text": "数据包的全文解码"
},
{
"id": "dec_usb_signalling_chan_dp",
"text": "USB D+信号"
},
{
"id": "dec_usb_signalling_chan_dm",
"text": "USB D-信号"
},
{
"id": "dec_usb_signalling_opt_signalling",
"text": "信号发送"
},
{
"id": "dec_wiegand_chan_d0",
"text": "数据0线"
},
{
"id": "dec_wiegand_chan_d1",
"text": "数据1线"
},
{
"id": "dec_wiegand_opt_active",
"text": "数据线有效电平"
},
{
"id": "dec_wiegand_opt_bitwidth_ms",
"text": "以毫秒为单位的单个位宽"
},
{
"id": "dec_xy2-100_chan_clk",
"text": "时钟"
},
{
"id": "dec_xy2-100_chan_sync",
"text": "同步"
},
{
"id": "dec_xy2-100_chan_data",
"text": "X、Y或Z轴数据"
},
{
"id": "dec_xy2-100_opt_chan_status",
"text": "X、Y或Z轴状态"
},
{
"id": "dec_z80_chan_m1",
"text": "机器循环 1"
},
{
"id": "dec_z80_chan_rd",
"text": "内存或I/O读取"
},
{
"id": "dec_z80_chan_wr",
"text": "内存或I/O写入"
},
{
"id": "dec_z80_opt_chan_mreq",
"text": "内存请求"
},
{
"id": "dec_z80_opt_chan_iorq",
"text": "I/O请求"
}
]

View File

@ -84,7 +84,8 @@ class Decoder(srd.Decoder):
outputs = []
tags = ['Encoding']
optional_channels = tuple(
{'id': 'd{}'.format(i), 'name': 'D{}'.format(i), 'desc': 'Data line {}'.format(i), 'idn':'dec_graycode_opt_chan_d{}'.format(i)}
{'id': 'd{}'.format(i), 'name': 'D{}'.format(i), 'desc': 'Data line {}'.format(i)
#, 'idn':'dec_graycode_opt_chan_d{}'.format(i)}
for i in range(MAX_CHANNELS)
)
options = (

View File

@ -39,21 +39,21 @@ class Decoder(srd.Decoder):
) + tuple({
'id': 'd%d' % i,
'name': 'D%d' % i,
'desc': 'CPU data line %d' % i,
'idn':'dec_mcs48_chan_d%d' % i
'desc': 'CPU data line %d' % i
#, 'idn':'dec_mcs48_chan_d%d' % i
} for i in range(0, 8)
) + tuple({
'id': 'a%d' % i,
'name': 'A%d' % i,
'desc': 'CPU address line %d' % i,
'idn':'dec_mcs48_chan_a%d' % i
'desc': 'CPU address line %d' % i
#, 'idn':'dec_mcs48_chan_a%d' % i
} for i in range(8, 12)
)
optional_channels = tuple({
'id': 'a%d' % i,
'name': 'A%d' % i,
'desc': 'CPU address line %d' % i,
'idn':'dec_mcs48_opt_chan_a%d' % i
'desc': 'CPU address line %d' % i
#, 'idn':'dec_mcs48_opt_chan_a%d' % i
} for i in range(12, 13)
)
annotations = (

View File

@ -90,8 +90,9 @@ class Ann:
def _channel_decl(count):
return tuple([
{'id': 'bit{}'.format(i), 'name': 'Bit{}'.format(i), 'desc': 'Bit position {}'.format(i),
'idn':'dec_numbers_and_state_Bit{}'.format(i)}
{'id': 'bit{}'.format(i), 'name': 'Bit{}'.format(i), 'desc': 'Bit position {}'.format(i)
#, 'idn':'dec_numbers_and_state_Bit{}'.format(i)
}
for i in range(count)
])

View File

@ -77,6 +77,7 @@ class Decoder(srd.Decoder):
'id': 'd%d' % i,
'name': 'D%d' % i,
'desc': 'Data bus line %d' % i
#,'idn':'dec_z80_chan_d%d' % i
} for i in range(8)
) + (
{'id': 'm1', 'name': '/M1', 'desc': 'Machine cycle 1', 'idn':'dec_z80_chan_m1'},
@ -89,8 +90,8 @@ class Decoder(srd.Decoder):
) + tuple({
'id': 'a%d' % i,
'name': 'A%d' % i,
'desc': 'Address bus line %d' % i,
'idn':'dec_z80_opt_chan_a%d' % i
'desc': 'Address bus line %d' % i
#, 'idn':'dec_z80_opt_chan_a%d' % i
} for i in range(16)
)
annotations = (