Damien George
5bb28c7f10
extmod/machine_spi: Simplify SPI xfer function to only take one buf len.
...
There is no need to take src_len and dest_len arguments. The case of
reading-only with a single output byte (originally src_len=1, dest_len>1)
is now handled by using the output buffer as the input buffer, and using
memset to fill the output byte into this buffer. This simplifies the
implementations of the spi_transfer protocol function.
2016-10-03 12:39:31 +11:00
..
2015-12-20 23:14:47 +02:00
2015-11-04 23:24:04 +03:00
2015-11-01 02:39:01 +03:00
2016-09-24 16:07:18 +03:00
2016-08-26 12:45:21 +10:00
2016-08-26 12:45:21 +10:00
2016-09-28 14:45:29 +10:00
2016-04-12 14:06:54 +01:00
2016-02-10 17:05:03 +00:00
2015-12-18 22:01:03 +02:00
2016-06-19 00:26:57 +03:00
2016-06-18 23:40:28 +03:00
2016-05-31 14:25:19 +01:00
2016-05-31 13:58:48 +01:00
2016-10-03 12:39:31 +11:00
2016-10-03 12:39:31 +11:00
2016-05-20 22:20:37 +03:00
2016-09-22 00:23:16 +10:00
2016-09-22 00:23:16 +10:00
2016-09-22 00:23:16 +10:00
2016-09-21 21:40:18 +03:00
2016-08-24 10:42:46 +02:00
2016-09-21 21:37:08 +03:00
2016-09-22 00:23:16 +10:00
2016-09-22 00:23:16 +10:00
2016-09-22 00:23:16 +10:00
2016-07-07 02:16:24 +03:00
2016-09-22 00:23:16 +10:00
2016-09-22 00:23:16 +10:00
2016-09-22 00:23:16 +10:00
2016-09-23 01:44:23 +03:00
2016-09-24 15:30:11 +03:00
2016-09-22 00:23:16 +10:00
2016-09-22 00:23:16 +10:00
2016-04-10 13:42:51 +03:00
2016-03-27 14:21:06 +03:00
2016-02-15 00:19:27 +02:00
2016-06-18 18:44:57 +03:00
2016-02-28 17:17:24 +02:00
2016-03-03 14:53:36 +02:00
2016-05-27 23:57:01 +03:00
2016-09-27 13:48:45 +10:00
2016-06-18 18:44:57 +03:00
2016-05-27 01:08:43 +03:00