Home
last modified time | relevance | path

Searched refs:sample (Results 176 – 200 of 1701) sorted by relevance

12345678910>>...69

/Zephyr-latest/drivers/sensor/adi/adxl345/
Dadxl345.c280 struct adxl345_sample *sample) in adxl345_read_sample() argument
303 sample->x = raw_x; in adxl345_read_sample()
304 sample->y = raw_y; in adxl345_read_sample()
305 sample->z = raw_z; in adxl345_read_sample()
307 sample->selected_range = data->selected_range; in adxl345_read_sample()
308 sample->is_full_res = data->is_full_res; in adxl345_read_sample()
313 void adxl345_accel_convert(struct sensor_value *val, int16_t sample) in adxl345_accel_convert() argument
315 if (sample & BIT(9)) { in adxl345_accel_convert()
316 sample |= ADXL345_COMPLEMENT; in adxl345_accel_convert()
319 val->val1 = ((sample * SENSOR_G) / 32) / 1000000; in adxl345_accel_convert()
[all …]
/Zephyr-latest/drivers/sensor/maxim/max31855/
Dmax31855.c33 uint32_t sample; member
45 .buf = &(data->sample), in max31855_sample_fetch()
46 .len = sizeof(data->sample), in max31855_sample_fetch()
63 uint32_t temp = sys_be32_to_cpu(data->sample); in max31855_channel_get()
/Zephyr-latest/samples/net/sockets/net_mgmt/
DREADME.rst1 .. zephyr:code-sample:: sockets-net-mgmt
10 The net-mgmt-socket sample application for Zephyr implements a listener
13 The source code for this sample application can be found at:
28 Build net-mgmt socket sample application like this:
/Zephyr-latest/samples/subsys/input/draw_touch_events/
DREADME.rst1 .. zephyr:code-sample:: draw_touch_events
9 This sample will draw a small plus in the last touched coordinates, that way you can check
14 While this is a generic sample and it should work with any boards with both display controllers
17 Below is an example on how to build the sample for :zephyr:board:`stm32f746g_disco`:
/Zephyr-latest/samples/bluetooth/direct_adv/
DREADME.rst1 .. zephyr:code-sample:: ble_direct_adv
12 boot direct advertising to the bonded central will be performed. Additionally this sample
30 This sample can be found under :zephyr_file:`samples/bluetooth/direct_adv` in the
33 See :zephyr:code-sample-category:`bluetooth` samples for details.
/Zephyr-latest/samples/subsys/console/echo/
DREADME.rst1 .. zephyr:code-sample:: console_echo
17 UART console is required to run this sample.
22 Build and flash the sample as follows, changing ``nucleo_f401re`` for your
24 :zephyr:code-sample:`console_getchar`.
/Zephyr-latest/samples/subsys/usb/console-next/
DREADME.rst1 .. zephyr:code-sample:: usbd-cdc-acm-console
21 This sample can be built for multiple boards, in this example we will build it
30 Plug the board into a host device, for sample, a PC running Linux OS.
32 from the sample, use a command similar to :command:`minicom -D /dev/ttyACM1`.
/Zephyr-latest/samples/sensor/max6675/
DREADME.rst1 .. zephyr:code-sample:: max6675
11 This is a sample application to read an external MAX6675
28 This sample can be built with any board that supports SPI. A sample overlay is
/Zephyr-latest/samples/bluetooth/hci_vs_scan_req/
DREADME.rst1 .. zephyr:code-sample:: bluetooth_hci_vs_scan_req
15 This sample implements only the broadcaster role; the peripheral role with
28 This sample can be found under :zephyr_file:`samples/bluetooth/hci_vs_scan_req`
31 See :zephyr:code-sample-category:`bluetooth` samples for details.
/Zephyr-latest/samples/bluetooth/
Dbluetooth.rst1 .. zephyr:code-sample-category:: bluetooth
19 If you want to run any bluetooth sample on the nRF5340 device (build using
22 and program the corresponding sample for the nRF5340 network core
23 :zephyr:code-sample:`bluetooth_hci_ipc` which implements the Bluetooth
32 .. zephyr:code-sample-listing::
/Zephyr-latest/samples/subsys/lorawan/fuota/
DREADME.rst1 .. zephyr:code-sample:: lorawan-fuota
22 A LoRaWAN Application Server implementing the relevant services is required for this sample to work.
31 This sample can be found under :zephyr_file:`samples/subsys/lorawan/fuota` in the Zephyr tree.
33 Before building the sample, make sure to select the correct region in the ``prj.conf`` file.
35 The following commands build and flash the sample.
/Zephyr-latest/samples/shields/x_nucleo_iks01a1/
DREADME.rst1 .. zephyr:code-sample:: x-nucleo-iks01a1
9 This sample enables all sensors of a X-NUCLEO-IKS01A1 shield, and then
20 This sample communicates over I2C with the X-NUCLEO-IKS01A1 shield
24 Please note that this sample can't be used with boards already supporting
36 This sample runs with X-NUCLEO-IKS01A1 stacked on any board with a matching
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/src/
Daccelerometer_handler.cpp88 int sample = 0; in ReadAccelerometer() local
90 int ring_index = begin_index + sample - length / 3; in ReadAccelerometer()
97 sample++; in ReadAccelerometer()
/Zephyr-latest/samples/bluetooth/hci_usb/
DREADME.rst1 .. zephyr:code-sample:: bluetooth_hci_usb
21 This sample can be found under :zephyr_file:`samples/bluetooth/hci_usb` in the
24 See :zephyr:code-sample-category:`bluetooth` samples for details.
/Zephyr-latest/boards/silabs/radio_boards/xg29_rb4412a/doc/
Dindex.rst34 As an example, this section shows how to build and flash the :zephyr:code-sample:`hello_world`
37 To build and program the sample to the xG24-RB4412A, complete the following steps:
41 Next, build and flash the sample by running the following command:
75 Then build the Zephyr kernel and a Bluetooth sample with the following
76 command. The :zephyr:code-sample:`bluetooth_observer` sample application is used in
/Zephyr-latest/boards/others/serpente/doc/
Dindex.rst42 with a host PC. See the :zephyr:code-sample-category:`usb` sample applications for
43 more, such as the :zephyr:code-sample:`usb-cdc-acm` sample which prints "Hello World!"
55 #. Build the Zephyr kernel and the :zephyr:code-sample:`blinky` sample application:
/Zephyr-latest/samples/modules/cmsis_dsp/moving_average/
DREADME.rst1 .. zephyr:code-sample:: cmsis-dsp-moving-average
9 This sample demonstrates how to use the CMSIS-DSP library to calculate the moving average of a
19 The sample uses a very simple input signal of 32 samples, and computes the moving average using a
25 processors vs. other architectures, the sample outputs the time and number of cycles it took to
50 The sample will output the number of cycles it took to compute the moving averages, as well as the
51 computed average for each 10-sample long window of the input signal.
/Zephyr-latest/samples/net/sockets/coap_server/
DREADME.rst1 .. zephyr:code-sample:: coap-server
10 This sample shows how to register CoAP resources to a main CoAP service.
20 The sample will listen for requests in the CoAP UDP port (5683) in the
23 The sample exports the following resources:
47 This sample can be built and executed on QEMU or native_sim board as
67 The IPv4 Wi-Fi support can be enabled in the sample with
/Zephyr-latest/samples/subsys/modbus/rtu_client/
DREADME.rst1 .. zephyr:code-sample:: modbus-rtu-client
16 This sample has been tested with the nRF52840-DK and FRDM-K64F boards,
20 with another board running the :zephyr:code-sample:`modbus-rtu-server` sample.
37 This sample can be found under
40 The following commands build and flash RTU client sample.
/Zephyr-latest/samples/sensor/jc42/
DREADME.rst1 .. zephyr:code-sample:: jc42
11 This sample application periodically (0.5 Hz) measures the ambient
14 If triggered measurements are enabled the sample initializes and
22 The sample requires a JEDEC JC 42.4 compliant temperature sensor. The
23 sample is configured to use the MCP9808 sensor.
43 and alert GPIO, build this sample app using:
/Zephyr-latest/samples/shields/x_nucleo_iks01a2/sensorhub/
DREADME.rst1 .. zephyr:code-sample:: x-nucleo-iks01a2-shub
9 This sample is provided as an example to test the X-NUCLEO-IKS01A2 shield
13 This sample enables LSM6DSL sensors. Since all other shield
28 This sample communicates over I2C with the X-NUCLEO-IKS01A2 shield
32 Please note that this sample can't be used with boards already supporting
44 This sample runs with X-NUCLEO-IKS01A2 stacked on any board with a matching
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/standard/
DREADME.rst1 .. zephyr:code-sample:: x-nucleo-iks02a1-std
9 This sample is provided as an example to test the X-NUCLEO-IKS02A1 shield
13 This sample enables all sensors of a X-NUCLEO-IKS02A1 shield, and then
23 This sample communicates over I2C with the X-NUCLEO-IKS02A1 shield
32 Please note that this sample can't be used with boards already supporting
44 This sample runs with X-NUCLEO-IKS02A1 stacked on any board with a matching
/Zephyr-latest/samples/subsys/logging/logger/
DKconfig1 # Config options for logger sample app
6 mainmenu "Logger sample application"
/Zephyr-latest/subsys/bluetooth/audio/
DKconfig.csip26 Enable the use of the sample data defined by the CSIS spec SIRK.
27 This will use the sample SIRK, prand and LTK.
30 (if encrypted) using public sample data.
74 Enable the use of the sample data defined by the CSIS spec.
75 This will use the sample SIRK, prand and LTK.
77 WARNING: This option enables the client to use the sample data
79 with set members that are not using the sample data.
/Zephyr-latest/samples/subsys/llext/modules/
DREADME.rst1 .. zephyr:code-sample:: llext-modules
2 :name: Linkable loadable extensions "module" sample
11 This sample demonstrates the use of the :ref:`llext` subsystem in Zephyr. The
39 - By default, the sample will compile the function along with the rest of
48 - The following commands build and run the sample so that the extension code is
55 :west-args: -T sample.llext.modules.module_build
59 Take a look at :zephyr_file:`samples/subsys/llext/modules/sample.yaml` for

12345678910>>...69