/Zephyr-latest/samples/subsys/zbus/msg_subscriber/ |
D | README.rst | 31 [0/1] To exit from QEMU enter: 'CTRL+a, x'[QEMU] CPU: qemu32,+nx,+pae 35 I: From listener foo_lis -> Acc x=1, y=10, z=100 36 I: From msg subscriber bar_msg_sub1 -> Acc x=1, y=10, z=100 37 I: From msg subscriber bar_msg_sub2 -> Acc x=1, y=10, z=100 38 I: From msg subscriber bar_msg_sub3 -> Acc x=1, y=10, z=100 39 I: From msg subscriber bar_msg_sub4 -> Acc x=1, y=10, z=100 40 I: From msg subscriber bar_msg_sub5 -> Acc x=1, y=10, z=100 41 I: From msg subscriber bar_msg_sub6 -> Acc x=1, y=10, z=100 42 I: From msg subscriber bar_msg_sub7 -> Acc x=1, y=10, z=100 43 I: From msg subscriber bar_msg_sub8 -> Acc x=1, y=10, z=100 [all …]
|
D | sample.yaml | 17 - "^.*?D: 2 -> bar_msg_sub2" 34 - "^.*?I: From listener foo_lis -> Acc x=1, y=10, z=100" 35 - "^.*?I: From msg subscriber bar_msg_sub1 -> Acc x=1, y=10, z=100" 36 - "^.*?I: From msg subscriber bar_msg_sub2 -> Acc x=1, y=10, z=100" 37 - "^.*?I: From msg subscriber bar_msg_sub3 -> Acc x=1, y=10, z=100" 38 - "^.*?I: From msg subscriber bar_msg_sub4 -> Acc x=1, y=10, z=100" 39 - "^.*?I: From msg subscriber bar_msg_sub5 -> Acc x=1, y=10, z=100" 40 - "^.*?I: From msg subscriber bar_msg_sub6 -> Acc x=1, y=10, z=100" 41 - "^.*?I: From msg subscriber bar_msg_sub7 -> Acc x=1, y=10, z=100" 42 - "^.*?I: From msg subscriber bar_msg_sub8 -> Acc x=1, y=10, z=100" [all …]
|
/Zephyr-latest/arch/arm/core/ |
D | fatal.c | 23 LOG_ERR("r0/a1: 0x%08x r1/a2: 0x%08x r2/a3: 0x%08x", in esf_dump() 25 LOG_ERR("r3/a4: 0x%08x r12/ip: 0x%08x r14/lr: 0x%08x", in esf_dump() 27 LOG_ERR(" xpsr: 0x%08x", esf->basic.xpsr); in esf_dump() 30 LOG_ERR("s[%2d]: 0x%08x s[%2d]: 0x%08x" in esf_dump() 31 " s[%2d]: 0x%08x s[%2d]: 0x%08x", in esf_dump() 34 i + 2, (uint32_t)esf->fpu.s[i + 2], in esf_dump() 39 LOG_ERR("d[%2d]: 0x%16llx d[%2d]: 0x%16llx" in esf_dump() 40 " d[%2d]: 0x%16llx d[%2d]: 0x%16llx", in esf_dump() 43 i + 2, (uint64_t)esf->fpu.d[i + 2], in esf_dump() 47 LOG_ERR("fpscr: 0x%08x", esf->fpu.fpscr); in esf_dump() [all …]
|
/Zephyr-latest/drivers/sdhc/ |
D | sdhc_cdns_ll.h | 15 #define CDNS_HRS09_EXT_RD_MODE(x) ((x) << 2) argument 16 #define CDNS_HRS09_EXTENDED_WR(x) ((x) << 3) argument 17 #define CDNS_HRS09_RDCMD_EN(x) ((x) << 15) argument 18 #define CDNS_HRS09_RDDATA_EN(x) ((x) << 16) argument 27 #define CDNS_SRS09_STAT_DAT_BUSY BIT(2) 33 #define HS_EN BIT(2) 53 #define CDNS_SRS11_SDCE BIT(2) 65 * • 1110b - t_sdmclk*2(27+2) 66 * • 1101b - t_sdmclk*2(26+2) 81 #define BUFFER_BOUNDARY_16K 2U [all …]
|
/Zephyr-latest/samples/subsys/profiling/perf/images/ |
D | graph_example.svg | 39 if (params.x && params.y) 40 zoom(find_group(document.querySelector('[x="' + params.x + '"][y="' + params.y + '"]'))); 57 if (params.x) delete params.x; 68 params.x = el.attributes._orig_x.value; 162 t.attributes.x.value = parseFloat(r.attributes.x.value) + 3; 165 if (w < 2 * 12 * 0.59) { 179 for (var x = start; x > 0; x = x-2) { 180 if (t.getSubStringLength(0, x + 2) <= w) { 181 t.textContent = txt.substring(0, x) + ".."; 191 orig_load(e, "x"); [all …]
|
/Zephyr-latest/samples/drivers/spi_bitbang/src/ |
D | main.c | 41 printf(" wrote %04x %04x %04x %04x %04x\n", in test_basic_write_9bit_words() 42 buff[0], buff[1], buff[2], buff[3], buff[4]); in test_basic_write_9bit_words() 65 struct spi_buf tx_buf[2] = { in test_9bit_loopback_partial() 66 {.buf = buff, .len = (2) * stride}, in test_9bit_loopback_partial() 67 {.buf = buff + (2), .len = (datacount - 2)*stride}, in test_9bit_loopback_partial() 69 struct spi_buf rx_buf[2] = { in test_9bit_loopback_partial() 70 {.buf = 0, .len = (2) * stride}, in test_9bit_loopback_partial() 71 {.buf = rxdata, .len = (datacount - 2) * stride}, in test_9bit_loopback_partial() 74 struct spi_buf_set tx_set = { .buffers = tx_buf, .count = 2 }; in test_9bit_loopback_partial() 75 struct spi_buf_set rx_set = { .buffers = rx_buf, .count = 2 }; in test_9bit_loopback_partial() [all …]
|
/Zephyr-latest/lib/utils/ |
D | hex.c | 12 int char2hex(char c, uint8_t *x) in char2hex() argument 15 *x = c - '0'; in char2hex() 17 *x = c - 'a' + 10; in char2hex() 19 *x = c - 'A' + 10; in char2hex() 27 int hex2char(uint8_t x, char *c) in hex2char() argument 29 if (x <= 9) { in hex2char() 30 *c = x + (char)'0'; in hex2char() 31 } else if (x <= 15) { in hex2char() 32 *c = x - 10 + (char)'a'; in hex2char() 42 if (hexlen < ((buflen * 2U) + 1U)) { in bin2hex() [all …]
|
/Zephyr-latest/drivers/flash/ |
D | flash_cadence_qspi_nor_ll.h | 15 #define CAD_QSPI_ERROR -2 19 #define CAD_QSPI_ADDR_FASTREAD_QUAD_IO 2 22 #define CAT_QSPI_ADDR_QUAD_IO 2 24 #define CAD_QSPI_BANK_ADDR(x) ((x) >> 24) argument 31 #define CAD_QSPI_CFG_BAUDDIV(x) FIELD_PREP(0x780000, x) argument 33 #define CAD_QSPI_CFG_CS(x) (((x) << 11)) argument 41 #define CAD_QSPI_DELAY_CSSOT(x) (FIELD_GET(0xff, (x)) << 0) argument 42 #define CAD_QSPI_DELAY_CSEOT(x) (FIELD_GET(0xff, (x)) << 8) argument 43 #define CAD_QSPI_DELAY_CSDADS(x) (FIELD_GET(0xff, (x)) << 16) argument 44 #define CAD_QSPI_DELAY_CSDA(x) (FIELD_GET(0xff, (x)) << 24) argument [all …]
|
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/sensorhub/ |
D | README.rst | 1 .. zephyr:code-sample:: x-nucleo-iks02a1-shub 2 :name: X-NUCLEO-IKS02A1 shield - SensorHub (Mode 2) 5 Interact with all the sensors of an X-NUCLEO-IKS02A1 shield using Sensor Hub mode. 9 This sample is provided as an example to test the X-NUCLEO-IKS02A1 shield 10 configured in Sensor Hub mode (Mode 2). 11 Please refer to :ref:`x-nucleo-iks02a1` for more info on this configuration. 28 This sample communicates over I2C with the X-NUCLEO-IKS02A1 shield 43 - X-NUCLEO-IKS02A1: https://www.st.com/en/ecosystems/x-nucleo-iks02a1.html 48 This sample runs with X-NUCLEO-IKS02A1 stacked on any board with a matching 64 X-NUCLEO-IKS02A1 sensor Mode 2 dashboard [all …]
|
/Zephyr-latest/boards/shields/x_nucleo_iks01a2/doc/ |
D | index.rst | 3 X-NUCLEO-IKS01A2: MEMS Inertial and Environmental Multi sensor shield 8 The X-NUCLEO-IKS01A2 is a motion MEMS and environmental sensor expansion board 14 The X-NUCLEO-IKS01A2 interfaces with the STM32 microcontroller via the I2C pin, 17 .. image:: img/x-nucleo-iks01a2.jpg 19 :alt: X-NUCLEO-IKS01A2 22 `X-NUCLEO-IKS01A2 website`_. 27 X-NUCLEO-IKS01A2 provides the following key features: 30 - LSM6DSL MEMS 3D accelerometer (±2/±4/±8/±16 g) and 32 - LM303AGR MEMS 3D accelerometer (±2/±4/±8/±16 g) and 42 More information about X-NUCLEO-IKS01A2 can be found here: [all …]
|
/Zephyr-latest/drivers/sensor/adi/adxl372/ |
D | adxl372.h | 39 #define ADXL372_STATUS_2 0x05u /* Status register 2 */ 42 #define ADXL372_X_DATA_H 0x08u /* X-axis acceleration data [11:4] */ 43 #define ADXL372_X_DATA_L 0x09u /* X-axis acceleration data [3:0] */ 48 #define ADXL372_X_MAXPEAK_H 0x15u /* X-axis MaxPeak acceleration data */ 49 #define ADXL372_X_MAXPEAK_L 0x16u /* X-axis MaxPeak acceleration data */ 54 #define ADXL372_OFFSET_X 0x20u /* X axis offset */ 57 #define ADXL372_X_THRESH_ACT_H 0x23u /* X axis Activity Threshold [15:8] */ 58 #define ADXL372_X_THRESH_ACT_L 0x24u /* X axis Activity Threshold [7:0] */ 64 #define ADXL372_X_THRESH_INACT_H 0x2Au /* X axis Inactivity Threshold */ 65 #define ADXL372_X_THRESH_INACT_L 0x2Bu /* X axis Inactivity Threshold */ [all …]
|
/Zephyr-latest/samples/shields/x_nucleo_iks01a2/sensorhub/ |
D | README.rst | 1 .. zephyr:code-sample:: x-nucleo-iks01a2-shub 2 :name: X-NUCLEO-IKS01A2 shield - SensorHub (Mode 2) 5 Interact with all the sensors of an X-NUCLEO-IKS01A2 shield using Sensor Hub mode. 9 This sample is provided as an example to test the X-NUCLEO-IKS01A2 shield 10 configured in Sensor Hub mode (Mode 2). 11 Please refer to :ref:`x-nucleo-iks01a2` for more info on this configuration. 28 This sample communicates over I2C with the X-NUCLEO-IKS01A2 shield 30 Mode 2. 39 -X-NUCLEO-IKS01A2: https://www.st.com/en/ecosystems/x-nucleo-iks01a2.html 44 This sample runs with X-NUCLEO-IKS01A2 stacked on any board with a matching [all …]
|
/Zephyr-latest/soc/nxp/lpc/lpc11u6x/ |
D | soc.h | 29 * [0:2] function. 40 #define IOCON_PIO_FUNC(x) (((x) & 0x7)) argument 42 #define IOCON_PIO_MODE(x) (((x) & 0x3) << 3) argument 44 #define IOCON_PIO_HYS(x) (((x) & 0x1) << 5) argument 46 #define IOCON_PIO_INVERT(x) (((x) & 0x1) << 2) argument 48 #define IOCON_PIO_OD(x) (((x) & 0x1) << 10) argument 50 #define IOCON_PIO_SMODE(x) (((x) & 0x3) << 11) argument 52 #define IOCON_PIO_CLKDIV(x) (((x) & 0x7) << 13) argument 59 * [0:2] function. 72 #define IOCON_PIO_ADMODE(x) (((x) & 0x1) << 7) argument [all …]
|
/Zephyr-latest/drivers/interrupt_controller/ |
D | intc_esp32c3.c | 41 #define ESP32C3_INTC_SRCS_PER_IRQ 2 49 #define ESP32C6_INTC_SRCS_PER_IRQ 2 55 * - 2, 5, 6, 8 .. 31 are available for Zephyr 61 [2] = {IRQ_FREE, IRQ_FREE}, 78 /* in general case, each 2 sources goes routed to in esp_intr_find_irq_for_source() 142 for (int i = 0 ; i < ESP32C3_INTC_AVAILABLE_IRQS + 2; i++) { in esp_intr_initialize() 196 esp_intr_enabled_mask[2] |= (1 << (source - 64)); in esp_intr_alloc() 199 INTC_LOG("Enabled ISRs -- 0: 0x%X -- 1: 0x%X -- 2: 0x%X", in esp_intr_alloc() 200 esp_intr_enabled_mask[0], esp_intr_enabled_mask[1], esp_intr_enabled_mask[2]); in esp_intr_alloc() 237 esp_intr_enabled_mask[2] &= ~(1 << (source - 64)); in esp_intr_disable() [all …]
|
/Zephyr-latest/drivers/sensor/adi/adxl362/ |
D | adxl362.h | 65 #define ADXL362_STATUS_FIFO_WATERMARK (1 << 2) 70 #define ADXL362_ACT_INACT_CTL_LINKLOOP(x) (((x) & 0x3) << 4) argument 72 #define ADXL362_ACT_INACT_CTL_INACT_EN (1 << 2) 76 /* ADXL362_ACT_INACT_CTL_LINKLOOP(x) options */ 83 #define ADXL362_FIFO_CTL_FIFO_TEMP (1 << 2) 84 #define ADXL362_FIFO_CTL_FIFO_MODE(x) (((x) & 0x3) << 0) argument 86 /* ADXL362_FIFO_CTL_FIFO_MODE(x) options */ 89 #define ADXL362_FIFO_STREAM 2 98 #define ADXL362_INTMAP1_FIFO_WATERMARK (1 << 2) 108 #define ADXL362_INTMAP2_FIFO_WATERMARK (1 << 2) [all …]
|
/Zephyr-latest/dts/bindings/adc/ |
D | adc-controller.yaml | 41 - ADC_GAIN_1_6: x 1/6 42 - ADC_GAIN_1_5: x 1/5 43 - ADC_GAIN_1_4: x 1/4 44 - ADC_GAIN_1_3: x 1/3 45 - ADC_GAIN_2_5: x 2/5 46 - ADC_GAIN_1_2: x 1/2 47 - ADC_GAIN_2_3: x 2/3 48 - ADC_GAIN_4_5: x 4/5 49 - ADC_GAIN_1: x 1 50 - ADC_GAIN_2: x 2 [all …]
|
/Zephyr-latest/boards/shields/x_nucleo_iks02a1/doc/ |
D | index.rst | 3 X-NUCLEO-IKS02A1: MEMS Inertial and Environmental Multi sensor shield 8 The X-NUCLEO-IKS02A1 is a motion MEMS expansion board for the STM32 Nucleo, 15 The X-NUCLEO-IKS02A1 interfaces with the STM32 microcontroller via the I2C pin, 18 .. image:: img/x-nucleo-iks02a1.jpg 20 :alt: X-NUCLEO-IKS02A1 23 `X-NUCLEO-IKS02A1 website`_. 28 X-NUCLEO-IKS02A1 provides the following key features: 30 - ISM330DHCX MEMS 3D accelerometer (±2/±4/±8/±16 g) and 33 - IIS2DLPC MEMS 3D accelerometer low power (±2/±4/±8/±16 g) 45 X-NUCLEO-IKS02A1 board connects the various devices on two separate I2C bus: [all …]
|
/Zephyr-latest/samples/shields/x_nucleo_iks4a1/sensorhub2/ |
D | README.rst | 3 X-NUCLEO-IKS4A1: shield SHUB2 (Mode 2) sample 8 This sample is provided as an example to test the X-NUCLEO-IKS4A1 shield 9 configured in Sensor Hub mode (Mode 2). 10 Please refer to :ref:`x-nucleo-iks4a1-mode-2` for more info on this configuration. 24 This sample communicates over I2C with the X-NUCLEO-IKS4A1 shield 31 This sample runs with X-NUCLEO-IKS4A1 stacked on any board with a matching 46 X-NUCLEO-IKS01A4 sensor dashboard 48 LSM6DSO16IS: Accel (m.s-2): x: 0.081, y: -0.177, z: 9.945 49 LSM6DSO16IS: GYro (dps): x: 0.001, y: -0.000, z: 0.004 50 LSM6DSO16IS: Magn (gauss): x: 0.217, y: 0.015, z: -0.415 [all …]
|
/Zephyr-latest/samples/subsys/input/draw_touch_events/src/ |
D | main.c | 44 size_t x; member 52 touch_point.x = evt->value; in touch_event_callback() 68 int x; in clear_screen() local 71 for (x = 0; x < WIDTH; x += CROSS_DIM) { in clear_screen() 73 display_write(display_dev, x, y, &buf_desc, buffer_cross_empty); in clear_screen() 81 int x; in fill_cross_buffer() local 86 for (x = 0; x < CROSS_DIM; x++) { in fill_cross_buffer() 87 index = BPP * (CROSS_DIM / 2 * CROSS_DIM + x); in fill_cross_buffer() 91 index = BPP * (y * CROSS_DIM + CROSS_DIM / 2); in fill_cross_buffer() 99 if (value < CROSS_DIM / 2) { in get_draw_position() [all …]
|
/Zephyr-latest/boards/shields/x_nucleo_iks01a3/doc/ |
D | index.rst | 3 X-NUCLEO-IKS01A3: MEMS Inertial and Environmental Multi sensor shield 8 The X-NUCLEO-IKS01A3 is a motion MEMS and environmental sensor expansion board 14 The X-NUCLEO-IKS01A3 interfaces with the STM32 microcontroller via the I2C pin, 17 .. image:: img/x-nucleo-iks01a3.jpg 19 :alt: X-NUCLEO-IKS01A3 22 `X-NUCLEO-IKS01A3 website`_. 27 X-NUCLEO-IKS01A3 provides the following key features: 29 - LSM6DO MEMS 3D accelerometer (±2/±4/±8/±16 g) and 32 - LIS2DW12 MEMS 3D accelerometer (±2/±4/±8/±16 g) 46 X-NUCLEO-IKS01A3 board connects the various devices on two separate I2C bus: [all …]
|
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/sensorhub/ |
D | README.rst | 1 .. zephyr:code-sample:: x-nucleo-iks01a3-shub 2 :name: X-NUCLEO-IKS01A3 shield - SensorHub (Mode 2) 5 Interact with all the sensors of an X-NUCLEO-IKS01A3 shield using Sensor Hub mode. 9 This sample is provided as an example to test the X-NUCLEO-IKS01A3 shield 10 configured in Sensor Hub mode (Mode 2). 11 Please refer to :ref:`x-nucleo-iks01a3` for more info on this configuration. 33 This sample communicates over I2C with the X-NUCLEO-IKS01A3 shield 49 - X-NUCLEO-IKS01A3: https://www.st.com/en/ecosystems/x-nucleo-iks01a3.html 54 This sample runs with X-NUCLEO-IKS01A3 stacked on any board with a matching 70 X-NUCLEO-IKS01A3 sensor dashboard [all …]
|
/Zephyr-latest/samples/subsys/zbus/runtime_obs_registration/ |
D | sample.yaml | 21 - "I: --> Consuming data: Acc x=0, y=0, z=0" 22 - "I: --> Consuming data: Acc x=2, y=2, z=2" 23 - "I: --> Consuming data: Acc x=4, y=4, z=4" 24 - "I: --> Consuming data: Acc x=6, y=6, z=6" 25 - "I: --> Consuming data: Acc x=7, y=7, z=7" 26 - "I: --> Consuming data: Acc x=8, y=8, z=8" 27 - "I: --> Consuming data: Acc x=9, y=9, z=9" 28 - "I: --> Consuming data: Acc x=10, y=10, z=10"
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_max14916.h | 40 #define MAX149x6_DOI_LEVEL_MASK(x) BIT(x) argument 43 #define MAX14906_HIGHO_MASK(x) BIT(x) argument 45 #define MAX14906_DO_MASK(x) (GENMASK(1, 0) << (2 * (x))) argument 46 #define MAX14906_CH_DIR_MASK(x) BIT((x) + 4) argument 47 #define MAX14906_CH(x) (x) argument 49 #define MAX14906_CL_MASK(x) (GENMASK(1, 0) << (2 * (x))) argument 55 #define MAX14906_CHAN_MASK_LSB(x) BIT(x) argument 56 #define MAX14906_CHAN_MASK_MSB(x) BIT((x) + 4) argument 117 uint8_t FLED_STRETCH: 2; 130 uint8_t SHT_VDD_THR: 2; [all …]
|
/Zephyr-latest/drivers/sensor/ti/tmp108/ |
D | tmp108.h | 33 .TEMP_DIV = 2, \ 49 #define TI_TMP108_MODE_SHUTDOWN(x) 0 argument 50 #define TI_TMP108_MODE_ONE_SHOT(x) TI_TMP108_CONF_M0(x) argument 51 #define TI_TMP108_MODE_CONTINUOUS(x) TI_TMP108_CONF_M1(x) argument 52 #define TI_TMP108_MODE_MASK(x) ~(TI_TMP108_CONF_M0(x) | TI_TMP108_CONF_M1(x)) argument 54 #define TI_TMP108_FREQ_4_SECS(x) 0 argument 55 #define TI_TMP108_FREQ_1_HZ(x) TI_TMP108_GET_CONF(x, CONF_CR0) argument 56 #define TI_TMP108_FREQ_4_HZ(x) TI_TMP108_GET_CONF(x, CONF_CR1) argument 57 #define TI_TMP108_FREQ_16_HZ(x) (TI_TMP108_GET_CONF(x, CONF_CR1) | \ argument 58 TI_TMP108_GET_CONF(x, CONF_CR0)) [all …]
|
/Zephyr-latest/drivers/dai/intel/ssp/ |
D | ssp_regs_v1.h | 30 #define SSCR0_DSIZE(x) DAI_INTEL_SSP_SET_BITS(3, 0, (x) - 1) argument 31 #define SSCR0_DSIZE_GET(x) (((x) & DAI_INTEL_SSP_MASK(3, 0)) + 1) argument 35 #define SSCR0_NAT DAI_INTEL_SSP_SET_BITS(5, 4, 2) 40 #define SSCR0_SCR(x) DAI_INTEL_SSP_SET_BITS(19, 8, x) argument 45 #define SSCR0_FRDC(x) DAI_INTEL_SSP_SET_BITS(26, 24, (x) - 1) argument 46 #define SSCR0_FRDC_GET(x) ((((x) & DAI_INTEL_SSP_MASK(26, 24)) >> 24) + 1) argument 53 #define SSCR1_LBM BIT(2) 58 #define SSCR1_TFT(x) DAI_INTEL_SSP_SET_BITS(9, 6, (x) - 1) argument 60 #define SSCR1_RFT(x) DAI_INTEL_SSP_SET_BITS(13, 10, (x) - 1) argument 91 #define SSSR_TNF BIT(2) [all …]
|