/Zephyr-latest/tests/net/lib/lwm2m/content_senml_cbor/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 14 #define TEST_OBJ_ID 0xFFFF 15 #define TEST_OBJ_INST_ID 0 17 #define TEST_RES_S8 0 22 #define TEST_RES_FLOAT 5 72 int i = 0, j = 0; in test_obj_create() 109 test_obj.version_minor = 0; in test_obj_init() 129 memset(&test_msg, 0, sizeof(test_msg)); in context_reset() 163 /* Leave some space for Content-format option */ in test_prepare_nomem() 165 test_msg.cpkt.offset = sizeof(test_msg.msg_data) - TEST_PAYLOAD_OFFSET; in test_prepare_nomem() [all …]
|
/Zephyr-latest/samples/kernel/condition_variables/simple/ |
D | README.rst | 26 .. zephyr-app-commands:: 27 :zephyr-app: samples/kernel/condition_variables/simple 28 :host-os: unix 38 .. code-block:: console 40 [thread 0] working (0/5) 41 [thread 1] working (0/5) 42 [thread 2] working (0/5) 43 [thread 3] working (0/5) 44 [thread 4] working (0/5) 45 [thread 5] working (0/5) [all …]
|
/Zephyr-latest/samples/subsys/zbus/priority_boost/ |
D | sample.yaml | 10 - "I: 0 -> T1: prio before 5" 11 - "I: 0 ---> L1: T1 prio 5" 12 - "I: 0 ---> L2: T1 prio 5" 13 - "I: 0 -> T1: prio after 5" 14 - "I: 1 -> T1: prio before 5" 15 - "I: 1 ---> L1: T1 prio 5" 16 - "I: 1 ---> L2: T1 prio 5" 17 - "I: 1 -> T1: prio after 5" 18 - "I: 2 -> T1: prio before 5" 19 - "I: 2 ---> L1: T1 prio 5" [all …]
|
D | README.rst | 1 .. zephyr:code-sample:: zbus-priority-boost 3 :relevant-api: zbus_apis 15 .. code-block:: c 22 0 49 .. zephyr-app-commands:: 50 :zephyr-app: samples/subsys/zbus/priority_boost 51 :gen-args: -DCONFIG_ZBUS_PRIORITY_BOOST=n 52 :host-os: unix 59 .. code-block:: console 61 I: -------------- [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/ll/edtt/gatt_test_app/src/gatt/ |
D | service_a_1.c | 4 * SPDX-License-Identifier: Apache-2.0 9 * This code is auto-generated from the Excel Workbook 24 #define BT_UUID_SERVICE_A BT_UUID_DECLARE_16(0xa00a) 29 #define BT_UUID_VALUE_V1 BT_UUID_DECLARE_16(0xb001) 34 #define BT_UUID_VALUE_V2 BT_UUID_DECLARE_16(0xb002) 39 #define BT_UUID_VALUE_V3 BT_UUID_DECLARE_16(0xb003) 41 static uint8_t value_v1_value = 0x01; 44 '3', '3', '4', '4', '4', '4', '4', '5', '5', '5', '5', '5', '6', 46 '8', '9', '9', '9', '9', '9', '0', '0', '0', '0', '0', '1', '1', 48 '4', '4', '4', '4', '4', '5', '5', '5', '5', '5', '6', '6', '6', [all …]
|
/Zephyr-latest/dts/arm/nuvoton/npcx/ |
D | npcx-miwus-wui-map.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 9 npcx-miwus-wui-map { 10 compatible = "nuvoton,npcx-miwu-wui-map"; 12 /* MIWU table 0 */ 14 wui_io80: wui0-1-0 { 15 miwus = <&miwu0 0 0>; /* GPIO80 */ 17 wui_io81: wui0-1-1 { 18 miwus = <&miwu0 0 1>; /* GPIO81 */ 20 wui_io82: wui0-1-2 { 21 miwus = <&miwu0 0 2>; /* GPIO82 */ [all …]
|
/Zephyr-latest/samples/subsys/smf/smf_calculator/img/ |
D | smf_calculator.svg | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.0//EN' 3 'http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd'> 4 …-opacity="1" xmlns:xlink="http://www.w3.org/1999/xlink" color-rendering="auto" color-interpolation… 5 ><!--Generated by the Batik Graphics2D SVG Generator--><defs id="genericDefs" 9 ><path d="M0 0 L2147483647 0 L2147483647 2147483647 L0 2147483647 L0 0 Z" 12 ><path d="M0 0 L0 20 L20 20 L20 0 Z" 15 ><path d="M0 0 L0 40 L40 40 L40 0 Z" 18 ><path d="M0 0 L0 90 L170 90 L170 0 Z" 21 ><path d="M0 0 L0 90 L190 90 L190 0 Z" [all …]
|
/Zephyr-latest/drivers/ieee802154/ |
D | ieee802154_rf2xx_regs.h | 1 /* ieee802154_rf2xx_regs.h - ATMEL RF2XX transceiver registers */ 6 * SPDX-License-Identifier: Apache-2.0 12 /*- Definitions ------------------------------------------------------------*/ 19 #define RX2XX_FRAME_MIN_PHR_SIZE 5 27 #define RF2XX_RSSI_BPSK_20 -100 28 #define RF2XX_RSSI_BPSK_40 -99 29 #define RF2XX_RSSI_OQPSK_SIN_RC_100 -98 30 #define RF2XX_RSSI_OQPSK_SIN_250 -97 31 #define RF2XX_RSSI_OQPSK_RC_250 -97 33 /*- Types ------------------------------------------------------------------*/ [all …]
|
/Zephyr-latest/tests/ztest/zexpect/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 19 uint32_t val = 5; in ZTEST() 22 zexpect_not_equal(val, 5); in ZTEST() 53 zexpect_ok(0); in ZTEST() 59 zexpect_ok(5); in ZTEST() 64 zexpect_not_ok(-EIO); in ZTEST() 70 zexpect_not_ok(0); in ZTEST() 83 void *ptr = (void *)0x32137899; in ZTEST() 90 void *ptr = (void *)0x91517141; in ZTEST() 103 zexpect_equal(5, 5); in ZTEST() [all …]
|
/Zephyr-latest/drivers/sensor/st/lsm9ds0_mfd/ |
D | lsm9ds0_mfd.h | 1 /* sensor_lsm9ds0_mfd.h - header file for LSM9DS0 accelerometer, magnetometer 8 * SPDX-License-Identifier: Apache-2.0 18 #define LSM9DS0_MFD_REG_OUT_TEMP_L_XM 0x05 19 #define LSM9DS0_MFD_REG_OUT_TEMP_H_XM 0x06 21 #define LSM9DS0_MFD_REG_STATUS_REG_M 0x07 26 #define LSM9DS0_MFD_MASK_STATUS_REG_M_YMOR BIT(5) 27 #define LSM9DS0_MFD_SHIFT_STATUS_REG_M_YMOR 5 36 #define LSM9DS0_MFD_MASK_STATUS_REG_M_XMDA BIT(0) 37 #define LSM9DS0_MFD_SHIFT_STATUS_REG_XMDA 0 39 #define LSM9DS0_MFD_REG_OUT_X_L_M 0x08 [all …]
|
/Zephyr-latest/dts/arm/infineon/cat3/xmc/ |
D | xmc4500_F100x1024-intc.dtsi | 3 * SPDX-License-Identifier: Apache-2.0 6 #include <zephyr/dt-bindings/interrupt-controller/infineon-xmc4xxx-intc.h> 9 port-line-mapping = < 10 XMC4XXX_INTC_SET_LINE_MAP(0, 1, 0, 0) /* ERU0_ETL0_INPUTA_P0_1 XMC_ERU_ETL_INPUT_A0 */ 11 XMC4XXX_INTC_SET_LINE_MAP(2, 5, 2, 0) /* ERU0_ETL0_INPUTA_P2_5 XMC_ERU_ETL_INPUT_A2 */ 12 XMC4XXX_INTC_SET_LINE_MAP(3, 2, 1, 0) /* ERU0_ETL0_INPUTA_P3_2 XMC_ERU_ETL_INPUT_A1 */ 13 XMC4XXX_INTC_SET_LINE_MAP(0, 0, 4, 0) /* ERU0_ETL0_INPUTB_P0_0 XMC_ERU_ETL_INPUT_B0 */ 14 XMC4XXX_INTC_SET_LINE_MAP(2, 0, 7, 0) /* ERU0_ETL0_INPUTB_P2_0 XMC_ERU_ETL_INPUT_B3 */ 15 XMC4XXX_INTC_SET_LINE_MAP(2, 4, 6, 0) /* ERU0_ETL0_INPUTB_P2_4 XMC_ERU_ETL_INPUT_B2 */ 16 XMC4XXX_INTC_SET_LINE_MAP(3, 1, 5, 0) /* ERU0_ETL0_INPUTB_P3_1 XMC_ERU_ETL_INPUT_B1 */ [all …]
|
D | xmc4700_F144x2048-intc.dtsi | 3 * SPDX-License-Identifier: Apache-2.0 6 #include <zephyr/dt-bindings/interrupt-controller/infineon-xmc4xxx-intc.h> 9 port-line-mapping = < 10 XMC4XXX_INTC_SET_LINE_MAP(0, 1, 0, 0) /* ERU0_ETL0_INPUTA_P0_1 XMC_ERU_ETL_INPUT_A0 */ 11 XMC4XXX_INTC_SET_LINE_MAP(2, 5, 2, 0) /* ERU0_ETL0_INPUTA_P2_5 XMC_ERU_ETL_INPUT_A2 */ 12 XMC4XXX_INTC_SET_LINE_MAP(3, 2, 1, 0) /* ERU0_ETL0_INPUTA_P3_2 XMC_ERU_ETL_INPUT_A1 */ 13 XMC4XXX_INTC_SET_LINE_MAP(0, 0, 4, 0) /* ERU0_ETL0_INPUTB_P0_0 XMC_ERU_ETL_INPUT_B0 */ 14 XMC4XXX_INTC_SET_LINE_MAP(2, 0, 7, 0) /* ERU0_ETL0_INPUTB_P2_0 XMC_ERU_ETL_INPUT_B3 */ 15 XMC4XXX_INTC_SET_LINE_MAP(2, 4, 6, 0) /* ERU0_ETL0_INPUTB_P2_4 XMC_ERU_ETL_INPUT_B2 */ 16 XMC4XXX_INTC_SET_LINE_MAP(3, 1, 5, 0) /* ERU0_ETL0_INPUTB_P3_1 XMC_ERU_ETL_INPUT_B1 */ [all …]
|
D | xmc4500_F100x1024-pinctrl.dtsi | 3 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/pinctrl/xmc4xxx-pinctrl.h> 10 /omit-if-no-ref/ uart_tx_p0_1_u1c1: uart_tx_p0_1_u1c1 { 11 pinmux = <XMC4XXX_PINMUX_SET(0, 1, 2)>; 13 /omit-if-no-ref/ uart_tx_p0_5_u1c0: uart_tx_p0_5_u1c0 { 14 pinmux = <XMC4XXX_PINMUX_SET(0, 5, 2)>; 16 /omit-if-no-ref/ uart_tx_p1_5_u0c0: uart_tx_p1_5_u0c0 { 17 pinmux = <XMC4XXX_PINMUX_SET(1, 5, 2)>; 19 /omit-if-no-ref/ uart_tx_p1_7_u0c0: uart_tx_p1_7_u0c0 { 22 /omit-if-no-ref/ uart_tx_p2_5_u0c1: uart_tx_p2_5_u0c1 { [all …]
|
/Zephyr-latest/drivers/sensor/st/lps22hb/ |
D | lps22hb.h | 1 /* sensor_lps25hb.h - header file for LPS22HB pressure and temperature 8 * SPDX-License-Identifier: Apache-2.0 18 #define LPS22HB_REG_WHO_AM_I 0x0F 19 #define LPS22HB_VAL_WHO_AM_I 0xB1 21 #define LPS22HB_REG_INTERRUPT_CFG 0x0B 26 #define LPS22HB_MASK_INTERRUPT_CFG_AUTOZERO BIT(5) 27 #define LPS22HB_SHIFT_INTERRUPT_CFG_AUTOZERO 5 36 #define LPS22HB_MASK_INTERRUPT_CFG_PH_E BIT(0) 37 #define LPS22HB_SHIFT_INTERRUPT_CFG_PH_E 0 39 #define LPS22HB_REG_THS_P_L 0x0C [all …]
|
/Zephyr-latest/tests/net/lib/lwm2m/content_raw_cbor/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 28 memset(&test_out, 0, sizeof(test_out)); in context_reset() 32 memset(&test_in, 0, sizeof(test_in)); in context_reset() 36 memset(&test_payload, 0, sizeof(test_payload)); in context_reset() 37 memset(&test_packet, 0, sizeof(test_packet)); in context_reset() 78 uint16_t offset = 0; in ZTEST() 79 int8_t value[] = { 1, -1, INT8_MAX, INT8_MIN }; in ZTEST() 83 (0x00 << 5) | 0x01 in ZTEST() 89 (0x01 << 5) | 0x00 in ZTEST() 95 (0x00 << 5) | 0x18, in ZTEST() [all …]
|
/Zephyr-latest/doc/kernel/services/smp/ |
D | smpinit.svg | 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 2 <!-- Created with Inkscape (http://www.inkscape.org/) --> 7 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 10 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 14 viewBox="0 0 139.74937 120.70452" 25 refX="0" 26 refY="0" 30 transform="matrix(-0.4,0,0,-0.4,-4,0)" 31 …style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stro… 32 d="M 0,0 5,-5 -12.5,0 5,5 Z" [all …]
|
/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/mesh/ |
D | publisher.c | 5 * SPDX-License-Identifier: Apache-2.0 22 int err = 0; in publish() 25 if (gpio_pin_get_dt(&button_device[0]) == 1) { in publish() 27 bt_mesh_model_msg_init(root_models[3].pub->msg, in publish() 29 net_buf_simple_add_u8(root_models[3].pub->msg, 0x01); in publish() 30 net_buf_simple_add_u8(root_models[3].pub->msg, tid++); in publish() 33 bt_mesh_model_msg_init(root_models[3].pub->msg, in publish() 35 net_buf_simple_add_u8(root_models[3].pub->msg, 0x01); in publish() 36 net_buf_simple_add_u8(root_models[3].pub->msg, tid++); in publish() 37 net_buf_simple_add_u8(root_models[3].pub->msg, 0x45); in publish() [all …]
|
/Zephyr-latest/drivers/sensor/st/lsm6dsl/ |
D | lsm6dsl.h | 1 /* sensor_lsm6dsl.h - header file for LSM6DSL accelerometer, gyroscope and 8 * SPDX-License-Identifier: Apache-2.0 28 #define LSM6DSL_REG_FUNC_CFG_ACCESS 0x01 31 #define LSM6DSL_MASK_FUNC_CFG_EN_B BIT(5) 32 #define LSM6DSL_SHIFT_FUNC_CFG_EN_B 5 34 #define LSM6DSL_REG_SENSOR_SYNC_TIME_FRAME 0x04 36 BIT(1) | BIT(0)) 37 #define LSM6DSL_SHIFT_SENSOR_SYNC_TIME_FRAME_TPH 0 39 #define LSM6DSL_REG_SENSOR_SYNC_RES_RATIO 0x05 40 #define LSM6DSL_MASK_SENSOR_SYNC_RES_RATIO (BIT(1) | BIT(0)) [all …]
|
/Zephyr-latest/include/zephyr/dt-bindings/pinctrl/renesas/ |
D | pinctrl-r8a77961.h | 3 * Copyright (c) 2023-2024 EPAM Systems 5 * SPDX-License-Identifier: Apache-2.0 10 #include "pinctrl-rcar-common.h" 13 #define PIN_NONE -1 14 #define PIN_D0 RCAR_GP_PIN(0, 0) 15 #define PIN_D1 RCAR_GP_PIN(0, 1) 16 #define PIN_D2 RCAR_GP_PIN(0, 2) 17 #define PIN_D3 RCAR_GP_PIN(0, 3) 18 #define PIN_D4 RCAR_GP_PIN(0, 4) 19 #define PIN_D5 RCAR_GP_PIN(0, 5) [all …]
|
D | pinctrl-r8a77951.h | 4 * SPDX-License-Identifier: Apache-2.0 9 #include "pinctrl-rcar-common.h" 12 #define PIN_NONE -1 13 #define PIN_D0 RCAR_GP_PIN(0, 0) 14 #define PIN_D1 RCAR_GP_PIN(0, 1) 15 #define PIN_D2 RCAR_GP_PIN(0, 2) 16 #define PIN_D3 RCAR_GP_PIN(0, 3) 17 #define PIN_D4 RCAR_GP_PIN(0, 4) 18 #define PIN_D5 RCAR_GP_PIN(0, 5) 19 #define PIN_D6 RCAR_GP_PIN(0, 6) [all …]
|
/Zephyr-latest/include/zephyr/dt-bindings/clock/ |
D | npcm_clock.h | 4 * SPDX-License-Identifier: Apache-2.0 12 #define NPCM_CLOCK_PWM_I (NPCM_CLOCK_GROUP_OFFSET(0) + 0) 13 #define NPCM_CLOCK_PWM_J (NPCM_CLOCK_GROUP_OFFSET(0) + 1) 14 #define NPCM_CLOCK_I3CI (NPCM_CLOCK_GROUP_OFFSET(0) + 2) 15 #define NPCM_CLOCK_UART3 (NPCM_CLOCK_GROUP_OFFSET(0) + 5) 16 #define NPCM_CLOCK_UART2 (NPCM_CLOCK_GROUP_OFFSET(0) + 6) 17 #define NPCM_CLOCK_SPIM (NPCM_CLOCK_GROUP_OFFSET(1) + 0) 21 #define NPCM_CLOCK_MFT1 (NPCM_CLOCK_GROUP_OFFSET(1) + 5) 24 #define NPCM_CLOCK_PWM_A (NPCM_CLOCK_GROUP_OFFSET(2) + 0) 29 #define NPCM_CLOCK_PWM_F (NPCM_CLOCK_GROUP_OFFSET(2) + 5) [all …]
|
/Zephyr-latest/drivers/sensor/st/lsm6ds0/ |
D | lsm6ds0.h | 1 /* sensor_lsm6ds0.h - header file for LSM6DS0 accelerometer, gyroscope and 8 * SPDX-License-Identifier: Apache-2.0 18 #define LSM6DS0_REG_ACT_THS 0x04 21 #define LSM6DS0_MASK_ACT_THS_ACT_THS (BIT(6) | BIT(5) | BIT(4) | \ 23 BIT(0)) 24 #define LSM6DS0_SHIFT_ACT_THS_ACT_THS 0 26 #define LSM6DS0_REG_ACT_DUR 0x05 28 #define LSM6DS0_REG_INT_GEN_CFG_XL 0x06 33 #define LSM6DS0_MASK_INT_GEN_CFG_XL_ZHIE_XL BIT(5) 34 #define LSM6DS0_SHIFT_INT_GEN_CFG_XL_ZHIE_XL 5 [all …]
|
/Zephyr-latest/samples/modules/cmsis_dsp/moving_average/ |
D | sample.yaml | 7 - samples 9 - qemu_cortex_m0 10 - native_sim 12 - cmsis-dsp 17 - "Input\\[00\\]: 0 0 0 0 0 0 0 0 0 0 | Output\\[00\\]: 0.00" 18 - "Input\\[01\\]: 0 0 0 0 0 0 0 0 0 1 | Output\\[01\\]: 0.10" 19 - "Input\\[02\\]: 0 0 0 0 0 0 0 0 1 2 | Output\\[02\\]: 0.30" 20 - "Input\\[03\\]: 0 0 0 0 0 0 0 1 2 3 | Output\\[03\\]: 0.60" 21 - "Input\\[04\\]: 0 0 0 0 0 0 1 2 3 4 | Output\\[04\\]: 1.00" 22 - "Input\\[05\\]: 0 0 0 0 0 1 2 3 4 5 | Output\\[05\\]: 1.50" [all …]
|
/Zephyr-latest/drivers/sensor/st/lsm9ds0_gyro/ |
D | lsm9ds0_gyro.h | 1 /* sensor_lsm9ds0_gyro.h - header file for LSM9DS0 gyroscope sensor driver */ 6 * SPDX-License-Identifier: Apache-2.0 19 #define LSM9DS0_GYRO_REG_WHO_AM_I_G 0x0F 20 #define LSM9DS0_GYRO_VAL_WHO_AM_I_G 0xD4 22 #define LSM9DS0_GYRO_REG_CTRL_REG1_G 0x20 25 #define LSM9DS0_GYRO_MASK_CTRL_REG1_G_BW (BIT(5) | BIT(4)) 33 #define LSM9DS0_GYRO_MASK_CTRL_REG1_G_YEN BIT(0) 34 #define LSM9DS0_GYRO_SHIFT_CTRL_REG1_G_YEN 0 36 #define LSM9DS0_GYRO_REG_CTRL_REG2_G 0x21 37 #define LSM9DS0_GYRO_MASK_CTRL_REG2_G_HPM (BIT(5) | BIT(4)) [all …]
|
/Zephyr-latest/samples/shields/x_nucleo_53l0a1/src/ |
D | display_7seg.h | 7 * SPDX-License-Identifier: Apache-2.0 15 * --- 16 * 1| |5 17 * -2- 18 * 0| |6 19 * --- 23 #define CHAR_OFF (0) 25 #define CHAR_0 (BIT(0) | BIT(1) | BIT(3) | BIT(4) | BIT(5) | BIT(6)) 26 #define CHAR_1 (BIT(5) | BIT(6)) 27 #define CHAR_2 (BIT(0) | BIT(2) | BIT(3) | BIT(4) | BIT(5)) [all …]
|