api_version = 1
id = 'can'
name = 'CAN'
- longname = 'Controller area network'
+ longname = 'Controller Area Network'
desc = 'Field bus protocol for distributed realtime control.'
license = 'gplv2+'
inputs = ['logic']
if can_rx == 0:
self.put(0, 0, self.out_ann, [0, ['Start of frame', 'SOF']])
else:
- self.put(self.ss, self.es, self.out_ann,
+ self.put(0, 0, self.out_ann,
[1, ['Start of frame (SOF) must be a dominant bit']])
# Bits 1-11: Identifier (ID[10..0])