Coverage for src / tracekit / analyzers / protocol / __init__.py: 0%
2 statements
« prev ^ index » next coverage.py v7.13.1, created at 2026-01-11 23:04 +0000
« prev ^ index » next coverage.py v7.13.1, created at 2026-01-11 23:04 +0000
1"""Protocol decoding module.
3This module re-exports protocol decoders from the protocols package
4for convenient access. Both import paths are equivalent:
6 from tracekit.analyzers.protocol import UARTDecoder # singular (this module)
7 from tracekit.analyzers.protocols import UARTDecoder # plural (recommended)
9The plural form (protocols) is recommended as the canonical import path.
10See IMPORT-PATHS.md in the repository root for detailed guidelines.
11"""
13from tracekit.analyzers.protocols import (
14 CAN_BITRATES,
15 CANFD_DLC_TO_LENGTH,
16 FAMILY_CODES,
17 JTAG_INSTRUCTIONS,
18 PID_NAMES,
19 ROM_COMMAND_NAMES,
20 USBPID,
21 Annotation,
22 AnnotationLevel,
23 AsyncDecoder,
24 CANDecoder,
25 CANFDDecoder,
26 CANFDFrame,
27 CANFDFrameType,
28 CANFrame,
29 CANFrameType,
30 ChannelDef,
31 DecoderState,
32 FlexRayDecoder,
33 FlexRayFrame,
34 FlexRaySegment,
35 HDLCDecoder,
36 I2CDecoder,
37 I2SDecoder,
38 I2SMode,
39 JTAGDecoder,
40 LINDecoder,
41 LINVersion,
42 ManchesterDecoder,
43 ManchesterMode,
44 OneWireDecoder,
45 OneWireMode,
46 OneWireROMCommand,
47 OneWireROMID,
48 OneWireTimings,
49 OptionDef,
50 ProtocolDecoder,
51 SPIDecoder,
52 SWDDecoder,
53 SWDResponse,
54 SyncDecoder,
55 TAPState,
56 UARTDecoder,
57 USBDecoder,
58 USBSpeed,
59 decode_can,
60 decode_can_fd,
61 decode_flexray,
62 decode_hdlc,
63 decode_i2c,
64 decode_i2s,
65 decode_jtag,
66 decode_lin,
67 decode_manchester,
68 decode_onewire,
69 decode_spi,
70 decode_swd,
71 decode_uart,
72 decode_usb,
73)
75__all__ = [
76 "CANFD_DLC_TO_LENGTH",
77 "CAN_BITRATES",
78 "FAMILY_CODES",
79 "JTAG_INSTRUCTIONS",
80 "PID_NAMES",
81 "ROM_COMMAND_NAMES",
82 "USBPID",
83 "Annotation",
84 "AnnotationLevel",
85 "AsyncDecoder",
86 # CAN (PRO-005)
87 "CANDecoder",
88 # CAN-FD (PRO-015)
89 "CANFDDecoder",
90 "CANFDFrame",
91 "CANFDFrameType",
92 "CANFrame",
93 "CANFrameType",
94 "ChannelDef",
95 "DecoderState",
96 # FlexRay (PRO-016)
97 "FlexRayDecoder",
98 "FlexRayFrame",
99 "FlexRaySegment",
100 # HDLC (PRO-013)
101 "HDLCDecoder",
102 # I2C (PRO-004)
103 "I2CDecoder",
104 # I2S (PRO-011)
105 "I2SDecoder",
106 "I2SMode",
107 # JTAG (PRO-009)
108 "JTAGDecoder",
109 # LIN (PRO-008)
110 "LINDecoder",
111 "LINVersion",
112 # Manchester (PRO-014)
113 "ManchesterDecoder",
114 "ManchesterMode",
115 # 1-Wire (PRO-007)
116 "OneWireDecoder",
117 "OneWireMode",
118 "OneWireROMCommand",
119 "OneWireROMID",
120 "OneWireTimings",
121 "OptionDef",
122 # Base
123 "ProtocolDecoder",
124 # SPI (PRO-003)
125 "SPIDecoder",
126 # SWD (PRO-010)
127 "SWDDecoder",
128 "SWDResponse",
129 "SyncDecoder",
130 "TAPState",
131 # UART (PRO-002)
132 "UARTDecoder",
133 # USB (PRO-012)
134 "USBDecoder",
135 "USBSpeed",
136 "decode_can",
137 "decode_can_fd",
138 "decode_flexray",
139 "decode_hdlc",
140 "decode_i2c",
141 "decode_i2s",
142 "decode_jtag",
143 "decode_lin",
144 "decode_manchester",
145 "decode_onewire",
146 "decode_spi",
147 "decode_swd",
148 "decode_uart",
149 "decode_usb",
150]