Damien George
38ae014e42
stmhal: Update ADC, DAC and I2C objects to use new buffer protocol.
...
Main reason for expanding buffer protocol API was to support writes to a
buffer in ADC module (see read_timed). With this change you can now
create an array of arbitrary type and ADC.read_timed will store into
that array in the correct format (byte, int, float). I wonder though if
all these changes were really worth it to support just this function.
Hopefully this enhanced buffer protocol API (with typecode specified)
will be used elsewhere.
2014-04-18 23:28:56 +01:00
..
2014-04-18 22:38:09 +01:00
2014-04-18 16:17:40 +01:00
2014-04-12 00:51:57 +01:00
2014-04-16 23:17:29 +01:00
2014-04-18 23:28:56 +01:00
2014-04-18 22:38:09 +01:00
2014-04-05 17:16:00 +01:00
2014-04-18 23:28:56 +01:00
2014-04-12 00:51:57 +01:00
2014-04-18 22:38:09 +01:00
2014-04-18 22:38:09 +01:00
2014-04-08 04:08:16 +03:00
2014-04-16 23:08:36 +01:00
2014-04-16 23:08:36 +01:00
2014-04-12 18:50:20 +01:00
2014-04-18 22:48:59 +01:00
2014-04-18 23:28:56 +01:00
2014-04-05 18:32:08 +01:00
2014-04-17 18:03:27 +01:00
2014-04-18 22:38:09 +01:00
2014-04-18 22:38:09 +01:00
2014-04-18 23:28:56 +01:00
2014-04-17 00:13:13 +01:00
2014-04-05 21:53:54 +01:00
2014-04-18 22:48:59 +01:00
2014-04-18 22:38:09 +01:00
2014-04-10 22:46:40 +01:00
2014-04-05 21:53:54 +01:00
2014-04-17 23:24:13 +01:00
2014-04-18 22:38:09 +01:00
2014-04-18 22:48:59 +01:00
2014-04-18 22:38:09 +01:00
2014-04-17 18:58:09 +01:00
2014-04-16 02:41:26 +01:00
2014-04-16 23:08:36 +01:00
2014-04-17 18:03:27 +01:00
2014-04-18 22:48:59 +01:00
2014-04-05 11:45:59 +01:00
2014-04-17 18:03:27 +01:00
2014-04-09 00:45:45 +01:00
2014-04-17 17:04:15 +01:00
2014-04-18 22:38:09 +01:00
2014-04-16 23:08:36 +01:00
2014-04-16 23:08:36 +01:00
2014-04-16 23:08:36 +01:00
2014-04-15 19:52:56 +01:00
2014-04-18 22:38:09 +01:00
2014-04-14 01:45:58 +01:00
2014-04-12 18:50:20 +01:00
2014-04-17 00:12:07 +01:00
2014-04-17 01:09:32 +01:00
2014-04-12 18:50:20 +01:00
2014-04-17 00:23:43 +01:00
2014-04-18 22:48:59 +01:00