Make the list of metadata info match the spec in the wiki more closely.
return {
'id': 'i2c',
'name': 'I2C',
- 'desc': 'Inter-Integrated Circuit (I2C) bus',
- 'inputformats': ['raw'],
- 'signalnames': {
- 'SCL': 'Serial clock line',
- 'SDA': 'Serial data line',
- },
- 'outputformats': ['i2c'],
+ 'longname': 'Inter-Integrated Circuit (I2C) bus',
+ 'desc': 'I2C is a two-wire, multi-master, serial bus.',
+ 'longdesc': '...',
+ 'author': 'Uwe Hermann',
+ 'email': 'uwe@hermann-uwe.de',
+ 'license': 'gplv2+',
+ 'in': ['logic'],
+ 'out': ['i2c'],
+ 'probes': [
+ ['scl', 'Serial clock line'],
+ ['sda', 'Serial data line'],
+ ],
+ 'options': {
+ 'address-space': ['Address space (in bits)', 7],
+ },
+ # 'start': start,
+ # 'report': report,
}
# Use psyco (if available) as it results in huge performance improvements.
return {
'id': 'nunchuk',
'name': 'Nunchuk',
- 'desc': 'Nintendo Wii Nunchuk decoder',
- 'inputformats': ['i2c'],
- 'ouputformats': ['nunchuk'],
+ 'longname': 'Nintendo Wii Nunchuk decoder',
+ 'desc': 'Decodes the Nintendo Wii Nunchuk I2C-based protocol.',
+ 'longdesc': '...',
+ 'author': 'Uwe Hermann',
+ 'email': 'uwe@hermann-uwe.de',
+ 'license': 'gplv2+',
+ 'in': ['i2c'],
+ 'out': ['nunchuck'],
+ 'probes': [
+ # TODO
+ ],
+ 'options': {
+ # TODO
+ },
+ # 'start': start,
+ # 'report': report,
}
# Use psyco (if available) as it results in huge performance improvements.
return {
'id': 'transitioncounter',
'name': 'Transition counter',
- 'desc': 'Count rising/falling edges',
- 'inputformats': ['raw'],
- 'signalnames': {}, # FIXME
- 'outputformats': ['transitioncounts'],
+ 'longname': '...',
+ 'desc': 'Counts rising/falling edges in the signal.',
+ 'longdesc': '...',
+ 'author': 'Uwe Hermann',
+ 'email': 'uwe@hermann-uwe.de',
+ 'license': 'gplv2+',
+ 'in': ['logic'],
+ 'out': ['transitioncounts'],
+ 'probes': [
+ # All probes.
+ ],
+ 'options': {
+ # No options so far.
+ },
+ # 'start': start,
+ # 'report': report,
}
# Use psyco (if available) as it results in huge performance improvements.