/Zephyr-Core-3.4.0/subsys/bluetooth/controller/ll_sw/ |
D | ull_scan_internal.h | 2 * Copyright (c) 2018-2019 Nordic Semiconductor ASA 4 * SPDX-License-Identifier: Apache-2.0 15 /* Convert period in 1.28 s units to duration of 10 ms units*/ 16 #define ULL_SCAN_PERIOD_TO_DURATION(period) \ argument 17 ((uint32_t)(period) * EXT_SCAN_PERIOD_UNIT_US / \ 25 /* Convert period in 1.28 s unit to radio events count */ 26 #define ULL_SCAN_PERIOD_TO_EVENTS(period, interval) \ argument 27 (((uint32_t)(period) * EXT_SCAN_PERIOD_UNIT_US / \ 33 /* Set scan parameters */ 39 uint8_t ull_scan_enable(struct ll_scan_set *scan); [all …]
|
D | ull_scan.c | 2 * Copyright (c) 2016-2019 Nordic Semiconductor ASA 5 * SPDX-License-Identifier: Apache-2.0 62 #define IS_PHY_ENABLED(scan_ctx, scan_phy) ((scan_ctx)->lll.phy & (scan_phy)) 65 uint16_t period, struct ll_scan_set **scan, 67 static uint8_t duration_period_setup(struct ll_scan_set *scan, 68 uint16_t duration, uint16_t period, 70 static uint8_t duration_period_update(struct ll_scan_set *scan, 86 struct ll_scan_set *scan; in ll_scan_params_set() local 89 scan = ull_scan_is_disabled_get(SCAN_HANDLE_1M); in ll_scan_params_set() 90 if (!scan) { in ll_scan_params_set() [all …]
|
/Zephyr-Core-3.4.0/drivers/input/ |
D | Kconfig.npcx | 1 # NPCX Keyboard scan driver configuration options 4 # SPDX-License-Identifier: Apache-2.0 7 bool "Nuvoton NPCX embedded controller (EC) keyboard scan driver" 12 This option enables the keyboard scan driver for NPCX family of 18 int "Keyscan NPCX Poll Period" 21 Defines the poll period in msecs between between matrix scans. 24 bool "Select quasi-bidirectional buffers for KSO pins" 27 Select quasi-bidirectional buffers for KSO pins to reduce the 28 low-to-high transition time.
|
D | input_npcx_kbd.c | 5 * SPDX-License-Identifier: Apache-2.0 22 #define KEYBOARD_COLUMN_DRIVE_ALL -2 23 #define KEYBOARD_COLUMN_DRIVE_NONE -1 25 /* Number of tracked scan times */ 35 /* Keyboard scan controller base address */ 41 /* Keyboard scan input (KSI) wake-up irq */ 43 /* Size of keyboard inputs-wui mapping array */ 63 /* Track previous "elapsed clock cycles" per matrix scan. This 74 /* Keyboard scan local functions */ 78 struct input_npcx_kbd_data *const data = dev->data; in input_npcx_kbd_ksi_isr() [all …]
|
/Zephyr-Core-3.4.0/drivers/kscan/ |
D | Kconfig.xec | 1 # Microchip XEC Keyboard Scan Matrix configuration options 4 # SPDX-License-Identifier: Apache-2.0 44 int "Keyscan XEC Poll Period" 47 Defines the poll period in msecs between between matrix scans.
|
D | Kconfig.it8xxx2 | 2 # SPDX-License-Identifier: Apache-2.0 10 This option enables the ITE keyboard scan driver. 45 Defines the poll period in msecs between matrix scans.
|
D | kscan_ite_it8xxx2.c | 3 * SPDX-License-Identifier: Apache-2.0 13 #include <zephyr/dt-bindings/interrupt-controller/it8xxx2-wuc.h> 25 #define KEYBOARD_COLUMN_DRIVE_ALL -2 26 #define KEYBOARD_COLUMN_DRIVE_NONE -1 27 /* Free run timer counts transform to micro-seconds (clock source is 32768Hz) */ 31 /* Milli-second transform to micro-second */ 33 /* Number of tracked scan times */ 52 /* Keyboard scan controller base address */ 54 /* Keyboard scan input (KSI) wake-up irq */ 56 /* KSI[7:0] wake-up input source configuration list */ [all …]
|
D | kscan_mchp_xec.c | 4 * SPDX-License-Identifier: Apache-2.0 30 #define KEYBOARD_COLUMN_DRIVE_ALL -2 31 #define KEYBOARD_COLUMN_DRIVE_NONE -1 33 /* Poll period/debouncing rely on the 32KHz clock with 30 usec clock cycles */ 38 /* Number of tracked scan times */ 65 /* Track previous "elapsed clock cycles" per matrix scan. This 81 struct kscan_xec_config const *cfg = dev->config; in kscan_clear_girq_status() 83 mchp_xec_ecia_girq_src_clr(cfg->girq, cfg->girq_pos); in kscan_clear_girq_status() 88 struct kscan_xec_config const *cfg = dev->config; in kscan_configure_girq() 91 mchp_xec_ecia_enable(cfg->girq, cfg->girq_pos); in kscan_configure_girq() [all …]
|
/Zephyr-Core-3.4.0/dts/bindings/sensor/ |
D | ite,it8xxx2-vcmp.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "ite,it8xxx2-vcmp" 8 include: sensor-device.yaml 17 vcmp-ch: 22 scan-period: 26 Select the scan interval for all comparator channel. 27 Check include/zephyr/dt-bindings/sensor/it8xxx2_vcmp.h file for 28 pre-defined values. 36 Check include/zephyr/dt-bindings/sensor/it8xxx2_vcmp.h file for 37 pre-defined values. [all …]
|
/Zephyr-Core-3.4.0/dts/bindings/display/ |
D | solomon,ssd1306fb-common.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 include: display-controller.yaml 7 segment-offset: 10 description: 8-bit column start address for Page Addressing Mode 12 page-offset: 17 display-offset: 22 multiplex-ratio: 27 segment-remap: 31 com-invdir: 33 description: Scan direction is from last COM output to first COM output [all …]
|
/Zephyr-Core-3.4.0/include/zephyr/dt-bindings/sensor/ |
D | it8xxx2_vcmp.h | 4 * SPDX-License-Identifier: Apache-2.0 25 * @name it8xxx2 voltage comparator scan period for "all comparator channel"
|
/Zephyr-Core-3.4.0/samples/drivers/kscan/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 27 /* Fujitsu keyboard model N860-7401-TOO1 */ 30 /*+---------------------------------------------------------------+ */ 31 /*| | Capslk| | 1! | Tab | F1 | `~ | | Scan 0 */ 33 /*|-------+-------+-------+-------+-------+-------+-------+-------| */ 34 /*| | W | Q | F7 | | Esc | F6 | F5 | Scan 1 */ 36 /*|-------+-------+-------+-------+-------+-------+-------+-------| */ 37 /*| | F8 | | 2@ | F4 | F3 | | F2 | Scan 2 */ 39 /*|-------+-------+-------+-------+-------+-------+-------+-------| */ 40 /*| | R | E | 3# | 4$ | C | F | V | Scan 3 */ [all …]
|
/Zephyr-Core-3.4.0/drivers/sensor/ite_vcmp_it8xxx2/ |
D | vcmp_ite_it8xxx2.c | 4 * SPDX-License-Identifier: Apache-2.0 10 #include <zephyr/devicetree/io-channels.h> 14 #include <zephyr/dt-bindings/dt-util.h> 15 #include <zephyr/dt-bindings/sensor/it8xxx2_vcmp.h> 37 /* Voltage comparator scan period register */ 51 /* Scan period for "all voltage comparator channel" */ 89 const struct vcmp_it8xxx2_config *const config = dev->config; in clear_vcmp_status() 90 volatile uint8_t *reg_vcmpsts = config->reg_vcmpsts; in clear_vcmp_status() 91 volatile uint8_t *reg_vcmpsts2 = config->reg_vcmpsts2; in clear_vcmp_status() 97 *reg_vcmpsts2 = BIT(vcmp_ch - VCMP_CHANNEL_3); in clear_vcmp_status() [all …]
|
/Zephyr-Core-3.4.0/boards/riscv/it82xx2_evb/ |
D | it82xx2_evb.dts | 3 * SPDX-License-Identifier: Apache-2.0 6 /dts-v1/; 8 #include <zephyr/dt-bindings/gpio/gpio.h> 10 #include <ite/it8xxx2-pinctrl-map.dtsi> 13 model = "IT82XX2 EV-Board"; 14 compatible = "riscv,it82xx2-evb"; 17 i2c-0 = &i2c0; 18 peci-0 = &peci0; 22 pwm-0 = &pwm0; 27 zephyr,shell-uart = &uart1; [all …]
|
/Zephyr-Core-3.4.0/boards/riscv/it8xxx2_evb/ |
D | it8xxx2_evb.dts | 3 * SPDX-License-Identifier: Apache-2.0 6 /dts-v1/; 8 #include <zephyr/dt-bindings/gpio/gpio.h> 10 #include <ite/it8xxx2-pinctrl-map.dtsi> 13 model = "IT8XXX2 EV-Board"; 14 compatible = "riscv,it8xxx2-evb"; 17 i2c-0 = &i2c0; 18 peci-0 = &peci0; 22 pwm-0 = &pwm0; 27 zephyr,shell-uart = &uart1; [all …]
|
/Zephyr-Core-3.4.0/drivers/sensor/sx9500/ |
D | sx9500.c | 1 /* sensor_sx9500.c - Driver for Semtech SX9500 SAR proximity chip */ 6 * SPDX-License-Identifier: Apache-2.0 28 * auto-increments the address for subsequent values in a single 35 0x40, /* Doze enabled, 2x scan period doze, no raw filter. */ 51 struct sx9500_data *data = dev->data; in sx9500_sample_fetch() 52 const struct sx9500_config *cfg = dev->config; in sx9500_sample_fetch() 56 return i2c_reg_read_byte_dt(&cfg->i2c, SX9500_REG_STAT, &data->prox_stat); in sx9500_sample_fetch() 63 struct sx9500_data *data = (struct sx9500_data *) dev->data; in sx9500_channel_get() 67 val->val1 = !!(data->prox_stat & in sx9500_channel_get() 69 val->val2 = 0; in sx9500_channel_get() [all …]
|
/Zephyr-Core-3.4.0/include/zephyr/bluetooth/ |
D | bluetooth.h | 7 * Copyright (c) 2015-2016 Intel Corporation 9 * SPDX-License-Identifier: Apache-2.0 139 * @brief The advertising set has sent scan response data. 142 * has received a Scan Request packet, and has sent a Scan Response 162 * next rotation period. 275 * @see https://specificationrefs.bluetooth.com/assigned-values/Appearance%20Values.pdf 308 * subsequent call to this function with non-NULL @a addrs parameter. 328 * pre-defined address is provided, since in such a situation the app clearly 347 * parameter was non-NULL). 352 * the parameter was non-NULL). If privacy [all …]
|
D | uuid.h | 6 * Copyright (c) 2015-2016 Intel Corporation 8 * SPDX-License-Identifier: Apache-2.0 31 /** UUID type 16-bit. */ 33 /** UUID type 32-bit. */ 35 /** UUID type 128-bit. */ 39 /** Size in octets of a 16-bit UUID */ 42 /** Size in octets of a 32-bit UUID */ 45 /** Size in octets of a 128-bit UUID */ 56 /** UUID value, 16-bit in host endianness. */ 63 /** UUID value, 32-bit in host endianness. */ [all …]
|
/Zephyr-Core-3.4.0/doc/connectivity/bluetooth/api/mesh/ |
D | shell.rst | 25 The Bluetooth mesh shell subsystem adds a single ``mesh`` command, which holds a set of sub-command… 36 The simplest way to provision the device is through self-provisioning. To do this the user must pro… 40 …-overlapping unicast addresses. Alternatively, to provision the device into an existing network, t… 53 …s (``0x0001`` in the ``mesh prov local`` command above), we can perform self-configuration through… 57 uart:~$ mesh models cfg get-comp 72 uart:~$ mesh test net-send 82020100 93 .. list-table:: Parameter formats 95 :header-rows: 1 97 * - Type 98 - Description [all …]
|
/Zephyr-Core-3.4.0/include/zephyr/net/ |
D | ieee802154_radio.h | 4 * SPDX-License-Identifier: Apache-2.0 34 * - Channel 0 is for 868.3 MHz. 35 * - Channels 1-10 are for 906 to 924 MHz with 2 MHz channel spacing. 36 * - Channels 11-26 are for 2405 to 2530 MHz with 5 MHz channel spacing. 38 * For more information, please refer to 802.15.4-2015 Section 10.1.2.2. 48 IEEE802154_HW_FCS = BIT(0), /* Frame Check-Sum supported */ 51 IEEE802154_HW_CSMA = BIT(3), /* CSMA-CA supported */ 54 IEEE802154_HW_SUB_GHZ = BIT(6), /* Sub-GHz radio supported */ 55 IEEE802154_HW_ENERGY_SCAN = BIT(7), /* Energy scan supported */ 145 * to ``1`` (see IEEE Std 802.15.4-2006, 7.2.2.3.1). [all …]
|
/Zephyr-Core-3.4.0/subsys/bluetooth/host/ |
D | scan.c | 2 * Copyright (c) 2017-2021 Nordic Semiconductor ASA 3 * Copyright (c) 2015-2016 Intel Corporation 5 * SPDX-License-Identifier: Apache-2.0 55 return a->sid == sid && bt_addr_le_eq(&a->addr, addr); in fragmented_advertisers_equal() 96 return -ENOBUFS; in set_le_ext_scan_enable() 102 cp->filter_dup = atomic_test_bit(bt_dev.flags, in set_le_ext_scan_enable() 105 cp->filter_dup = BT_HCI_LE_SCAN_FILTER_DUP_DISABLE; in set_le_ext_scan_enable() 108 cp->enable = enable; in set_le_ext_scan_enable() 109 cp->duration = sys_cpu_to_le16(duration); in set_le_ext_scan_enable() 110 cp->period = 0; in set_le_ext_scan_enable() [all …]
|
/Zephyr-Core-3.4.0/subsys/bluetooth/controller/include/ |
D | ll.h | 2 * Copyright (c) 2016-2021 Nordic Semiconductor ASA 5 * SPDX-License-Identifier: Apache-2.0 127 uint8_t ll_scan_enable(uint8_t enable, uint16_t duration, uint16_t period); 169 /* Must be implemented by vendor if vendor-specific data path is supported */ 300 /* Enables or disables CTE sampling in periodic advertising scan */ 313 /* Downstream - Data */ 318 /* Upstream - Num. Completes, Events and Data */ 324 /* Downstream - ISO Data */ 333 /* External co-operation */
|
/Zephyr-Core-3.4.0/subsys/bluetooth/controller/hci/ |
D | hci.c | 2 * Copyright (c) 2016-2018 Nordic Semiconductor ASA 5 * SPDX-License-Identifier: Apache-2.0 109 * 0 - Non-Connectable Non-Scannable advertising report 110 * 1 - Connectable Non-Scannable advertising report 111 * 2 - Non-Connectable Scannable advertisig report 112 * 3 - Connectable Scannable advertising report 115 * cycle. If advertiser changes between Connectable Non-Scannable, 121 * 4 - Periodic Advertising report 153 #define DUP_FILTER_DISABLED (-1) 161 /* Helper function to reset non-periodic advertising entries in filter table */ [all …]
|
/Zephyr-Core-3.4.0/drivers/wifi/esp_at/ |
D | esp.c | 5 * SPDX-License-Identifier: Apache-2.0 68 cmd[sizeof(cmd) - 1] = '\0'; in esp_configure_hostname() 78 uint8_t flags = data->flags; in esp_mode_from_flags() 106 cmd[sizeof(cmd) - 2] = ('0' + mode); in esp_mode_switch() 120 uint8_t old_mode = data->mode; in esp_mode_switch_if_needed() 127 data->mode = new_mode; in esp_mode_switch_if_needed() 146 if (data->mode != esp_mode_from_flags(data)) { in esp_mode_switch_submit_if_needed() 147 k_work_submit_to_queue(&data->workq, &data->mode_switch_work); in esp_mode_switch_submit_if_needed() 184 k_sem_give(&dev->sem_response); in MODEM_CMD_DEFINE() 195 modem_cmd_handler_set_error(data, -EIO); in MODEM_CMD_DEFINE() [all …]
|
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/mesh/src/ |
D | test_provision.c | 4 * SPDX-License-Identifier: Apache-2.0 152 mod->keys[0] = BT_MESH_KEY_DEV_LOCAL; in mock_model_init() 153 mod->flags |= BT_MESH_MOD_DEVKEY_ONLY; in mock_model_init() 359 if (cap->oob_type & BT_MESH_STATIC_OOB_AVAILABLE) { in capabilities() 362 } else if (cap->output_actions) { in capabilities() 365 } else if (cap->input_actions) { in capabilities() 502 bt_mesh_cdb_node_del(bt_mesh_cdb_node_get(prov_addr - 1), true); in oob_provisioner() 542 healthpub.period = BT_MESH_PUB_PERIOD_10SEC(1); in node_configure_and_reset() 576 /** @brief Verify that this device pb-adv provision. 615 /** @brief Verify that this provisioner pb-adv provision. [all …]
|