Home
last modified time | relevance | path

Searched refs:accel_ctx (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/doc/hardware/peripherals/sensor/
Daccel_stream.c28 RTIO_DEFINE_WITH_MEMPOOL(accel_ctx, NUM_SENSORS, NUM_SENSORS, NUM_SENSORS, 16, sizeof(void *));
43 sensor_stream(iodevs[i], &accel_ctx, NULL, &handles[i]); in main()
47 cqe = rtio_cqe_consume_block(&accel_ctx); in main()
54 rc = rtio_cqe_get_mempool_buffer(&accel_ctx, cqe, &buf, &buf_len); in main()
64 rtio_cqe_release(&accel_ctx, cqe); in main()
100 rtio_release_buffer(&accel_ctx, buf, buf_len); in main()
/Zephyr-latest/samples/sensor/accel_polling/src/
Dmain.c44 RTIO_DEFINE_WITH_MEMPOOL(accel_ctx, NUM_SENSORS, NUM_SENSORS, NUM_SENSORS*20, 256, sizeof(void *));
59 sensor_stream(iodevs[i], &accel_ctx, NULL, &handles[i]); in print_accels_stream()
63 cqe = rtio_cqe_consume_block(&accel_ctx); in print_accels_stream()
70 rc = rtio_cqe_get_mempool_buffer(&accel_ctx, cqe, &buf, &buf_len); in print_accels_stream()
79 rtio_cqe_release(&accel_ctx, cqe); in print_accels_stream()
121 rtio_release_buffer(&accel_ctx, buf, buf_len); in print_accels_stream()