/Zephyr-latest/samples/sensor/mpr/ |
D | README.rst | 1 .. zephyr:code-sample:: mpr 10 This sample application periodically (1Hz) measures atmospheric pressure in 21 This sample uses an MPRLS0025PA00001A sensor controlled using the i2c 30 In the sample below the :zephyr:board:`arduino_due` board is used.
|
/Zephyr-latest/samples/drivers/stepper/generic/ |
D | README.rst | 1 .. zephyr:code-sample:: stepper 10 This sample demonstrates how to use the stepper driver API to control a stepper motor. The sample 15 :kconfig:option:`CONFIG_STEP_INTERVAL_NS`. The sample also demonstrates how to use the stepper call… 22 The sample also has a monitor thread that prints the actual position of the stepper motor every 41 [00:00:00.000,000] <inf> stepper: Starting generic stepper sample
|
/Zephyr-latest/samples/subsys/sensing/simple/src/ |
D | main.c | 19 struct sensing_sensor_value_3d_q31 *sample = (struct sensing_sensor_value_3d_q31 *)buf; in acc_data_event_callback() local 25 sample->readings[0].x, in acc_data_event_callback() 26 sample->readings[0].y, in acc_data_event_callback() 27 sample->readings[0].z); in acc_data_event_callback() 34 struct sensing_sensor_value_q31 *sample = (struct sensing_sensor_value_q31 *)buf; in hinge_angle_data_event_callback() local 38 LOG_INF("handle:%p, Sensor:%s data:(v:%d)", handle, info->name, sample->readings[0].v); in hinge_angle_data_event_callback()
|
/Zephyr-latest/samples/shields/x_nucleo_iks4a1/standard/ |
D | README.rst | 1 .. _x-nucleo-iks4a1-std-sample: 3 X-NUCLEO-IKS4A1 shield Standard (Mode 1) sample 8 This sample is provided as an example to test the X-NUCLEO-IKS4A1 shield 12 This sample enables the following four sensors of a X-NUCLEO-IKS4A1 shield, and then 24 This sample communicates over I2C with the X-NUCLEO-IKS4A1 shield 31 This sample runs with X-NUCLEO-IKS4A1 stacked on any board with a matching
|
/Zephyr-latest/samples/subsys/fs/fs_sample/ |
D | README.rst | 1 .. zephyr:code-sample:: fs 10 This sample app demonstrates use of the file system API and uses the FAT or Ext2 file 13 To access device the sample uses :ref:`disk_access_api`. 21 ``mimxrt1050_evk``, ``nrf52840_blip`` and ``olimexino_stm32``. The sample should be able 67 sample lists them out on the debug serial output. 76 Ext2 sample can be built for ``hifive_unmatched/fu740/s7`` or ``bl5340_dvk/nrf5340/cpuapp``. Because 77 FAT is default file system for this sample, additional flags must be passed to build 78 the sample. 87 A microSD card must be present in a microSD card slot of the board, for the sample to execute. 88 After starting the sample a contents of a root directory should be printed on the console.
|
/Zephyr-latest/samples/subsys/input/input_dump/ |
D | README.rst | 1 .. zephyr:code-sample:: input-dump 10 The Input Dump sample prints any input event using the :ref:`input` APIs. 28 After starting, the sample will print any input event in the console.
|
/Zephyr-latest/samples/bluetooth/central_multilink/ |
D | README.rst | 1 .. zephyr:code-sample:: ble_central_multilink 22 This sample can be found under :zephyr_file:`samples/bluetooth/central_multilink` 25 See :zephyr:code-sample-category:`bluetooth` samples for details.
|
/Zephyr-latest/samples/sensor/tmp112/ |
D | README.rst | 1 .. zephyr:code-sample:: tmp112 10 A sample showing how to use the :dtcompatible:`ti,tmp112` sensor. 21 To build and flash the sample for the :zephyr:board:`frdm_k64f`:
|
/Zephyr-latest/tests/drivers/dac/dac_loopback/boards/ |
D | twr_ke18f.overlay | 9 * Increase sample time to 5 microseconds since there is no 12 sample-time = <250>;
|
/Zephyr-latest/samples/subsys/usb/hid-mouse/ |
D | README.rst | 1 .. zephyr:code-sample:: usb-hid-mouse 10 This sample app demonstrates use of a USB Human Interface Device (HID) driver 17 This sample can be found under :zephyr_file:`samples/subsys/usb/hid-mouse` in the 28 The key mapping in the sample is as follows: 36 see this error if you try to build this sample for an unsupported board: 45 This sample can be built for multiple boards, in this example we will build it 54 After you have built and flashed the sample app image to your board, plug the 64 usb 2-2: Product: Zephyr HID mouse sample 67 …input: ZEPHYR Zephyr HID mouse sample as /devices/soc0/ahb/600000.ohci/usb2/2-2/2-2:1.0/0003:2FE3:… 68 …hid-generic 0003:2FE3:0100.0001: input: USB HID v1.10 Mouse [ZEPHYR Zephyr HID mouse sample] on us… [all …]
|
/Zephyr-latest/drivers/sensor/aosong/dht/ |
D | dht.c | 161 memcpy(drv_data->sample, buf, 4); in dht_sample_fetch() 193 raw_val = (drv_data->sample[0] << 8) in dht_channel_get() 194 + drv_data->sample[1]; in dht_channel_get() 198 raw_val = (drv_data->sample[2] << 8) in dht_channel_get() 199 + drv_data->sample[3]; in dht_channel_get() 218 val->val1 = drv_data->sample[0]; in dht_channel_get() 221 val->val1 = drv_data->sample[2]; in dht_channel_get()
|
/Zephyr-latest/samples/net/wpan_serial/ |
D | README.rst | 1 .. zephyr:code-sample:: wpan-serial 10 The wpan_serial sample shows how to use hardware with 802.15.4 radio and USB 16 The sample assumes that 802.15.4 radio and USB controller are supported on 24 #. Before building and running this sample, be sure your Linux system's 32 #. Build the sample Zephyr application to a board with a 802.15.4 radio 40 To build the wpan_serial sample: 49 Here's how to build and flash the sample for the Atmel SAM R21
|
/Zephyr-latest/samples/bluetooth/ccp_call_control_client/ |
D | README.rst | 1 .. zephyr:code-sample:: bluetooth_ccp_call_control_client 5 CCP Call Control Server sample that registers one or more TBS bearers and advertises the 14 The profile works for both GAP Central and GAP Peripheral devices, but this sample only assumes the 17 This sample can be found under :zephyr_file:`samples/bluetooth/ccp_call_control_client` 20 Check the :zephyr:code-sample-category:`bluetooth` samples for general information. 54 :zephyr:code-sample:`bluetooth_hci_ipc` sample
|
/Zephyr-latest/samples/bluetooth/ccp_call_control_server/ |
D | README.rst | 1 .. zephyr:code-sample:: bluetooth_ccp_call_control_server 5 CCP Call Control Server sample that registers one or more TBS bearers and advertises the 14 The profile works for both GAP Central and GAP Peripheral devices, but this sample only assumes the 17 This sample can be found under :zephyr_file:`samples/bluetooth/ccp_call_control_server` in the Zeph… 19 Check the :zephyr:code-sample-category:`bluetooth` samples for general information. 53 :zephyr:code-sample:`bluetooth_hci_ipc` sample
|
/Zephyr-latest/samples/drivers/ipm/ipm_mhu_dual_core/ |
D | README.rst | 1 .. zephyr:code-sample:: ipm-mhu-dual-core 10 the processor cores. This sample is a simple dual-core example for a 11 Musca A1 board that has two MHU units. This sample only test MHU0, the 25 This project outputs 'IPM MHU sample on musca_b1' to the console. 34 This project outputs 'IPM MHU sample on v2m_musca_b1_ns' to the console. 73 IPM MHU sample on musca_a 76 IPM MHU sample on musca_a_nonsecure
|
/Zephyr-latest/samples/sensor/accel_trig/ |
D | Kconfig | 7 mainmenu "Accelerometer trigger sample application" 10 bool "Set tap detection as trigger in the sample"
|
/Zephyr-latest/samples/net/vlan/ |
D | Kconfig | 1 # Private config options for VLAN sample app 6 mainmenu "Networking VLAN sample application" 29 Set VLAN (virtual LAN) tag (id) that is used in the sample 53 Set VLAN (virtual LAN) tag (id) that is used in the sample 62 that is used in the sample application.
|
/Zephyr-latest/samples/sensor/tmp116/ |
D | README.rst | 9 This sample application periodically takes temperature readings using the ti_tmp116 10 sensor driver. The result is written to the console. This sample also included the code 16 This sample needs a TI TMP116 or TI TMP117 sensor connected to the target board's I2C 23 This sample is tested with Nucleo STM32F401RE board. 37 In order to build the sample, connect the board to the computer with a USB cable and enter the
|
/Zephyr-latest/samples/userspace/prod_consumer/ |
D | README.rst | 1 .. zephyr:code-sample:: userspace_prod_consumer 9 Consider a "sample driver" which gets incoming data from some unknown source 72 I:writing processed data blob back to the sample device 76 I:writing processed data blob back to the sample device 80 I:writing processed data blob back to the sample device 84 I:writing processed data blob back to the sample device 88 I:writing processed data blob back to the sample device 92 I:writing processed data blob back to the sample device 94 I:writing processed data blob back to the sample device 96 I:writing processed data blob back to the sample device [all …]
|
/Zephyr-latest/samples/net/sockets/tcp/ |
D | README.rst | 1 .. zephyr:code-sample:: sockets-tcp-sample 2 :name: TCP sample for TTCN-3 based sanity check 24 Build the TCP sample app:
|
/Zephyr-latest/samples/sensor/ams_iAQcore/ |
D | README.rst | 1 .. zephyr:code-sample:: ams_iaqcore 10 This sample application demonstrates how to use the ams iAQcore sensor to 17 This sample application uses the sensor connected to the i2c stated in the 20 This sample can run on every board with i2c.
|
/Zephyr-latest/samples/drivers/peci/ |
D | README.rst | 1 .. zephyr:code-sample:: peci 10 This sample demonstrates how to use the :ref:`PECI API <peci_api>`. 17 The sample can be built and executed on boards supporting PECI.
|
/Zephyr-latest/samples/ |
D | index.rst | 1 .. zephyr:code-sample-category:: samples 11 the :ref:`definition_and_criteria` if you are interested in submitting your own sample. 13 .. zephyr:code-sample-listing::
|
/Zephyr-latest/samples/bluetooth/central/ |
D | README.rst | 1 .. zephyr:code-sample:: ble_central 22 This sample can be found under :zephyr_file:`samples/bluetooth/central` in the 25 See :zephyr:code-sample-category:`bluetooth` samples for details.
|
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/standard/ |
D | README.rst | 1 .. zephyr:code-sample:: x-nucleo-iks01a3-std 9 This sample is provided as an example to test the X-NUCLEO-IKS01A3 shield 13 This sample enables all sensors of a X-NUCLEO-IKS01A3 shield, and then 26 This sample communicates over I2C with the X-NUCLEO-IKS01A3 shield 35 Please note that this sample can't be used with boards already supporting 48 sensor on DIL24 socket. The sample is written in such a way that, if sensor is 51 List of sensors currently supported on DIL24 by this sample: 58 This sample runs with X-NUCLEO-IKS01A3 stacked on any board with a matching
|