+ {'id': 'cs', 'name': 'CS#', 'desc': 'SPI CS (chip select) line'},
+ ]
+ options = {
+ 'cs_active_low': ['CS# active low', ACTIVE_LOW],
+ 'clock_polarity': ['Clock polarity', CPOL_0],
+ 'clock_phase': ['Clock phase', CPHA_0],
+ 'bit_order': ['Bit order within the SPI data', MSB_FIRST],
+ 'word_size': ['Word size of SPI data', 8], # 1-64?
+ }
+ annotations = [
+ ['Hex', 'SPI data bytes in hex format'],