Conduct a SPI transaction Keyword arguments: data_out -- a list of bytes to send. The length of the list will determine how many bytes are transferred. Returns a list of the bytes read.
(self, data_out)
| 232 | % (FIRMWARE_VERSION_REQUIRED, vfw)) |
| 233 | |
| 234 | def spi_transfer_array(self, data_out): |
| 235 | """ |
| 236 | Conduct a SPI transaction |
| 237 | |
| 238 | Keyword arguments: |
| 239 | data_out -- a list of bytes to send. The length of the list will determine how many bytes are transferred. |
| 240 | |
| 241 | Returns a list of the bytes read. |
| 242 | """ |
| 243 | result = GPG_SPI.xfer2(data_out) |
| 244 | return result |
| 245 | |
| 246 | def spi_read_8(self, MessageType): |
| 247 | """ |
no outgoing calls
no test coverage detected