Searched +full:bit +full:- +full:per +full:- +full:seconds (Results 1 – 25 of 46) sorted by relevance
12
/Zephyr-latest/dts/bindings/led_strip/ |
D | worldsemi,ws2812-rpi_pico-pio.yaml | 2 # SPDX-License-Identifier: Apache-2.0 7 compatible: "worldsemi,ws2812-rpi_pico-pio" 9 include: pinctrl-device.yaml 12 bit-waveform: 15 This property defines the waveform for sending 1-bit data. 19 The T1 is equal to (T1H-T0H) or (T0L-T1L) in the datasheet. 21 Code-0 22 +------+ +--- 26 ---+ +-----------------+ 28 Code-1 [all …]
|
/Zephyr-latest/drivers/counter/ |
D | counter_cmos.c | 3 * SPDX-License-Identifier: Apache-2.0 5 * This barebones driver enables the use of the PC AT-style RTC 6 * (the so-called "CMOS" clock) as a primitive, 1Hz monotonic counter. 33 * type-punning to compare states will break. 49 * values in 'struct state' are BCD-encoded. 65 #define STATUS_B_24HR 0x02 /* 24-hour (vs 12-hour) mode */ 67 #define HOUR_PM 0x80 /* high bit of hour set = PM */ 101 /* Convert 8-bit (2-digit) BCD to binary equivalent. */ 119 y -= (m <= 2); in hinnant() 120 era = ((y >= 0) ? y : (y - 399)) / 400; in hinnant() [all …]
|
/Zephyr-latest/include/zephyr/ |
D | sys_clock.h | 2 * Copyright (c) 2014-2015 Wind River Systems, Inc. 4 * SPDX-License-Identifier: Apache-2.0 43 * is always a 64 bit count of ticks. 51 #define K_TICKS_FOREVER ((k_ticks_t) -1) 82 /** number of nanoseconds per micorsecond */ 85 /** number of nanoseconds per millisecond */ 88 /** number of microseconds per millisecond */ 91 /** number of milliseconds per second */ 94 /** number of seconds per minute */ 97 /** number of seconds per hour */ [all …]
|
/Zephyr-latest/tests/benchmarks/latency_measure/ |
D | testcase.yaml | 3 - arch 5 - kernel 6 - benchmark 11 - qemu_cortex_m0 12 - m2gl025_miv 16 - qemu_x86 17 - qemu_arc/qemu_arc_em 18 - qemu_riscv64/qemu_virt_riscv64/smp 22 regex: "(?P<metric>.*) - (?P<description>.*):(?P<cycles>.*) cycles ,(?P<nanoseconds>.*) ns" 24 - "PROJECT EXECUTION SUCCESSFUL" [all …]
|
/Zephyr-latest/include/zephyr/drivers/rtc/ |
D | maxim_ds3231.h | 4 * SPDX-License-Identifier: Apache-2.0 9 * @brief Real-time clock control based on the DS3231 counter API. 12 * DS3231](https://www.maximintegrated.com/en/products/analog/real-time-clocks/DS3231.html) 13 * is a high-precision real-time clock with temperature-compensated 28 * functionality exposed by this header to access the real-time-clock 46 /** @brief Bit in ctrl or ctrl_stat associated with alarm 1. */ 47 #define MAXIM_DS3231_ALARM1 BIT(0) 49 /** @brief Bit in ctrl or ctrl_stat associated with alarm 2. */ 50 #define MAXIM_DS3231_ALARM2 BIT(1) 57 /** @brief ctrl bit for alarm 1 interrupt enable. */ [all …]
|
/Zephyr-latest/doc/kernel/ |
D | timeutil.rst | 19 discontinuities due to `leap seconds <https://what-if.xkcd.com/26/>`__ and 45 * Seconds since an epoch. POSIX representations of time in this form include 48 <https://tools.ietf.org/html/rfc8536#section-2>`__. 50 * Calendar time as a year, month, day, hour, minutes, and seconds relative to 58 routines. For example, ``time_t`` measuring seconds since the POSIX EPOCH is 61 Sub-second timestamps like ``struct timespec`` can also use this to produce 62 the calendar time representation and deal with sub-second offsets separately. 80 source may provide data in whole or fractional seconds (e.g. microseconds). 84 conditioned by a 1-pulse-per-second GPS signal will be much more accurate 85 than a Zephyr system clock driven by a RC oscillator with a +/- 250 ppm [all …]
|
/Zephyr-latest/samples/boards/96boards/argonkey/microphone/ |
D | README.rst | 1 .. zephyr:code-sample:: argonkey_microphone 3 :relevant-api: audio_interface 5 Acquire audio through the ArgonKey's on-board MP34DT05 microphone. 10 the on-board MP34DT05 microphone. The microphone generates a PDM 22 - mezzanine mode, plugging the ArgonKey to HiKey board through its 96Board 23 low-speed connector 24 - standalone mode, supplying 5V directly on P1 connector 29 - :ref:`96b_argonkey` 34 .. zephyr-app-commands:: 35 :zephyr-app: samples/boards/96boards/argonkey/microphone [all …]
|
/Zephyr-latest/drivers/pwm/ |
D | pwm_mchp_xec_bbled.c | 4 * SPDX-License-Identifier: Apache-2.0 50 * Pulse_ON_width = (1/Fpwm) * (duty_cycle/256) seconds 51 * Puse_OFF_width = (1/Fpwm) * (256 - duty_cycle) seconds 52 * where duty_cycle is an 8-bit value 0 to 255. 53 * Prescale is derived from DELAY register LOW_DELAY 12-bit field 54 * Duty cycle is derived from LIMITS register MINIMUM 8-bit field 56 * Fc in Hz, Tp in seconds 61 * BBLED PWM mode duty cycle specified by 8-bit MIN field of the LIMITS register 140 * DELAY.LO = pre-scaler = [0, 4095] 142 * Writing bit[6]=1 causes HW to update DELAY at the beginning of [all …]
|
/Zephyr-latest/drivers/adc/ |
D | adc_ads1x1x.c | 5 * SPDX-License-Identifier: Apache-2.0 33 #define ADS1X1X_CONFIG_OS BIT(15) 36 #define ADS1X1X_CONFIG_MODE BIT(8) 38 #define ADS1X1X_CONFIG_COMP_MODE BIT(4) 39 #define ADS1X1X_CONFIG_COMP_POL BIT(3) 40 #define ADS1X1X_CONFIG_COMP_LAT BIT(2) 42 #define ADS1X1X_THRES_POLARITY_ACTIVE BIT(15) 63 /* ADS111X, ADS101X samples per second */ 64 /* 8, 128 samples per second */ 66 /* 16, 250 samples per second */ [all …]
|
D | adc_ads114s0x.c | 4 * SPDX-License-Identifier: Apache-2.0 12 #include <zephyr/dt-bindings/adc/ads114s0x_adc.h> 85 FIELD_GET(GENMASK(pos + length - 1, pos), value) 87 target &= ~GENMASK(pos + length - 1, pos); \ 88 target |= FIELD_PREP(GENMASK(pos + length - 1, pos), value) 356 * - AIN0 as positive input 357 * - AIN1 as negative input 363 * - disable reference monitor 364 * - enable positive reference buffer 365 * - disable negative reference buffer [all …]
|
/Zephyr-latest/include/zephyr/xen/public/ |
D | xen.h | 1 /* SPDX-License-Identifier: MIT */ 33 #include "arch-arm.h" 178 * DOMID_IO is used to restrict page-table updates to mapping I/O memory. 182 * aren't adjusted on the I/O-mapping code path). 194 * - HYPERVISOR_mmu_update()'s, HYPERVISOR_mmuext_op()'s, or 196 * - with XENMAPSPACE_gmfn_foreign, 221 * Event channel endpoints per domain (when using the 2-level ABI): 231 * looking for changes to 'version'. If the least-significant bit of 245 * ((((tsc - tsc_timestamp) << tsc_shift) * tsc_to_system_mul) >> 32) 265 * 'evtchn_upcall_pending' is written non-zero by Xen to indicate [all …]
|
/Zephyr-latest/samples/net/mqtt_sn_publisher/compose/ |
D | mosquitto.conf | 14 # Use per listener security settings. 19 # options are controlled on a per listener basis. The following options are 50 # Defaults to 'auto-' 51 #auto_id_prefix auto- 62 # QoS 1 and 2 messages will be allowed inflight per client until this limit 67 # The maximum number of QoS 1 and 2 messages currently inflight per 71 # maximum. Setting to 1 will guarantee in-order delivery of QoS 1 110 # QoS 1 and 2 messages above those currently in-flight will be queued per 121 # The maximum number of QoS 1 and 2 messages to hold in a queue per client 122 # above those that are currently in-flight. Defaults to 1000. Set [all …]
|
/Zephyr-latest/include/zephyr/net/ |
D | conn_mgr_connectivity_impl.h | 4 * SPDX-License-Identifier: Apache-2.0 47 * to by if_conn->iface. 49 * Must be non-blocking. 57 * stop any in-progress attempts to associate to a network, the bound iface pointed to by 58 * if_conn->iface. 60 * Must be non-blocking. 71 * per-bound-iface initialization. 81 * Used to set implementation-specific connectivity settings. 87 * specific to the bound iface (pointed to by if_conn->iface), or can apply to the whole 102 * Used to retrieve implementation-specific connectivity settings. [all …]
|
/Zephyr-latest/include/zephyr/sys/ |
D | timeutil.h | 4 * SPDX-License-Identifier: Apache-2.0 12 * inverse transformations are non-standard or require access to time 44 * @brief Convert broken-down time to a POSIX epoch offset in seconds. 50 * @see http://man7.org/linux/man-pages/man3/timegm.3.html 55 * @brief Convert broken-down time to a POSIX epoch offset in seconds. 60 * the time cannot be represented then @c (time_t)-1 is returned and 63 * @see http://man7.org/linux/man-pages/man3/timegm.3.html 140 * State objects should be zero-initialized before use. 159 * parts-per-million faster or slower than specified. 188 * @retval -EINVAL if the new instant is not compatible with the base instant [all …]
|
/Zephyr-latest/boards/weact/mini_stm32h743/doc/ |
D | index.rst | 13 - STM32 microcontroller in LQFP100 package 14 - USB OTG or full-speed device 15 - 1 user LED 16 - User, boot, and reset push-buttons 17 - 32.768 kHz and 25MHz HSE crystal oscillators 18 - External NOR Flash memories: 64-Mbit Quad-SPI and 64-Mbit SPI 19 - Board connectors: 20 - Camera (8 bit) connector 21 - ST7735 TFT-LCD 160 x 80 pixels (RGB565 3-SPI) 22 - microSD |trade| card [all …]
|
/Zephyr-latest/boards/weact/mini_stm32h7b0/doc/ |
D | index.rst | 13 - STM32 microcontroller in LQFP100 package 14 - USB OTG or full-speed device 15 - 1 user LED 16 - User, boot, and reset push-buttons 17 - 32.768 kHz and 25MHz HSE crystal oscillators 18 - External NOR Flash memories: 64-Mbit Quad-SPI and 64-Mbit SPI 19 - Board connectors: 21 - Camera (8 bit) connector 22 - ST7735 TFT-LCD 160 x 80 pixels (RGB565 3-SPI) 23 - microSD |trade| card [all …]
|
/Zephyr-latest/include/zephyr/drivers/ |
D | rtc.h | 5 * SPDX-License-Identifier: Apache-2.0 39 #define RTC_ALARM_TIME_MASK_SECOND BIT(0) 40 #define RTC_ALARM_TIME_MASK_MINUTE BIT(1) 41 #define RTC_ALARM_TIME_MASK_HOUR BIT(2) 42 #define RTC_ALARM_TIME_MASK_MONTHDAY BIT(3) 43 #define RTC_ALARM_TIME_MASK_MONTH BIT(4) 44 #define RTC_ALARM_TIME_MASK_YEAR BIT(5) 45 #define RTC_ALARM_TIME_MASK_WEEKDAY BIT(6) 46 #define RTC_ALARM_TIME_MASK_YEARDAY BIT(7) 47 #define RTC_ALARM_TIME_MASK_NSEC BIT(8) [all …]
|
/Zephyr-latest/drivers/timer/ |
D | stm32_lptim_timer.c | 5 * SPDX-License-Identifier: Apache-2.0 54 * - system clock based on an LPTIM instance, clocked by LSI or LSE 55 * - prescaler is set to a 2^value from 1 (division of the LPTIM source clock by 1) 57 * - using LPTIM AutoReload capability to trig the IRQ (timeout irq) 58 * - when timeout irq occurs the counter is already reset 59 * - the maximum timeout duration is reached with the lptim_time_base value 60 * - with prescaler of 1, the max timeout (LPTIM_TIMEBASE) is 2 seconds: 62 * - with prescaler of 128, the max timeout (LPTIM_TIMEBASE) is 256 seconds: 74 /* A 32bit value cannot exceed 0xFFFFFFFF/LPTIM_TIMEBASE counting cycles. 88 (COND_CODE_1(CONFIG_SMP, (arch_curr_cpu()->id), (_current_cpu->id))) [all …]
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | Kconfig | 3 # Copyright (c) 2016-2020 Nordic Semiconductor ASA 4 # Copyright (c) 2015-2016 Intel Corporation 5 # SPDX-License-Identifier: Apache-2.0 8 bool "Dedicated workqueue for long-running tasks." 11 Adds an API for a workqueue dedicated to long-running tasks. 23 int "Long workqueue priority. Should be pre-emptible." 58 # the worst-case stack size if an out-of-tree controller is used. 70 # Hidden option for Co-Operative Tx thread priority 97 bool "Process low priority HCI packets in the bluetooth-specific work queue" 100 in the bluetooth-specific work queue. The HCI driver shall not call bt_recv_prio(). [all …]
|
/Zephyr-latest/samples/bluetooth/peripheral_csc/src/ |
D | main.c | 1 /* main.c - Bluetooth Cycling Speed and Cadence app main entry point */ 6 * SPDX-License-Identifier: Apache-2.0 71 #define CSC_FEAT_WHEEL_REV BIT(0) 72 #define CSC_FEAT_CRANK_REV BIT(1) 73 #define CSC_FEAT_MULTI_SENSORS BIT(2) 76 #define CSC_WHEEL_REV_DATA_PRESENT BIT(0) 77 #define CSC_CRANK_REV_DATA_PRESENT BIT(1) 103 uint8_t *value = attr->user_data; in read_location() 147 switch (req->op) { in write_ctrl_point() 149 if (len != sizeof(req->op) + sizeof(req->cwr)) { in write_ctrl_point() [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ |
D | Kconfig.ll_sw_split | 3 # Copyright (c) 2016-2017 Nordic Semiconductor ASA 4 # SPDX-License-Identifier: Apache-2.0 120 # Hidden, Controller's Co-Operative high priority Rx thread stack size. 125 # Hidden, Controller's Co-Operative Rx thread stack size. 152 https://www.bluetooth.com/specifications/assigned-numbers/company-identifiers 168 Legacy Non-Directed Advertising mode. 180 zero-based numbering. When using with Zephyr host this option can be 198 Set the number of unique Mesh Scan Filter patterns available per 233 module-str = "Bluetooth Controller ISO-AL" 237 bool "ISO-AL verbose debug logging" [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/mesh/ |
D | blob_cli.h | 4 * SPDX-License-Identifier: Apache-2.0 99 /** Bit field indicating blocks that were not received. */ 122 /** Additional response time for the Target nodes, in 10-second increments. 129 * timeout = 20 seconds + (10 seconds * timeout_base) + (100 ms * TTL) 149 /** Max number of chunks per block. */ 255 * Called when all Target nodes have responded or the procedure timed-out. 279 /** If true, non-responsive Target nodes won't be dropped after transfer has timed out. */ 331 * Retrieving the capabilities may take several seconds, depending on the
|
/Zephyr-latest/subsys/net/ip/ |
D | ipv6_pe.c | 9 * SPDX-License-Identifier: Apache-2.0 41 * seconds value internally for applicable options. These are also values 53 /* This is the upper bound on DESYNC_FACTOR. The value is in seconds. 63 #define DESYNC_FACTOR(ipv6) ((ipv6)->desync_factor) 67 /* The REGEN_ADVANCE is in seconds 139 ARRAY_FOR_EACH(ipv6->unicast, i) { in ipv6_pe_prefix_already_exists() 140 if (!ipv6->unicast[i].is_used || in ipv6_pe_prefix_already_exists() 141 ipv6->unicast[i].address.family != AF_INET6 || in ipv6_pe_prefix_already_exists() 142 !ipv6->unicast[i].is_temporary || in ipv6_pe_prefix_already_exists() 143 ipv6->unicast[i].addr_state == NET_ADDR_DEPRECATED) { in ipv6_pe_prefix_already_exists() [all …]
|
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/ |
D | shell.rst | 30 sub-commands. Every time the device boots up, make sure to call ``mesh init`` before any of the 43 The simplest way to provision the device is through self-provisioning. To do this the user must 49 devices, as long as they're assigned non-overlapping unicast addresses. Alternatively, to provision 51 ``mesh prov pb-adv on`` or ``mesh prov pb-gatt on``. The beacons can be picked up by an external 68 ``mesh prov local`` command above), we can perform self-configuration through any of the 73 uart:~$ mesh models cfg get-comp 89 uart:~$ mesh test net-send 82020100 120 .. list-table:: Parameter formats 122 :header-rows: 1 124 * - Type [all …]
|
/Zephyr-latest/soc/intel/intel_adsp/tools/ |
D | cavstool.py | 3 # SPDX-License-Identifier: Apache-2.0 19 log = logging.getLogger("cavs-fw") 23 HUGEPAGE_FILE = "/dev/hugepages/cavs-fw-dma.tmp." 28 # Window 1 is the IPC "inbox" (host-writable memory, just 384 bytes currently) 30 # Window 3 is winstream-formatted log output 43 # pylint: disable=duplicate-code 101 log.info("Setting buffer list, length, and stream id and traffic priority bit") 106 self.regs.LVI = self.n_bufs - 1 143 # bdl is 2 (64bits, 16 bytes) per entry, we have two 169 # noop per the spec, but absolutely required for stability. [all …]
|
12