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-03-13 16:17:01 -07:00
2014-04-16 23:17:29 +01:00
2014-03-11 23:55:41 -07:00
2014-03-31 16:28:13 +01:00
2014-03-25 23:33:47 +00: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-03-24 15:15:33 +00:00
2014-04-12 00:51:57 +01:00
2014-03-17 14:04:19 +00:00
2014-04-18 22:38:09 +01:00
2014-04-18 22:38:09 +01:00
2014-03-17 14:04:19 +00:00
2014-04-08 04:08:16 +03:00
2014-03-17 14:04:19 +00:00
2014-04-16 23:08:36 +01:00
2014-04-16 23:08:36 +01:00
2014-03-19 13:11:59 +00:00
2014-04-12 18:50:20 +01:00
2014-03-12 18:15:55 -07:00
2014-03-12 18:15:55 -07:00
2014-04-18 22:48:59 +01:00
2014-04-18 23:28:56 +01:00
2014-03-25 23:26:14 +00:00
2014-03-20 23:33:30 +00:00
2014-04-05 18:32:08 +01:00
2014-03-30 13:35:08 +01:00
2014-03-19 13:11:59 +00:00
2014-04-17 18:03:27 +01:00
2014-03-24 11:48:39 +00:00
2014-03-17 14:04:19 +00:00
2014-03-12 18:15:55 -07: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-03-25 14:18:18 +00:00
2014-04-18 22:48:59 +01:00
2014-03-25 14:18:18 +00: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-03-25 14:18:18 +00:00
2014-04-17 23:24:13 +01:00
2014-03-14 00:30:37 +00:00
2014-03-14 00:30:37 +00: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-03-29 14:20:05 +00:00
2014-04-17 18:03:27 +01:00
2014-03-24 12:23:37 +00:00
2014-04-18 22:48:59 +01:00
2014-04-05 11:45:59 +01:00
2014-03-29 14:20:05 +00:00
2014-03-22 14:56:32 +00:00
2014-03-22 14:56:32 +00:00
2014-03-15 12:54:48 +00:00
2014-03-15 12:54:48 +00:00
2014-04-17 18:03:27 +01:00
2014-03-17 14:04:19 +00:00
2014-04-09 00:45:45 +01:00
2014-04-02 15:09:36 +01:00
2014-03-11 23:55:41 -07:00
2014-04-17 17:04:15 +01:00
2014-04-02 15:09:36 +01:00
2014-04-18 22:38:09 +01:00
2014-03-14 00:30:37 +00:00
2014-03-11 23:55:41 -07:00
2014-04-16 23:08:36 +01:00
2014-04-16 23:08:36 +01:00
2014-03-12 18:15:55 -07:00
2014-03-15 14:45:51 +00:00
2014-03-13 16:17:01 -07:00
2014-03-13 16:17:01 -07: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-03 23:30:24 +01:00
2014-04-17 00:12:07 +01:00
2014-04-02 15:09:36 +01:00
2014-03-22 12:32:54 +00:00
2014-03-22 12:46:23 +00: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-03-21 23:32:01 +00:00
2014-04-18 22:48:59 +01:00
2014-03-30 00:00:15 +00:00