summaryrefslogtreecommitdiff
path: root/decoders
diff options
context:
space:
mode:
Diffstat (limited to 'decoders')
-rw-r--r--decoders/enc28j60/pd.py14
1 files changed, 2 insertions, 12 deletions
diff --git a/decoders/enc28j60/pd.py b/decoders/enc28j60/pd.py
index a33f5b0..f2b8db7 100644
--- a/decoders/enc28j60/pd.py
+++ b/decoders/enc28j60/pd.py
@@ -36,18 +36,8 @@ OPCODE_HANDLERS = {
0b11100000: '_process_src',
}
-ANN_RCR = 0
-ANN_RBM = 1
-ANN_WCR = 2
-ANN_WBM = 3
-ANN_BFS = 4
-ANN_BFC = 5
-ANN_SRC = 6
-
-ANN_DATA = 7
-ANN_REG_ADDR = 8
-
-ANN_WARNING = 9
+(ANN_RCR, ANN_RBM, ANN_WCR, ANN_WBM, ANN_BFS, ANN_BFC, ANN_SRC, ANN_DATA,
+ANN_REG_ADDR, ANN_WARNING) = range(10)
REG_ADDR_ECON1 = 0x1F
BIT_ECON1_BSEL0 = 0b00000001