/Zephyr-Core-2.7.6/dts/bindings/sensor/ |
D | sensirion,shtcx.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 include: i2c-device.yaml 17 SHTC3 has an additional sleep mode that is entered between measurements. 19 - "shtc1" 20 - "shtc3" 22 measure-mode: 26 Specifies which measurement mode is used. 27 SHTC1 sensor only supports the normal measuremnt mode. 29 - "normal" 30 - "low-power" [all …]
|
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ |
D | Kconfig.ll_sw_split | 3 # Copyright (c) 2016-2017 Nordic Semiconductor ASA 4 # SPDX-License-Identifier: Apache-2.0 9 DT_NORDIC_RADIO_DFE_SUPPORTED := $(dt_node_has_bool_prop,$(DT_PATH_NORDIC_RADIO),dfe-supported) 78 # Controller's Co-Operative high priority Rx thread stack size. 105 https://www.bluetooth.com/specifications/assigned-numbers/company-identifiers 123 bool "LE Controller-based Software Privacy" 129 int "LE Controller-based Software Privacy Resolving List size" 135 Controller-based Software deferred Privacy. 180 bool "Enable back-to-back transmission of periodic advertising trains" 185 sending each AUX_CHAIN_IND one after another back-to-back. [all …]
|
/Zephyr-Core-2.7.6/include/bluetooth/ |
D | direction.h | 4 * SPDX-License-Identifier: Apache-2.0 14 /** Angle of Arrival mode. Antenna switching done on receiver site. */ 16 /** Angle of Departure mode with 1 us antenna switching slots. 20 /** Angle of Departure mode with 2 us antenna switching slots. 96 /** Id of antenna used to measure the RSSI. */
|
/Zephyr-Core-2.7.6/drivers/sensor/ens210/ |
D | ens210.c | 4 * SPDX-License-Identifier: Apache-2.0 24 uint32_t polynomial = (ENS210_CRC7_POLY << (ENS210_CRC7_DATA_WIDTH - 1)); in ens210_crc7() 63 return -EIO; in ens210_measure() 80 #endif /* Single shot mode */ 85 struct ens210_data *drv_data = dev->data; in ens210_sample_fetch() 99 ret = ens210_measure(drv_data->i2c, chan); in ens210_sample_fetch() 101 LOG_ERR("Failed to measure"); in ens210_sample_fetch() 104 #endif /* Single shot mode */ in ens210_sample_fetch() 107 ret = i2c_burst_read(drv_data->i2c, DT_INST_REG_ADDR(0), in ens210_sample_fetch() 132 drv_data->temp = data[0]; in ens210_sample_fetch() [all …]
|
/Zephyr-Core-2.7.6/boards/arm/stm32g071b_disco/doc/ |
D | index.rst | 8 The STM32G071B-DISCO Discovery board is a demonstration and development platform 9 for the STMicroelectronics Arm® Cortex® -M0+ core-based STM32G071RB USB Type-C™ 10 and Power Delivery microcontroller. The STM32G071B-DISCO Discovery board is 12 interoperability with other USB Type-C™ devices. The STM32G071B-DISCO Discovery 13 board is intended for discovery and display of USB Type-C™ port characteristics 15 user mode when associated with the STM32CubeMonUCPD software GUI and can be used 16 as a USB Type-C™ and Power Delivery analyzer. 18 - STM32G071RBT6 microcontroller featuring 128 Kbytes of Flash memory and 20 - Plastic case 21 - 1” 128 x 64 pixels OLED LCD module with SPI interface [all …]
|
/Zephyr-Core-2.7.6/drivers/sensor/nuvoton_tach_npcx/ |
D | tach_nuvoton_npcx.c | 4 * SPDX-License-Identifier: Apache-2.0 16 * is block diagram of this module when it set to mode 5. 19 * | | +-----------+ TA Pin 20 * +-----------+ | +-----+-----+ | _ _ | | 21 * APB_CLK-->| Prescaler |--->|---+--->| Counter 1 |<--| _| |_| |_ |<--+ 22 * +-----------+ | | +-----------+ +-----------+ 25 * LFCLK--------------------->| | +-----------+ TB Pin 26 * | +-----+-----+ | _ _ | | 27 * |---+--->| Counter 2 |<--| _| |_| |_ |<--+ 28 * | | +-----------+ +-----------+ [all …]
|
/Zephyr-Core-2.7.6/drivers/sensor/adxl362/ |
D | adxl362.c | 1 /* adxl362.c - ADXL362 Three-Axis Digital Accelerometers */ 6 * SPDX-License-Identifier: Apache-2.0 30 const struct adxl362_config *cfg = dev->config; in adxl362_reg_access() 54 return spi_transceive_dt(&cfg->bus, &tx, &rx); in adxl362_reg_access() 59 return spi_write_dt(&cfg->bus, &tx); in adxl362_reg_access() 135 static int adxl362_set_power_mode(const struct device *dev, uint8_t mode) in adxl362_set_power_mode() argument 148 (mode * in adxl362_set_power_mode() 181 return -EINVAL; in adxl362_freq_to_odr_val() 192 return -EINVAL; in adxl362_freq_to_odr_val() 216 return -EINVAL; in adxl362_range_to_reg_val() [all …]
|
/Zephyr-Core-2.7.6/drivers/sensor/lis2mdl/ |
D | lis2mdl.c | 1 /* ST Microelectronics LIS2MDL 3-axis magnetometer sensor 3 * Copyright (c) 2018-2019 STMicroelectronics 5 * SPDX-License-Identifier: Apache-2.0 21 /* Based on the data sheet, the maximum turn-on time is ("9.4 ms + 1/ODR") when 22 * offset cancellation is on. But in the single mode the ODR is not dependent on 24 * signal. The slowest value we could measure by I2C frequency of 100000HZ was 37 const struct lis2mdl_config *cfg = dev->config; in lis2mdl_set_odr() 38 stmdev_ctx_t *ctx = (stmdev_ctx_t *)&cfg->ctx; in lis2mdl_set_odr() 41 switch (val->val1) { in lis2mdl_set_odr() 55 return -EINVAL; in lis2mdl_set_odr() [all …]
|
/Zephyr-Core-2.7.6/tests/kernel/threads/thread_stack/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 36 *start_addr = (char *)k_current_get()->stack_info.start; in z_impl_stack_info_get() 37 *size = k_current_get()->stack_info.size; in z_impl_stack_info_get() 111 printk(" - Thread reports buffer %p size %zu\n", stack_start, in stack_buffer_scenarios() 136 zassert_true(STEST_STACKSIZE <= (obj_size - reserved), in stack_buffer_scenarios() 153 printk(" - check read/write to stack buffer\n"); in stack_buffer_scenarios() 174 /* If we're in user mode, check every byte in the stack buffer in stack_buffer_scenarios() 188 zassert_true(check_perms(stack_start - 1, 1, 0), in stack_buffer_scenarios() 189 "user mode access to memory %p before start of stack object", in stack_buffer_scenarios() 190 obj_start - 1); in stack_buffer_scenarios() [all …]
|
/Zephyr-Core-2.7.6/include/ |
D | syscall_handler.h | 4 * SPDX-License-Identifier: Apache-2.0 24 _OBJ_INIT_FALSE = -1, 29 * Return true if we are currently handling a system call from user mode 34 * However, some checks that are only relevant to user mode must 43 * user thread. If the system call was invoked from supervisor mode, 47 * mode thread 53 * encountered when a syscall is made from user mode, system in z_is_in_user_syscall() 54 * calls from supervisor mode bypass everything directly to in z_is_in_user_syscall() 57 return !k_is_in_isr() && _current->syscall_frame != NULL; in z_is_in_user_syscall() 67 * This function is intended to be called on the kernel-side system [all …]
|
/Zephyr-Core-2.7.6/include/lorawan/ |
D | lorawan.h | 4 * SPDX-License-Identifier: Apache-2.0 71 * @brief LoRaWAN join parameters for over-the-Air activation (OTAA) 104 enum lorawan_act_type mode; member 112 * Ports 1-255: Standard downlink port 144 * 255: the node was not able to measure the battery level" 168 * - dr - updated datarate
|
/Zephyr-Core-2.7.6/include/sys/ |
D | arch_interface.h | 4 * SPDX-License-Identifier: Apache-2.0 8 * @defgroup arch-interface Architecture Interface 12 * call architecture-specific API so will have the prototypes for the 13 * architecture-specific APIs here. Architecture APIs that aren't used in this 16 * The set of architecture-specific APIs used internally by public macros and 49 * @defgroup arch-timing Architecture timing APIs 50 * @ingroup arch-interface 55 * Obtain the current cycle count, in units that are hardware-specific 65 * @addtogroup arch-threads 99 * buffer, defined as the area usable for thread stack context and thread- [all …]
|
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/openisa/lll/ |
D | lll.c | 2 * Copyright (c) 2018-2019 Nordic Semiconductor ASA 5 * SPDX-License-Identifier: Apache-2.0 85 if (LPTMR1->CSR & LPTMR_CSR_TCF(1)) { in rtc0_rv32m1_isr() 86 LPTMR1->CSR |= LPTMR_CSR_TCF(1); in rtc0_rv32m1_isr() 129 return -ENODEV; in lll_init() 164 /* Call it after IRQ enable to be able to measure ISR latency */ in lll_init() 219 if (!next->is_aborted && in lll_disable() 220 (!param || (param == next->prepare_param.param))) { in lll_disable() 221 next->is_aborted = 1; in lll_disable() 222 next->abort_cb(&next->prepare_param, in lll_disable() [all …]
|
/Zephyr-Core-2.7.6/drivers/ieee802154/ |
D | ieee802154_cc13xx_cc26xx_subg.c | 4 * SPDX-License-Identifier: Apache-2.0 62 …/* Rx: Set RSSI offset to adjust reported RSSI by -1 dB (default: -2), trimmed for external bias a… 64 /* Rx: Set anti-aliasing filter bandwidth to 0x8 (in ADI0, set IFAMPCTL3[7:4]=0x8) */ 79 { -20, RF_TxPowerTable_DEFAULT_PA_ENTRY(0, 3, 0, 2) }, 80 { -15, RF_TxPowerTable_DEFAULT_PA_ENTRY(1, 3, 0, 3) }, 81 { -10, RF_TxPowerTable_DEFAULT_PA_ENTRY(2, 3, 0, 5) }, 82 { -5, RF_TxPowerTable_DEFAULT_PA_ENTRY(4, 3, 0, 5) }, 115 *frequency = 906 + 2 * (channel - 1); in ieee802154_cc13xx_cc26xx_subg_channel_to_frequency() 119 *frequency = 2405 + 5 * (channel - IEEE802154_2_4_GHZ_CHANNEL_MIN); in ieee802154_cc13xx_cc26xx_subg_channel_to_frequency() 124 return -EINVAL; in ieee802154_cc13xx_cc26xx_subg_channel_to_frequency() [all …]
|
/Zephyr-Core-2.7.6/tests/drivers/build_all/sensor/ |
D | i2c.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 13 int-gpios = <&test_gpio 0 0>; 26 int1-gpios = <&test_gpio 0 0>; 33 wake-gpios = <&test_gpio 0 0>; 34 reset-gpios = <&test_gpio 0 0>; 35 irq-gpios = <&test_gpio 0 0>; 66 int-gpios = <&test_gpio 0 0>; 73 int1-gpios = <&test_gpio 0 0>; 74 /* is-bmc150; */ 81 drdy-gpios = <&test_gpio 0 0>; [all …]
|
/Zephyr-Core-2.7.6/subsys/bluetooth/mesh/ |
D | Kconfig | 4 # SPDX-License-Identifier: Apache-2.0 39 bool "Provisioning support using the advertising bearer (PB-ADV)" 116 bool "Provisioning support using GATT (PB-GATT)" 179 bool "Perform self-tests" 181 This option adds extra self-tests which are run every time 268 prompt "Advertiser mode" 349 Maximum number of simultaneous outgoing multi-segment and/or 357 Maximum number of simultaneous incoming multi-segment and/or 383 This value should typically be fine-tuned based on what 394 4-byte MIC and 52 bytes using an 8-byte MIC. [all …]
|
/Zephyr-Core-2.7.6/ |
D | Kconfig.zephyr | 3 # Copyright (c) 2014-2015 Wind River Systems, Inc. 5 # SPDX-License-Identifier: Apache-2.0 84 bool "Link application into /chosen/zephyr,code-partition from devicetree" 87 selected by the zephyr,code-partition property in /chosen in devicetree. 92 DT_CHOSEN_Z_CODE_PARTITION := zephyr,code-partition 95 # Only user-configurable when USE_DT_CODE_PARTITION is disabled 108 # Only user-configurable when USE_DT_CODE_PARTITION is disabled 113 If non-zero, this option specifies the size, in bytes, of the flash 128 If the application is built for chain-loading by a bootloader this 150 The templates are pre-processed by the C pre-processor to create the [all …]
|
/Zephyr-Core-2.7.6/boards/arm/reel_board/doc/ |
D | index.rst | 11 cooperation with Zephyr Project for the Hackathon - "Get Connected". 12 The board has a built-in debug adapter based on the DAPLink interface 21 * low-power, low-cost human-machine interface (HMI) for remote 28 Cortex |reg|-M4F SoC with an integrated 2.4 GHz transceiver supporting Bluetooth 36 On the front of the board are RGB-LED, ADPS9960 and HDC1010 sensors, 38 The RGB-LED is controlled by the nRF52840 via GPIO pins. 47 MMA8652FC is a 12-bit Digital Accelerometer. 84 +--------------+--------------------+----------------------+-------------------+ 87 | Good Display | HINK-E0213 | SSD1673 / | reel_board | 89 +--------------+--------------------+----------------------+-------------------+ [all …]
|
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/radio/ |
D | radio.c | 2 * Copyright (c) 2016 - 2019 Nordic Semiconductor ASA 4 * Copyright 2019 - 2020 NXP 6 * SPDX-License-Identifier: Apache-2.0 38 #define RADIO_AESCCM_HDR_MASK 0xE3 /* AES-CCM: NESN, SN, MD bits masked to 0 */ 39 #define RADIO_PDU_LEN_MAX (BIT(8) - 1) 41 ((bytes) * 8 >> (__builtin_ffs(bits_per_usec) - 1)) 47 #define RX_WTMRK 5 /* (AA + PDU header) - 1 */ 102 static uint8_t phy_mode; /* Current PHY mode (DR_1MBPS or DR_2MBPS) */ 104 * depending on the PHY mode 107 * PHY mode [all …]
|
/Zephyr-Core-2.7.6/boards/arm/bt610/doc/ |
D | bt610.rst | 11 Cortex-M4F CPU. 19 * :abbr:`I2C (Inter-Integrated Circuit)` 28 * :abbr:`UART (Universal Asynchronous Receiver-Transmitter)` 57 +-----------+------------+----------------------+ 60 | ADC | on-chip | adc | 61 +-----------+------------+----------------------+ 62 | CLOCK | on-chip | clock_control | 63 +-----------+------------+----------------------+ 64 | FLASH | on-chip | flash | 65 +-----------+------------+----------------------+ [all …]
|
/Zephyr-Core-2.7.6/scripts/ |
D | checkpatch.pl | 2 # SPDX-License-Identifier: GPL-2.0 7 # (c) 2008-2010 Andy Whitcroft <apw@canonical.com> 8 # (c) 2010-2018 Joe Perches <joe@perches.com> 67 my $git_command ='export LANGUAGE=en_US.UTF-8; git'; 78 -q, --quiet quiet 79 --no-tree run without a kernel tree 80 --no-signoff do not check for 'Signed-off-by' line 81 --patch treat FILE as patchfile (default) 82 --emacs emacs compile window format 83 --terse one line per report [all …]
|
/Zephyr-Core-2.7.6/scripts/pylib/twister/ |
D | twisterlib.py | 5 # SPDX-License-Identifier: Apache-2.0 49 print("Install pyserial python module with pip to use --device-testing option.") 54 print("Install tabulate python module with pip to use --device-testing option.") 67 "python-devicetree", "src")) 68 from devicetree import edtlib # pylint: disable=unused-import 194 ---------- ------------------------------------------- 200 ---------- ------------------------------------------- 207 # expression. To be permissive here, use a non-greedy match up to 221 # non-zero number. False if the constant is 0, OFF, NO, 223 # the suffix -NOTFOUND. Named boolean constants are [all …]
|