Home
last modified time | relevance | path

Searched refs:sample (Results 26 – 50 of 1701) sorted by relevance

12345678910>>...69

/Zephyr-latest/samples/subsys/usb/audio/headphones_microphone/
DREADME.rst1 .. zephyr:code-sample:: usb-audio-headphones-microphone
10 This sample app demonstrates use of a USB Audio driver by the Zephyr
11 project. This very simple sample that performs loopback over IN/OUT
18 In order to build the sample an overlay file with required options
23 After you have built and flashed the sample app image to your board, plug the
29 Steps to test the sample:
31 - Build and flash the sample as described above.
38 This sample can be found under
/Zephyr-latest/samples/subsys/usb/audio/headset/
DREADME.rst1 .. zephyr:code-sample:: usb-audio-headset
10 This sample app demonstrates use of a USB Audio driver by the Zephyr
11 project. This very simple sample that performs loopback over IN/OUT
17 In order to build the sample an overlay file with required options
22 After you have built and flashed the sample app image to your board, plug the
28 Steps to test the sample:
30 - Build and flash the sample as described above.
37 This sample can be found under
/Zephyr-latest/samples/bluetooth/periodic_sync_rsp/
DREADME.rst1 .. zephyr:code-sample:: ble_periodic_adv_sync_rsp
13 This sample will echo the data received in subevent indications back to the
17 application specific. In this sample it is decided by the PAwR advertiser.
21 Flash this sample to multiple devices and they will be given different
34 This sample can be found under :zephyr_file:`samples/bluetooth/periodic_sync_rsp` in
37 Use the sample found under :zephyr_file:`samples/bluetooth/periodic_adv_rsp` on
39 sample and transfer the synchronization info.
41 See :zephyr:code-sample-category:`bluetooth` samples for details.
/Zephyr-latest/samples/bluetooth/central_gatt_write/
DREADME.rst1 .. zephyr:code-sample:: ble_central_gatt_write
10 Similar to the :zephyr:code-sample:`ble_central` sample, except that this
22 This sample can be found under :zephyr_file:`samples/bluetooth/central_gatt_write`
25 See :zephyr:code-sample-category:`bluetooth` samples for details.
/Zephyr-latest/samples/bluetooth/periodic_adv/
DREADME.rst1 .. zephyr:code-sample:: ble_periodic_adv
20 This sample can be found under :zephyr_file:`samples/bluetooth/periodic_adv` in
23 Use the sample found under :zephyr_file:`samples/bluetooth/periodic_sync` in the
25 to this sample.
27 See :zephyr:code-sample-category:`bluetooth` samples for details.
/Zephyr-latest/samples/bluetooth/peripheral_csc/
DREADME.rst1 .. zephyr:code-sample:: ble_peripheral_csc
10 Similar to the :zephyr:code-sample:`ble_peripheral` sample, except that this
24 This sample can be found under :zephyr_file:`samples/bluetooth/peripheral_csc` in the
27 See :zephyr:code-sample-category:`bluetooth` samples for details.
/Zephyr-latest/samples/bluetooth/central_past/
DREADME.rst1 .. zephyr:code-sample:: ble_central_past
21 This sample can be found under :zephyr_file:`samples/bluetooth/central_past` in
24 Use the sample found under :zephyr_file:`samples/bluetooth/periodic_adv` on
25 another board that will start periodic advertising, to which this sample will
28 Use the sample found under :zephyr_file:`samples/bluetooth/peripheral_past` in
32 See :zephyr:code-sample-category:`bluetooth` samples for details.
/Zephyr-latest/samples/bluetooth/central_hr/
DREADME.rst1 .. zephyr:code-sample:: ble_central_hr
10 Similar to the :zephyr:code-sample:`ble_central` sample, except that this
23 This sample can be found under :zephyr_file:`samples/bluetooth/central_hr` in the
26 See :zephyr:code-sample-category:`bluetooth` samples for details.
/Zephyr-latest/samples/bluetooth/central_ht/
DREADME.rst1 .. zephyr:code-sample:: ble_central_ht
10 Similar to the :zephyr:code-sample:`ble_central` sample, except that this
23 This sample can be found under :zephyr_file:`samples/bluetooth/central_ht` in the
26 See :zephyr:code-sample-category:`bluetooth` samples for details.
/Zephyr-latest/samples/bluetooth/periodic_sync/
DREADME.rst1 .. zephyr:code-sample:: ble_periodic_adv_sync
21 This sample can be found under :zephyr_file:`samples/bluetooth/periodic_sync` in
24 Use the sample found under :zephyr_file:`samples/bluetooth/periodic_adv` on
25 another board that will start periodic advertising, to which this sample will
28 See :zephyr:code-sample-category:`bluetooth` samples for details.
/Zephyr-latest/samples/bluetooth/peripheral_sc_only/
DREADME.rst1 .. zephyr:code-sample:: ble_peripheral_sc_only
10 Similar to the :zephyr:code-sample:`ble_peripheral` sample, except that this
24 This sample can be found under :zephyr_file:`samples/bluetooth/peripheral_sc_only`
27 See :zephyr:code-sample-category:`bluetooth` samples for details.
/Zephyr-latest/drivers/input/
Dinput_pinnacle.c209 union pinnacle_sample sample; member
564 union pinnacle_sample *sample) in pinnacle_decode_sample() argument
570 sample->btn_primary = (rx[0] & BIT(0)) == BIT(0); in pinnacle_decode_sample()
572 sample->rel_x = ((rx[0] & BIT(4)) == BIT(4)) ? -(256 - rx[1]) : rx[1]; in pinnacle_decode_sample()
573 sample->rel_y = ((rx[0] & BIT(5)) == BIT(5)) ? -(256 - rx[2]) : rx[2]; in pinnacle_decode_sample()
575 sample->abs_x = ((rx[2] & 0x0F) << 8) | rx[0]; in pinnacle_decode_sample()
576 sample->abs_y = ((rx[2] & 0xF0) << 4) | rx[1]; in pinnacle_decode_sample()
577 sample->abs_z = rx[3] & 0x3F; in pinnacle_decode_sample()
581 static bool pinnacle_is_idle_sample(const union pinnacle_sample *sample) in pinnacle_is_idle_sample() argument
583 return (sample->abs_x == 0 && sample->abs_y == 0 && sample->abs_z == 0); in pinnacle_is_idle_sample()
[all …]
/Zephyr-latest/samples/subsys/fs/fatfs_fstab/
DREADME.rst1 .. zephyr:code-sample:: fatfs-fstab
10 This sample shows how to define a fatfs fstab entry in the devicetree.
11 This scenario uses a fatfs on a RAM disk. The sample is run on the
17 To run this sample, build it for the ``native_sim`` board
20 The RAM disk sample for the ``native_sim`` board can be built as follows:
33 When the sample runs successfully you should see following message on the screen:
/Zephyr-latest/samples/subsys/fs/format/
DREADME.rst1 .. zephyr:code-sample:: fs-format
10 This sample shows how to format different storage
12 sample:
20 To run this sample, build it for the desired board and scenario and flash it.
24 To build the RAM disk sample, the configuration :file:`prj_ram.conf` needs to be used by setting
27 The Flash sample for the nrf 52DK board can be built as follow:
35 The RAM disk sample for the MIMXRT1064-EVK board can be built as follow:
47 When the sample runs successfully you should see following message on the screen:
/Zephyr-latest/samples/bluetooth/broadcaster_multiple/
DREADME.rst1 .. zephyr:code-sample:: bluetooth_broadcaster_multiple
13 This sample advertises two non-connectable non-scannable advertising sets with
17 When building this sample combined with a Bluetooth LE Controller, the
30 This sample can be found under
33 To test this sample use the Observer sample with Extended Scanning enabled,
37 See :zephyr:code-sample-category:`Bluetooth samples section <bluetooth>` for details.
/Zephyr-latest/samples/drivers/charger/
DREADME.rst1 .. zephyr:code-sample:: charger
10 This sample demonstrates how to use the :ref:`charger_api` API.
12 The sample application performs a simple charging task loop.
15 - If power is provided to the charger, then the sample application will attempt to enable the charge
17 - After the charge cycle is initiated, the sample application will check the status property of the
21 Note that this sample terminates once the charge cycle completes and does not attempt to "top-off"
22 the battery pack. Additionally, the sample intentionally does not respond to the reported charger
/Zephyr-latest/samples/net/mqtt_publisher/
DKconfig1 # Config options for mqtt_publisher sample application
6 mainmenu "Networking mqtt_publisher sample application"
9 int "Number of times to Publish sample MQTT messages"
12 Send sample MQTT messages this many times in a MQTT connection
21 send NET_SAMPLE_APP_MAX_ITERATIONS amount of MQTT sample messages.
/Zephyr-latest/samples/bluetooth/peripheral_hr/
DREADME.rst1 .. zephyr:code-sample:: ble_peripheral_hr
10 Similar to the :zephyr:code-sample:`ble_peripheral` sample, except that this
24 This sample can be found under :zephyr_file:`samples/bluetooth/peripheral_hr` in the
27 See :zephyr:code-sample-category:`bluetooth` samples for details.
/Zephyr-latest/samples/bluetooth/periodic_sync_conn/
DREADME.rst1 .. zephyr:code-sample:: ble_periodic_adv_sync_conn
13 This sample will send its address in response to the advertiser when receiving
26 This sample can be found under :zephyr_file:`samples/bluetooth/periodic_sync_conn` in
29 Use the sample found under :zephyr_file:`samples/bluetooth/periodic_adv_conn` on
30 another board that will start periodic advertising and connect to this sample
33 See :zephyr:code-sample-category:`bluetooth` samples for details.
/Zephyr-latest/samples/psa/its/
DREADME.rst1 .. zephyr:code-sample:: psa_its
10 This sample demonstrates usage of the
18 An implementation of the PSA ITS API must be present for this sample to build.
27 This sample is located in :zephyr_file:`samples/psa/its`.
29 Different configurations are defined in the :file:`sample.yaml` file.
30 You can use them to build the sample, depending on the PSA ITS provider, as follows:
43 :west-args: -T sample.psa.its.tfm
56 :west-args: -T sample.psa.its.secure_storage.entropy_driver
65 :west-args: -T sample.psa.its.secure_storage.entropy_not_secure
/Zephyr-latest/samples/sysbuild/with_mcuboot/
DREADME.rst1 .. zephyr:code-sample:: with_mcuboot
8 A simple example that demonstrates how building a sample using sysbuild can
10 It showcases how the sample can adjust the configuration of extra image by
16 This sample automatically includes MCUboot as bootloader when built using
31 To build both the sample and MCUboot with ``west`` for the ``reel_board``, run:
47 Address of sample 0xc000
51 following lines are printed by the ``with_mcuboot`` sample.
52 This sample also prints its flash location.
/Zephyr-latest/samples/sensor/amg88xx/
DREADME.rst1 .. zephyr:code-sample:: amg88xx
10 This sample application periodically reads the 8x8 temperature array from
12 The sample can also be configured to be triggered when the upper threshold
18 This sample requires a supported AMG88xx shield, see :ref:`amg88xx_shields`
28 new sample:
/Zephyr-latest/samples/bluetooth/bthome_sensor_template/
DREADME.rst1 .. zephyr:code-sample:: bluetooth_bthome_sensor_template
10 This code sample provides a template for implementing a `BTHome <https://bthome.io/>`_ sensor.
21 This sample can be found under :zephyr_file:`samples/bluetooth/bthome_sensor_template` in the Zephy…
23 See :zephyr:code-sample-category:`bluetooth` samples for details.
25 When the sample is running, navigate to Devices & Services under settings in Home
/Zephyr-latest/samples/drivers/i2c/custom_target/
DREADME.rst1 .. zephyr:code-sample:: i2c-custom-target
10 This sample demonstrates how to setup an I2C custom target on the I2C interface
16 This sample requires an I2C peripheral which is capable of acting as a target.
18 This sample has been tested on :zephyr:board:`lpcxpresso55s69`.
23 The code for this sample can be found in :zephyr_file:`samples/drivers/i2c/custom_target`.
/Zephyr-latest/samples/drivers/i2c/target_eeprom/
DREADME.rst1 .. zephyr:code-sample:: i2c-eeprom-target
10 This sample demonstrates how to setup and use the :ref:`i2c-target-api` using the
16 This sample requires an I2C peripheral which is capable of acting as a target.
18 This sample has been tested on :zephyr:board:`lpcxpresso55s69`.
23 The code for this sample can be found in :zephyr_file:`samples/drivers/i2c/target_eeprom`.

12345678910>>...69