dongjiuzhu 148afd9548 driver/sensors: support custom type of sensor.
For examples, the custom sensor could define:
struct custem_event_s
{
  uint64_t timestamp;
  int16_t adc[8];
};
struct sensor_lowerhalf_s g_lower =
{
 .buffer_size = 1024,
};
sensor_custom_register(lower, "/dev/sensor/custom0", sizeof(struct custem_event_s));

Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-11-24 13:23:15 -03:00
..
2020-04-11 21:19:47 +01:00
2020-06-15 08:07:19 -06:00
2020-02-28 18:18:50 -06:00
2020-04-30 08:46:21 -06:00
2020-04-30 08:46:21 -06:00
2020-08-11 16:44:42 +09:00
2020-11-21 07:01:08 -06:00
2020-08-24 03:36:44 -07:00
2020-10-20 01:45:06 -07:00
2020-05-27 05:40:37 -06:00
2020-11-19 18:03:04 -08:00
2020-08-14 03:44:26 -07:00
2020-05-11 11:32:55 -04:00
2020-11-21 07:01:08 -06:00
2020-07-21 21:48:18 -07:00