Searched refs:decoder (Results 1 – 13 of 13) sorted by relevance
| /samples/sensor/bme280/src/ |
| A D | main.c | 66 const struct sensor_decoder_api *decoder; in main() local 68 rc = sensor_get_decoder(dev, &decoder); in main() 78 decoder->decode(buf, in main() 85 decoder->decode(buf, in main() 92 decoder->decode(buf, in main()
|
| /samples/sensor/stream_fifo/src/ |
| A D | main.c | 61 const struct sensor_decoder_api *decoder; in print_stream() local 103 rc = sensor_get_decoder(sensor, &decoder); in print_stream() 119 rc = decoder->get_frame_count(buf, accel_chan, &xl_count); in print_stream() 120 rc += decoder->get_frame_count(buf, gyro_chan, &gy_count); in print_stream() 121 rc += decoder->get_frame_count(buf, temp_chan, &tp_count); in print_stream() 123 rc += decoder->get_frame_count(buf, gravity_chan, &gravity_count); in print_stream() 124 rc += decoder->get_frame_count(buf, gbias_chan, &gbias_count); in print_stream() 135 if (decoder->has_trigger(buf, SENSOR_TRIG_TAP)) { in print_stream() 148 c = decoder->decode(buf, accel_chan, &accel_fit, 8, accel_data); in print_stream() 158 c = decoder->decode(buf, gyro_chan, &gyro_fit, 8, gyro_data); in print_stream() [all …]
|
| /samples/sensor/qdec/ |
| A D | sample.yaml | 2 description: Usage quadrature decoder sensor 16 - "Quadrature decoder sensor test" 27 - "Quadrature decoder sensor test" 50 - "Quadrature decoder sensor test"
|
| A D | README.rst | 5 Get rotation data from a quadrature decoder sensor. 11 quadrature decoder mode. 23 * enable the quadrature decoder device in your board's DT file or board overlay 24 * add a new alias property named ``qdec0`` and make it point to the decoder 28 using decoder from TIM3 through pins PA6 and PA7: 59 Quadrature decoder sensor test
|
| /samples/sensor/dht_polling/src/ |
| A D | main.c | 64 const struct sensor_decoder_api *decoder; in main() local 66 rc = sensor_get_decoder(dev, &decoder); in main() 76 decoder->decode(buf, in main() 83 decoder->decode(buf, in main()
|
| /samples/sensor/stream_drdy/src/ |
| A D | main.c | 51 const struct sensor_decoder_api *decoder; in print_accels_stream() local 83 rc = sensor_get_decoder(sensor, &decoder); in print_accels_stream() 96 rc = decoder->get_frame_count(buf, accel_chan, &xl_count); in print_accels_stream() 106 if (decoder->has_trigger(buf, SENSOR_TRIG_TAP)) { in print_accels_stream() 114 c = decoder->decode(buf, accel_chan, &accel_fit, 1, accel_data); in print_accels_stream()
|
| /samples/sensor/accel_polling/src/ |
| A D | main.c | 50 const struct sensor_decoder_api *decoder; in print_accels_stream() local 81 rc = sensor_get_decoder(sensor, &decoder); in print_accels_stream() 94 rc = decoder->get_frame_count(buf, in print_accels_stream() 103 if (decoder->has_trigger(buf, SENSOR_TRIG_TAP)) { in print_accels_stream() 109 decoder->decode(buf, (struct sensor_chan_spec) {SENSOR_CHAN_ACCEL_XYZ, 0}, in print_accels_stream()
|
| /samples/sensor/qdec/boards/ |
| A D | nucleo_f207zg.overlay | 6 * Application overlay for creating quadrature decoder device instance
|
| A D | nucleo_f401re.overlay | 6 * Application overlay for creating quadrature decoder device instance
|
| A D | mimxrt1050_evk_mimxrt1052_hyperflash.overlay | 6 * Application overlay for creating quadrature decoder device instance
|
| /samples/subsys/zbus/remote_mock/src/ |
| A D | mock_proxy.c | 51 static const struct zbus_channel *decoder(uint8_t chan_idx) in decoder() function 105 const struct zbus_channel *chan = decoder(net_buf_simple_pull_u8(rx_buf)); in decode_sentence()
|
| /samples/drivers/psi5/boards/ |
| A D | s32z2xxdc2_s32z270_rtu0.overlay | 34 decoder-start-offset-us = <0>;
|
| /samples/subsys/zbus/uart_bridge/ |
| A D | README.rst | 64 The :file:`decoder.py` script can be executed using the following command: 68 python3.8 samples/subsys/zbus/uart_bridge/decoder.py /dev/pts/2 77 From the serial decoder (Python script), you would see something like this: 104 Exit the decoder script by pressing :kbd:`CTRL+C`.
|
Completed in 27 milliseconds