desc = 'Wiegand interface for electronic entry systems.'
license = 'gplv2+'
inputs = ['logic']
- outputs = ['wiegand']
+ outputs = []
+ tags = ['Embedded/industrial', 'RFID']
channels = (
{'id': 'd0', 'name': 'D0', 'desc': 'Data 0 line'},
{'id': 'd1', 'name': 'D1', 'desc': 'Data 1 line'},
'default': 4, 'values': (1, 2, 4, 8, 16, 32)},
)
annotations = (
- ('bits', 'Bits'),
+ ('bit', 'Bit'),
('state', 'State'),
)
annotation_rows = (
- ('bits', 'Binary value', (0,)),
- ('state', 'Stream state', (1,)),
+ ('bits', 'Bits', (0,)),
+ ('states', 'Stream states', (1,)),
)
def __init__(self):