/Zephyr-latest/samples/bluetooth/handsfree/ |
D | README.rst | 1 .. zephyr:code-sample:: bluetooth_handsfree 2 :name: Hands-free 3 :relevant-api: bt_hfp bluetooth 5 Use the Hands-Free Profile (HFP) APIs. 10 Application demonstrating usage of the Hands-free Profile (HFP) APIs. 15 * BlueZ running on the host, or 18 Building and Running 24 See :zephyr:code-sample-category:`bluetooth` samples for details.
|
/Zephyr-latest/samples/bluetooth/handsfree_ag/ |
D | README.rst | 1 .. zephyr:code-sample:: bluetooth_handsfree_ag 2 :name: Hands-free Audio Gateway (AG) 3 :relevant-api: bt_hfp bluetooth 5 Use the Hands-Free Profile Audio Gateway (AG) APIs. 10 Application demonstrating usage of the Hands-free Audio Gateway (AG) APIs. 15 * Running on the host with Bluetooth BR/EDR (Classic) support, or 18 Building and Running 24 See :zephyr:code-sample-category:`bluetooth` samples for details.
|
/Zephyr-latest/dts/bindings/usb/uac2/ |
D | zephyr,uac2-clock-source.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "zephyr,uac2-clock-source" 9 clock-type: 17 - "external" 18 - "internal-fixed" 19 - "internal-variable" 20 - "internal-programmable" 22 sof-synchronized: 26 free running. External clock must be free running. 28 frequency-control: [all …]
|
/Zephyr-latest/dts/bindings/clock/ |
D | silabs,series2-hfrcodpll.yaml | 1 compatible: "silabs,series2-hfrcodpll" 4 Silicon Labs HFRCODPLL peripheral (high-frequency RC oscillator with digital phase-locked loop). 5 Can be used as a free-running RC oscillator or with PLL lock to the crystal oscillators HFXO 7 the `dpll-*` options to desired values. 9 In PLL mode, `clock-frequency` represents the target PLL frequency. 10 In free-running mode, `clock-frequency` represents the HFRCO band to use. 12 include: fixed-clock.yaml 15 dpll-n: 18 dpll-m: 21 dpll-edge: [all …]
|
/Zephyr-latest/samples/basic/sys_heap/ |
D | README.rst | 1 .. zephyr:code-sample:: sys-heap 17 .. zephyr-app-commands:: 18 :zephyr-app: samples/basic/sys_heap 19 :host-os: unix 26 Running chapter 34 .. code-block:: console 38 allocated 0, free 196, max allocated 0, heap size 256 39 allocated 156, free 36, max allocated 156, heap size 256 40 allocated 100, free 92, max allocated 156, heap size 256 41 allocated 0, free 196, max allocated 156, heap size 256
|
/Zephyr-latest/arch/arc/core/ |
D | arc_connect.c | 4 * SPDX-License-Identifier: Apache-2.0 20 /* Generate an inter-core interrupt to the target core */ 28 /* Acknowledge the inter-core interrupt raised by core */ 36 /* Read inter-core interrupt status */ 49 /* Check the source of inter-core interrupt */ 62 /* Clear the inter-core interrupt */ 77 c = find_lsb_set(cpu) - 1; in z_arc_connect_ici_clear() 198 /* Clear global free running counter */ 206 /* Read total 64 bits of global free running counter */ 217 * sub-components. For GFRC, HW allows simultaneously accessing to in z_arc_connect_gfrc_read() [all …]
|
D | smp.c | 4 * SPDX-License-Identifier: Apache-2.0 104 /* configure inter-core debug unit if available */ in arch_secondary_cpu_init() 171 /* configure inter-core debug unit if available */ in arch_smp_init() 185 "ARC connect has no inter-core interrupt\n"); in arch_smp_init() 186 return -ENODEV; in arch_smp_init() 190 /* global free running count init */ in arch_smp_init() 194 z_arc_connect_gfrc_core_set((1 << arch_num_cpus()) - 1); in arch_smp_init() 198 "ARC connect has no global free running counter\n"); in arch_smp_init() 199 return -ENODEV; in arch_smp_init()
|
/Zephyr-latest/dts/bindings/audio/ |
D | wolfson,wm8904.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 include: [i2c-device.yaml] 13 clock-source: 19 - "MCLK": WM8904's MCLK pin (supplied by the host) 20 - "FLL": WM8904's FLL facility, can be free-running 24 - "MCLK" 25 - "FLL"
|
/Zephyr-latest/samples/subsys/demand_paging/ |
D | README.rst | 1 .. zephyr:code-sample:: demand-paging 3 :relevant-api: mem-demand-paging 23 Building and Running 28 .. zephyr-app-commands:: 29 :zephyr-app: samples/subsys/demand_paging 30 :host-os: unix 38 .. code-block:: console 40 *** Booting Zephyr OS build v3.7.0-2108-g5975c3785356 *** 42 free memory pages: from 37 to 0, 987 page faults 44 free memory pages: from 0 to 0, 987 page faults
|
/Zephyr-latest/samples/subsys/modbus/rtu_client/ |
D | README.rst | 1 .. zephyr:code-sample:: modbus-rtu-client 3 :relevant-api: modbus 16 This sample has been tested with the nRF52840-DK and FRDM-K64F boards, 17 but it should work with any board that has a free UART interface. 19 RTU client example is running on an evaluation board and communicates 20 with another board running the :zephyr:code-sample:`modbus-rtu-server` sample. 22 In addition to the evaluation board a RS-485 shield may be used. 23 The shield converts UART TX, RX signals to RS-485. 24 An Arduino header compatible shield like `joy-it RS-485 shield for Arduino`_ 26 on the JOY-IT shield. For other shields, ``de-gpios`` property must be adapted [all …]
|
/Zephyr-latest/samples/sensor/grow_r502a/ |
D | README.rst | 1 .. zephyr:code-sample:: grow_r502a 2 :name: GROW R502-A Fingerprint Sensor 3 :relevant-api: sensor_interface 5 Store and match fingerprints using the GROW R502-A fingerprint sensor. 15 #. When SENSOR_ATTR_RECORD_FREE_IDX is set then it search for free index in sensor library. 35 Building and Running 41 .. zephyr-app-commands:: 42 :zephyr-app: samples/sensor/grow_r502a 49 .. code-block:: console 51 *** Booting Zephyr OS build v3.6.0-3147-g8ae1a2e2718e *** [all …]
|
/Zephyr-latest/subsys/testsuite/ztest/src/ |
D | ztest_shell.c | 4 * SPDX-License-Identifier: Apache-2.0 30 * Default entry point for running registered unit tests. 42 free((void *)test_args); in ztest_reset_test_args() 103 free((void *)test_args_local); in z_ztest_testargs_contains() 124 if (test_args_local != NULL && !z_ztest_testargs_contains(suite->name, NULL)) { in z_ztest_should_suite_run() 126 suite->stats->run_count++; in z_ztest_should_suite_run() 127 } else if (suite->predicate != NULL) { in z_ztest_should_suite_run() 128 run_suite = suite->predicate(state); in z_ztest_should_suite_run() 132 free((void *)test_args_local); in z_ztest_should_suite_run() 141 * in the command line argument. Run all tests for non-posix builds [all …]
|
/Zephyr-latest/modules/hal_infineon/abstraction-rtos/source/COMPONENT_ZEPHYR/ |
D | cyabs_rtos_zephyr.c | 9 * Copyright 2018-2022 Cypress Semiconductor Corporation (an Infineon company) or 12 * SPDX-License-Identifier: Apache-2.0 18 * http://www.apache.org/licenses/LICENSE-2.0 59 case -EAGAIN: in error_converter() 63 case -EINVAL: in error_converter() 67 case -ENOMEM: in error_converter() 84 /* Free allocated stack buffer */ in free_thead_obj() 85 if ((*thread)->memptr != NULL) { in free_thead_obj() 86 k_free((*thread)->memptr); in free_thead_obj() 89 /* Free object */ in free_thead_obj() [all …]
|
/Zephyr-latest/drivers/entropy/ |
D | entropy_mcux_rnga.c | 4 * SPDX-License-Identifier: Apache-2.0 24 * the RNGA deliver one or two bits of entropy per 32-bit in entropy_mcux_rnga_get_uint8() 69 * to be relatively small. The RNGA hardware uses two free in entropy_mcux_rnga_init() 70 * running oscillators to add entropy to the seed value, we in entropy_mcux_rnga_init()
|
/Zephyr-latest/scripts/native_simulator/common/src/ |
D | nct.c | 5 * SPDX-License-Identifier: Apache-2.0 26 * For SOCs with several micro-controllers (AMP) one instance of this module 41 * Which thread is running is controlled using {cond|mtx}_threads and 100 bool running; /* Is this the currently running thread */ member 140 tt_el->thead_cnt, in abort_tail() 144 tt_el->running = false; in abort_tail() 145 tt_el->state = ABORTED; in abort_tail() 161 tt_el->running = false; in nct_wait_until_allowed() 164 tt_el->thead_cnt, in nct_wait_until_allowed() 168 while (this_th_nbr != this->currently_allowed_thread) { in nct_wait_until_allowed() [all …]
|
/Zephyr-latest/lib/heap/ |
D | heap_validate.c | 4 * SPDX-License-Identifier: Apache-2.0 11 /* White-box sys_heap validation code. Uses internal data structures. 15 * that it is the CORRECT heap given the history of alloc/free calls 17 * something scribbling a copy of a previously-valid heap on top of a 18 * running one and corrupting it. YMMV. 26 VALIDATE(c < h->end_chunk); in in_bounds() 27 VALIDATE(chunk_size(h, c) < h->end_chunk); in in_bounds() 34 VALIDATE((c + chunk_size(h, c)) <= h->end_chunk); in valid_chunk() 57 struct z_heap_bucket *b = &h->buckets[bidx]; in check_nexts() 59 bool emptybit = (h->avail_buckets & BIT(bidx)) == 0; in check_nexts() [all …]
|
/Zephyr-latest/boards/altr/max10/doc/ |
D | index.rst | 28 Other switches are user switches, their position is application-specific. 37 For your convenience using the SDK tools (such as ``nios2-configure-sof``), 42 .. code-block:: console 48 II peripheral, which is the built-in JTAG interface for this device. 52 .. code-block:: console 54 # For Altera USB-Blaster permissions. 73 .. code-block:: console 76 1) USB-BlasterII [1-1.2] 87 Flash this CPU using the ``nios2-configure-sof`` SDK tool with the FPGA 91 .. code-block:: console [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/ |
D | README.rst | 18 Running the tests 36 When running test applications independently, make sure to assign the original 37 device number with -dXXX to the process. 42 ..code-block:: 51 ...code-block:: 54 -s=mesh_transport_seg_block -d=0 -RealEncryption=1 \ 55 -testid=transport_tx_seg_block 67 pattern for running a single test across N devices with different test 71 ..code-block:: 86 is free to call the parts that are appropriate for its implementation. [all …]
|
/Zephyr-latest/include/zephyr/drivers/timer/ |
D | nrf_grtc_timer.h | 4 * SPDX-License-Identifier: Apache-2.0 34 * @retval >=0 Non-negative indicates allocated channel ID. 35 * @retval -ENOMEM if channel cannot be allocated. 39 /** @brief Free GRTC capture/compare channel. 107 * @retval -EAGAIN if compare for given channel is not set. 108 * @retval -EPERM if either channel is unavailable or SYSCOUNTER is not running. 123 * @retval -EPERM if either channel is unavailable or SYSCOUNTER is not running. 145 * @retval -EINVAL if @p t is out of range. 154 * @note Capture and compare are mutually exclusive features - they cannot be 160 * @retval -EPERM if either channel is unavailable or SYSCOUNTER is not running. [all …]
|
/Zephyr-latest/drivers/timer/ |
D | Kconfig.x86 | 1 # Copyright (c) 2014-2015 Wind River Systems, Inc. 3 # Copyright (c) 2019-2023 Intel Corp. 4 # SPDX-License-Identifier: Apache-2.0 45 deadline capability. The use of a free-running 64 bit 47 from the handling, and the near-instruction-cycle resolution 50 logic). SMP-safe and very fast, this should be the obvious 63 local APIC in one-shot mode as the timeout event source. 77 last IO-APIC IRQ (the timer is the first entry in the APIC 79 user-configurable and almost certainly should be managed via
|
/Zephyr-latest/tests/kernel/mem_slab/mslab/ |
D | README.txt | 7 -------------------------------------------------------------------------------- 9 Building and Running Project: 16 -------------------------------------------------------------------------------- 20 Problems caused by out-dated project information can be addressed by 27 # and restore pre-defined configuration info 29 -------------------------------------------------------------------------------- 33 starting test - Test Kernel memory slabs 36 (1) - Allocate and free 2 blocks in <main> 50 block ptr to free p[0] = 0x00406400 53 block ptr to free p[1] = 0x00406000 [all …]
|
/Zephyr-latest/samples/net/cloud/tagoio_http_post/ |
D | README.rst | 1 .. zephyr:code-sample:: tagoio-http-post 3 :relevant-api: bsd_sockets http_client dns_resolve tls_credentials 12 values to simulate a real device. This can be used to speed-up development 21 - A free `TagoIO`_ account 22 - A board with internet connectivity, see :ref:`networking` 23 - The example provides three ways to get internet: 31 If you don't have a `TagoIO`_ account, simple create a free account at 39 Building and Running 48 tagoio-http-client sample application with minimal configuration: 50 .. zephyr-app-commands:: [all …]
|
/Zephyr-latest/samples/subsys/modbus/rtu_server/ |
D | README.rst | 1 .. zephyr:code-sample:: modbus-rtu-server 3 :relevant-api: modbus 16 This sample has been tested with the nRF52840-DK and FRDM-K64F boards, 17 but it should work with any board that has a free UART interface or USB 20 RTU server example is running on an evaluation board. Client is running 26 Using RS-485 transceiver 30 In addition to the evaluation board, an USB to RS-485 bus adapter and 31 a RS-485 shield are required. The shield converts UART TX, RX signals to RS-485. 32 An Arduino header compatible shield like `joy-it RS-485 shield for Arduino`_ 34 on the JOY-IT shield. For other shields, ``de-gpios`` property must be adapted [all …]
|
/Zephyr-latest/samples/drivers/ipm/ipm_esp32/ |
D | README.rst | 1 .. zephyr:code-sample:: ipm-esp32 3 :relevant-api: ipm_interface 5 Implement inter-processor mailbox (IPM) between ESP32 APP and PRO CPUs. 17 reserved for BT and WIFI messages, and channels 2 and 3 is free to 22 Building and Running the Zephyr Code 27 .. zephyr-app-commands:: 28 :zephyr-app: samples/drivers/ipm/ipm_esp32 30 :west-args: --sysbuild 40 .. code-block:: console 42 *** Booting Zephyr OS build v4.0.0-rc2-61-ga24efebe15e2 ***
|
/Zephyr-latest/drivers/counter/ |
D | counter_dw_timer.c | 4 * SPDX-License-Identifier: Apache-2.0 27 /* free running mode value */ 39 #define DEV_CFG(_dev) ((const struct counter_dw_timer_config *)(_dev)->config) 40 #define DEV_DATA(_dev) ((struct counter_dw_timer_drv_data *const)(_dev)->data) 90 counter_alarm_callback_t alarm_cb = data->alarm_cb; in counter_dw_timer_irq_handler() 97 key = k_spin_lock(&data->lock); in counter_dw_timer_irq_handler() 102 if (data->alarm_cb) { in counter_dw_timer_irq_handler() 105 data->alarm_cb = NULL; in counter_dw_timer_irq_handler() 106 alarm_cb(timer_dev, 0, ticks, data->prv_data); in counter_dw_timer_irq_handler() 108 } else if (data->top_cb) { in counter_dw_timer_irq_handler() [all …]
|