/Zephyr-latest/doc/hardware/peripherals/can/ |
D | timing.svg | 2 …:xlink="http://www.w3.org/1999/xlink" width="263pt" height="74pt" viewBox="0 0 263 74" version="1.… 5 <symbol overflow="visible" id="glyph0-0"> 9 …C 2.984375 -3.359375 2.984375 -3.421875 2.90625 -3.421875 C 2.890625 -3.421875 2.859375 -3.421875 … 12 …C 2.734375 -1.6875 2.828125 -1.875 3.1875 -1.875 L 3.1875 -2.09375 C 3.078125 -2.078125 2.9375 -2.… 15 …C 2.90625 -2 2.546875 -2.140625 2.09375 -2.140625 C 1.578125 -2.140625 1.296875 -1.859375 1.1875 -… 18 …C 2.109375 -1.90625 2.0625 -1.828125 2.0625 -1.734375 C 2.0625 -1.578125 2.1875 -1.484375 2.328125… 21 …C 2.609375 -1.09375 2.65625 -1.09375 2.65625 -1.203125 C 2.65625 -1.53125 2.46875 -2.171875 1.5625… 24 …C 2.453125 -2.03125 2.671875 -2.03125 2.75 -2.03125 C 2.734375 -2.015625 2.71875 -1.984375 2.71875… 27 …C 3.171875 -1.46875 3.890625 -1.84375 3.890625 -2.375 C 3.890625 -2.890625 3.25 -3.3125 2.46875 -3… 30 …C 1.1875 -1.53125 1.4375 -1.96875 1.90625 -1.984375 C 1.890625 -1.96875 1.828125 -1.90625 1.828125… [all …]
|
D | transceiver.svg | 2 …xlink="http://www.w3.org/1999/xlink" width="466pt" height="289pt" viewBox="0 0 466 289" version="1… 5 <symbol overflow="visible" id="glyph0-0"> 9 …C 4.28125 -3.453125 4.28125 -3.515625 4.203125 -3.515625 C 4.15625 -3.515625 4.140625 -3.5 4.10937… 12 …C 2.578125 -3.53125 2.5625 -3.5625 2.4375 -3.5625 C 2.359375 -3.5625 2.3125 -3.546875 2.265625 -3.… 15 …C 1.484375 -3.40625 1.484375 -3.40625 1.375 -3.40625 L 0.40625 -3.40625 L 0.40625 -3.1875 L 0.6093… 18 …C 3.453125 -0.765625 3.328125 -0.21875 2.359375 -0.21875 L 1.734375 -0.21875 C 1.5 -0.21875 1.5 -0… 21 …C 3.921875 -3.140625 3.921875 -3.1875 4.328125 -3.1875 L 4.46875 -3.1875 L 4.46875 -3.40625 C 4.25… 24 …C 0.65625 -3.078125 0.84375 -3.140625 1.65625 -3.140625 C 1.765625 -3.140625 1.9375 -3.140625 1.96… 27 …C 1.265625 -3.234375 1.125 -3.375 0.953125 -3.375 C 0.796875 -3.375 0.65625 -3.25 0.65625 -3.07812… 30 …C 4.71875 -2.125 4.25 -2.203125 3.890625 -2.203125 C 3.390625 -2.203125 3.109375 -1.953125 2.96875… [all …]
|
/Zephyr-latest/doc/connectivity/canbus/ |
D | isotp_sequence.svg | 2 …xlink="http://www.w3.org/1999/xlink" width="350pt" height="336pt" viewBox="0 0 350 336" version="1… 5 <symbol overflow="visible" id="glyph0-0"> 9 …C 1.328125 -6.46875 1.359375 -6.359375 1.359375 -6 L 1.359375 -0.78125 C 1.359375 -0.421875 1.3281… 12 …C 1.015625 -3.984375 1.109375 -3.921875 1.109375 -3.4375 L 1.109375 -0.75 C 1.109375 -0.3125 1 -0.… 15 …C 0.984375 -3.984375 1.0625 -3.921875 1.0625 -3.421875 L 1.0625 -0.75 C 1.0625 -0.3125 0.953125 -0… 18 …C 2.296875 -1.890625 3.109375 -1.734375 3.109375 -1.015625 C 3.109375 -0.515625 2.765625 -0.109375… 21 …C 1.46875 -5.3125 1.171875 -4.25 0.1875 -4.203125 L 0.1875 -3.984375 L 1.03125 -3.984375 L 1.03125… 24 …C 3.359375 -0.359375 3.625 0.0625 4.09375 0.0625 C 4.3125 0.0625 4.921875 -0.078125 4.921875 -0.89… 27 …C 1.09375 -0.3125 0.984375 -0.3125 0.3125 -0.3125 L 0.3125 0 C 0.671875 -0.015625 1.171875 -0.0312… 30 …C 1.171875 -4 2.015625 -4.25 2.359375 -4.25 C 3.375 -4.25 3.484375 -2.90625 3.484375 -2.515625 Z M… [all …]
|
/Zephyr-latest/lib/utils/ |
D | hex.c | 2 * Copyright (c) 2019 Nordic Semiconductor ASA 12 int char2hex(char c, uint8_t *x) in char2hex() argument 14 if ((c >= '0') && (c <= '9')) { in char2hex() 15 *x = c - '0'; in char2hex() 16 } else if ((c >= 'a') && (c <= 'f')) { in char2hex() 17 *x = c - 'a' + 10; in char2hex() 18 } else if ((c >= 'A') && (c <= 'F')) { in char2hex() 19 *x = c - 'A' + 10; in char2hex() 24 return 0; in char2hex() 27 int hex2char(uint8_t x, char *c) in hex2char() argument [all …]
|
/Zephyr-latest/boards/arm/fvp_baser_aemv8r/ |
D | board.cmake | 1 # Copyright (c) 2021 Arm Limited (or its affiliates). All rights reserved. 11 -C cluster0.has_aarch64=1 12 -C cluster0.VMSA_supported=0 13 -C cluster0.NUM_CORES=${CONFIG_MP_MAX_NUM_CPUS} 14 -C cluster0.gicv3.cpuintf-mmap-access-level=2 15 -C cluster0.gicv3.SRE-enable-action-on-mmap=2 16 -C cluster0.gicv3.SRE-EL2-enable-RAO=1 17 -C cluster0.gicv3.extended-interrupt-range-support=1 18 -C gic_distributor.GICD_CTLR-DS-1-means-secure-only=1 19 -C gic_distributor.has-two-security-states=0 [all …]
|
/Zephyr-latest/samples/subsys/usb_c/sink/ |
D | README.rst | 1 .. zephyr:code-sample:: usb-c-sink 2 :name: Basic USB-C Sink 5 Implement a USB-C Power Delivery application in the form of a USB-C Sink. 10 This example demonstrates how to create a USB-C Power Delivery application and 11 how to generate USB VIF policies in XML format using the USB-C subsystem. The 12 application implements a USB-C Sink device. 14 After the USB-C Sink device is plugged into a Power Delivery charger, it 18 .. _usb-c-sink-sample-requirements: 23 node that's compatible with ``usb-c-connector``. 56 RECV 4161/4 [0]0a01912c [1]0002d12c [2]0004b12c [3]000640e1 [all …]
|
/Zephyr-latest/soc/nxp/s32/common/ |
D | mc_me.c | 15 #define MC_ME_CTL_KEY 0x0 16 #define MC_ME_CTL_KEY_KEY_MASK GENMASK(15, 0) 19 #define MC_ME_MODE_CONF 0x4 20 #define MC_ME_MODE_CONF_DEST_RST_MASK BIT(0) 27 #define MC_ME_MODE_UPD 0x8 28 #define MC_ME_MODE_UPD_MODE_UPD_MASK BIT(0) 31 #define MC_ME_MODE_STAT 0xc 32 #define MC_ME_MODE_STAT_PREV_MODE_MASK BIT(0) 35 #define MC_ME_MAIN_COREID 0x10 36 #define MC_ME_MAIN_COREID_CIDX_MASK GENMASK(2, 0) [all …]
|
/Zephyr-latest/tests/posix/c_lib_ext/src/ |
D | fnmatch.c | 2 * Copyright (c) 2023 Meta 12 * https://git.musl-libc.org/cgit/libc-testsuite/tree/fnmatch.c 18 zassert_ok(fnmatch("*.c", "foo.c", 0)); in ZTEST() 19 zassert_ok(fnmatch("*.c", ".c", 0)); in ZTEST() 20 zassert_equal(fnmatch("*.a", "foo.c", 0), FNM_NOMATCH); in ZTEST() 21 zassert_ok(fnmatch("*.c", ".foo.c", 0)); in ZTEST() 22 zassert_equal(fnmatch("*.c", ".foo.c", FNM_PERIOD), FNM_NOMATCH); in ZTEST() 23 zassert_ok(fnmatch("*.c", "foo.c", FNM_PERIOD)); in ZTEST() 24 zassert_equal(fnmatch("a\\*.c", "a*.c", FNM_NOESCAPE), FNM_NOMATCH); in ZTEST() 25 zassert_equal(fnmatch("a\\*.c", "ax.c", 0), FNM_NOMATCH); in ZTEST() [all …]
|
D | getopt.c | 2 * Copyright (c) 2021 Nordic Semiconductor 22 "cmd_name", "-b", "-a", "-h", "-c", "-l", "-h", "-a", "-i", "-w", in ZTEST() 27 int cnt = 0; in ZTEST() 28 int c; in ZTEST() local 37 c = getopt(argc, argv, accepted_opt); in ZTEST() 42 zassert_equal(c, expected[cnt++], "unexpected opt character"); in ZTEST() 43 } while (c != -1); in ZTEST() 45 c = getopt(argc, argv, accepted_opt); in ZTEST() 46 zassert_equal(c, -1, "unexpected opt character"); in ZTEST() 63 [GETOPT_IDX_OPTION2] = "-c", in ZTEST() [all …]
|
/Zephyr-latest/samples/sensor/jc42/ |
D | README.rst | 15 maintains a |plusminus| 2 |deg| C window around the current temperature. 26 C and +100 |deg| C to a digital word with |plusminus| 0.5 |deg| C (max.) 60 Trtrigger fired 1, temp 15.9375 C 62 er set got 0 63 0:00:00.017: 15.9375 C 64 0:00:02.020: 16 C 65 0:00:04.022: 16.125 C 66 0:00:06.024: 16.1875 C 67 trigger fired 2, temp 16.3125 C 69 0:00:08.027: 16.3125 C [all …]
|
/Zephyr-latest/boards/shields/st7789v_generic/ |
D | st7789v_waveshare_240x240.overlay | 2 * Copyright (c) 2019 Jan Van Winkel <jan.van_winkel@dxplore.eu> 3 * Copyright (c) 2019 PHYTEC Messtechnik GmbH 22 #size-cells = <0>; 24 st7789v_st7789v_waveshare_240x240: st7789v@0 { 27 reg = <0>; 30 x-offset = <0>; 31 y-offset = <0>; 32 vcom = <0x19>; 33 gctrl = <0x35>; 34 vrhs = <0x12>; [all …]
|
D | st7789v_tl019fqv01.overlay | 2 * Copyright (c) 2019 Jan Van Winkel <jan.van_winkel@dxplore.eu> 20 #size-cells = <0>; 22 st7789v_st7789v_tl019fqv01: st7789v@0 { 25 reg = <0>; 28 x-offset = <0>; 30 vcom = <0x2b>; 31 gctrl = <0x35>; 32 vrhs = <0x0f>; 33 vdvs = <0x20>; 34 mdac = <0x60>; [all …]
|
/Zephyr-latest/lib/heap/ |
D | heap_validate.c | 2 * Copyright (c) 2019 Intel Corporation 21 #define VALIDATE(cond) do { if (!(cond)) { return false; } } while (0) 23 static bool in_bounds(struct z_heap *h, chunkid_t c) in in_bounds() argument 25 VALIDATE(c >= right_chunk(h, 0)); in in_bounds() 26 VALIDATE(c < h->end_chunk); in in_bounds() 27 VALIDATE(chunk_size(h, c) < h->end_chunk); in in_bounds() 31 static bool valid_chunk(struct z_heap *h, chunkid_t c) in valid_chunk() argument 33 VALIDATE(chunk_size(h, c) > 0); in valid_chunk() 34 VALIDATE((c + chunk_size(h, c)) <= h->end_chunk); in valid_chunk() 35 VALIDATE(in_bounds(h, c)); in valid_chunk() [all …]
|
/Zephyr-latest/drivers/console/ |
D | posix_arch_console.c | 2 * Copyright (c) 2018 Oticon A/S 3 * Copyright (c) 2023 Nordic Semiconductor ASA 17 static int print_char(int c) in print_char() argument 19 int printnow = 0; in print_char() 21 if ((c != '\n') && (c != '\r')) { in print_char() 22 stdout_buff[n_pend++] = c; in print_char() 23 stdout_buff[n_pend] = 0; in print_char() 34 n_pend = 0; in print_char() 35 stdout_buff[0] = 0; in print_char() 37 return c; in print_char() [all …]
|
/Zephyr-latest/include/zephyr/arch/arm/cortex_a_r/ |
D | lib_helpers.h | 2 * Copyright (c) 2022 IoT.bzh 20 __asm__ volatile ("mrc p15, " #op1 ", %0, c" #CRn ", c" \ 27 __asm__ volatile ("mcr p15, " #op1 ", %0, c" #CRn ", c" \ 34 __asm__ volatile ("mrrc p15, " #op1 ", %Q0, %R0, c" \ 41 __asm__ volatile ("mcrr p15, " #op1 ", %Q0, %R0, c" \ 65 MAKE_REG_HELPER(mpuir, 0, 0, 0, 4); 66 MAKE_REG_HELPER(mpidr, 0, 0, 0, 5); 67 MAKE_REG_HELPER(sctlr, 0, 1, 0, 0); 68 MAKE_REG_HELPER(prselr, 0, 6, 2, 1); 69 MAKE_REG_HELPER(prbar, 0, 6, 3, 0); [all …]
|
/Zephyr-latest/boards/arm/fvp_base_revc_2xaemv8a/ |
D | board.cmake | 1 # Copyright (c) 2021 Carlo Caione <ccaione@baylibre.com> 8 -C bp.secure_memory=0 9 -C cluster0.NUM_CORES=${CONFIG_MP_MAX_NUM_CPUS} 10 -C bp.refcounter.non_arch_start_at_default=1 12 -C bp.pl011_uart0.out_file=- 13 -C bp.pl011_uart0.unbuffered_output=1 14 -C bp.terminal_0.start_telnet=0 16 -C bp.pl011_uart1.out_file=- 17 -C bp.pl011_uart1.unbuffered_output=1 18 -C bp.terminal_1.start_telnet=0 [all …]
|
/Zephyr-latest/lib/libc/minimal/source/stdlib/ |
D | strtoll.c | 4 * Copyright (c) 1990 The Regents of the University of California. 47 register int c; in strtoll() local 49 register int neg = 0, any, cutlim; in strtoll() 53 * If base is 0, allow 0x for hex and 0 for octal, else in strtoll() 54 * assume decimal; if base is already 16, allow 0x. in strtoll() 57 c = *s++; in strtoll() 58 } while (isspace(c) != 0); in strtoll() 59 if (c == '-') { in strtoll() 61 c = *s++; in strtoll() 62 } else if (c == '+') { in strtoll() [all …]
|
D | strtoul.c | 4 * Copyright (c) 1990 Regents of the University of California. 47 register int c; in strtoul() local 49 register int neg = 0, any, cutlim; in strtoul() 55 c = *s++; in strtoul() 56 } while (isspace((unsigned char)c) != 0); in strtoul() 57 if (c == '-') { in strtoul() 59 c = *s++; in strtoul() 60 } else if (c == '+') { in strtoul() 61 c = *s++; in strtoul() 64 if (((base == 0) || (base == 16)) && in strtoul() [all …]
|
D | strtol.c | 4 * Copyright (c) 1990 The Regents of the University of California. 47 register int c; in strtol() local 49 register int neg = 0, any, cutlim; in strtol() 53 * If base is 0, allow 0x for hex and 0 for octal, else in strtol() 54 * assume decimal; if base is already 16, allow 0x. in strtol() 57 c = *s++; in strtol() 58 } while (isspace((unsigned char)c) != 0); in strtol() 59 if (c == '-') { in strtol() 61 c = *s++; in strtol() 62 } else if (c == '+') { in strtol() [all …]
|
D | strtoull.c | 4 * Copyright (c) 1990 Regents of the University of California. 47 register int c; in strtoull() local 49 register int neg = 0, any, cutlim; in strtoull() 55 c = *s++; in strtoull() 56 } while (isspace(c) != 0); in strtoull() 57 if (c == '-') { in strtoull() 59 c = *s++; in strtoull() 60 } else if (c == '+') { in strtoull() 61 c = *s++; in strtoull() 64 if ((base == 0 || base == 16) && c == '0' && (*s == 'x' || *s == 'X')) { in strtoull() [all …]
|
/Zephyr-latest/subsys/net/lib/http/ |
D | http_parser_url.c | 3 /* Based on src/http/ngx_http_parse.c from NGINX copyright Igor Sysoev 51 # define T(v) 0 58 /* 0 nul 1 soh 2 stx 3 etx 4 eot 5 enq 6 ack 7 bel */ 59 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0, 61 0 | T(2) | 0 | 0 | T(16) | 0 | 0 | 0, 63 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0, 65 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0, 67 0 | 2 | 4 | 0 | 16 | 32 | 64 | 128, 70 /* 48 0 49 1 50 2 51 3 52 4 53 5 54 6 55 7 */ 73 1 | 2 | 4 | 8 | 16 | 32 | 64 | 0, [all …]
|
/Zephyr-latest/doc/build/dts/ |
D | zephyr_dt_inputs_outputs.svg | 4 …0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 434.88 150 L 427.88 153.5 L 4…
|
/Zephyr-latest/doc/hardware/peripherals/ |
D | mspi.rst | 37 The usual device defining macros such as :c:macro:`DEVICE_DT_INST_DEFINE` 43 * Check :c:struct:`mspi_cfg` against hardware's own capabilities to prevent 52 * Configure the hardware using :c:struct:`mspi_cfg` and possibly more 55 * Usually, the :c:struct:`mspi_cfg` is filled from device tree and contains 56 static, boot time parameters. However, if needed, one can use :c:func:`mspi_config` 61 #. Perform device driver initialization. As usually, :c:macro:`DEVICE_DT_INST_DEFINE` 65 #. Call :c:func:`mspi_dev_config` with device specific hardware settings obtained 68 * The :c:struct:`mspi_dev_cfg` should be filled by device tree and helper macro 69 :c:macro:`MSPI_DEVICE_CONFIG_DT` can be used. 71 * The controller driver should then validate the members of :c:struct:`mspi_dev_cfg` [all …]
|
/Zephyr-latest/samples/subsys/fs/zms/ |
D | README.rst | 15 #. A binary blob representing a key/value pair: stored at id=0xbeefdead, 16 data={0xDE, 0xAD, 0xBE, 0xEF, 0xDE, 0xAD, 0xBE, 0xEF} 55 [00:00:00.000,000] <inf> fs_zms: alloc wra: 0, fc0 56 [00:00:00.000,000] <inf> fs_zms: data wra: 0, 0 57 ITERATION: 0 63 [00:00:00.000,000] <inf> fs_zms: alloc wra: 0, f80 64 [00:00:00.000,000] <inf> fs_zms: data wra: 0, 8c 70 Id: 2, loop_cnt: 0 72 …0 1 2 3 4 5 6 7 8 9 a b c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21 22 23 24 25 … 73 …4 55 56 57 58 59 5a 5b 5c 5d 5e 5f 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f 70 71 72 73 74 … [all …]
|
/Zephyr-latest/subsys/console/ |
D | tty.c | 2 * Copyright (c) 2018 Linaro Limited. 12 static int tty_irq_input_hook(struct tty_serial *tty, uint8_t c); 13 static int tty_putchar(struct tty_serial *tty, uint8_t c); 22 uint8_t c; in tty_uart_isr() local 25 if (uart_fifo_read(dev, &c, 1) == 0) { in tty_uart_isr() 28 tty_irq_input_hook(tty, c); in tty_uart_isr() 41 tty->tx_get = 0U; in tty_uart_isr() 48 static int tty_irq_input_hook(struct tty_serial *tty, uint8_t c) in tty_irq_input_hook() argument 53 rx_next = 0; in tty_irq_input_hook() 62 tty->rx_ringbuf[tty->rx_put] = c; in tty_irq_input_hook() [all …]
|