Home
last modified time | relevance | path

Searched +full:max +full:- +full:value (Results 1 – 25 of 699) sorted by relevance

12345678910>>...28

/Zephyr-latest/dts/bindings/sdhc/
Dsdhc.yaml2 # SPDX-License-Identifier: Apache-2.0
11 max-current-330:
15 Max drive current in mA at 3.3V. A value of zero indicates no maximum
18 max-current-300:
22 Max drive current in mA at 3.0V. A value of zero indicates no maximum
25 max-current-180:
29 Max drive current in mA at 1.8V. A value of zero indicates no maximum
32 max-bus-freq:
39 min-bus-freq:
46 power-delay-ms:
[all …]
/Zephyr-latest/dts/bindings/ieee802154/
Datmel,rf2xx.yaml1 # Copyright (c) 2019-2020 Gerson Fernando Budke <nandojve@gmail.com>
2 # SPDX-License-Identifier: Apache-2.0
8 include: spi-device.yaml
11 irq-gpios:
12 type: phandle-array
15 reset-gpios:
16 type: phandle-array
19 slptr-gpios:
20 type: phandle-array
23 Multi-functional pin that controls sleep, deep sleep, transmit
[all …]
/Zephyr-latest/drivers/watchdog/
DKconfig.stm323 # Copyright (c) 2016 Open-RnD Sp. z o.o.
6 # SPDX-License-Identifier: Apache-2.0
17 int "Value for IWDG timeout in ms"
22 Set initial timeout value for IWDG in ms if enabled at boot.
24 The min timeout supported is 1 ms. The max timeout depends on the
27 max. prescaler value (256) * max. reload ticks (4096) / LSI freq.
29 Limiting maximum timeout to a safe value of 26214 ms here, which was
Dwdt_wwdgt_gd32.c4 * SPDX-License-Identifier: Apache-2.0
33 /* counter update value*/
42 * @param timeout Timeout value in milliseconds.
49 * count = (timeout * pclk / INTERNAL_DIVIDER * (2^prescaler_exp) ) - 1
51 * and add WWDGT_COUNTER_MIN to this as a offset value.
56 const struct gd32_wwdgt_config *config = dev->config; in gd32_wwdgt_calc_ticks()
60 (clock_control_subsys_t)&config->clkid, in gd32_wwdgt_calc_ticks()
64 / (WWDGT_INTERNAL_DIVIDER * (1 << exp) * MSEC_PER_SEC) - 1) in gd32_wwdgt_calc_ticks()
69 * @brief Calculates WWDGT config value from timeout window.
72 * @param counter Pointer to the storage of counter value.
[all …]
Dwdt_opentitan.c4 * SPDX-License-Identifier: Apache-2.0
35 const struct wdt_ot_aontimer_cfg *const cfg = dev->config; in ot_aontimer_setup()
36 volatile uintptr_t regs = cfg->regs; in ot_aontimer_setup()
40 if (cfg->wdog_lock) { in ot_aontimer_setup()
50 const struct wdt_ot_aontimer_cfg *const cfg = dev->config; in ot_aontimer_disable()
51 volatile uintptr_t regs = cfg->regs; in ot_aontimer_disable()
54 LOG_ERR("Cannot disable - watchdog settings locked."); in ot_aontimer_disable()
55 return -EPERM; in ot_aontimer_disable()
61 return -EFAULT; in ot_aontimer_disable()
69 * The OpenTitan AON Timer includes a multi-level watchdog timer.
[all …]
/Zephyr-latest/dts/bindings/ethernet/
Datmel,gmac-common.yaml2 # Copyright (c) 2020-2021 Gerson Fernando Budke <nandojve@gmail.com>
3 # SPDX-License-Identifier: Apache-2.0
6 - name: ethernet-controller.yaml
7 - name: pinctrl-device.yaml
13 phy-handle:
16 num-queues:
22 max-frame-size:
28 means that normally gmac will reject any frame above max-frame-size
29 value. The default value is 1518, which represents an usual
34 When using value 1536 it is possible extend ethernet MAC HEADER up
[all …]
/Zephyr-latest/dts/bindings/input/
Danalog-axis.yaml2 # SPDX-License-Identifier: Apache-2.0
12 #include <zephyr/dt-bindings/input/input-event-codes.h>
15 compatible = "analog-axis";
16 poll-period-ms = <15>;
17 axis-x {
18 io-channels = <&adc 0>;
19 in-deadzone = <50>;
20 in-min = <100>;
21 in-max = <800>;
26 compatible: "analog-axis"
[all …]
Dxptek,xpt2046.yaml2 # SPDX-License-Identifier: Apache-2.0
7 include: spi-device.yaml
10 int-gpios:
11 type: phandle-array
15 touchscreen-size-x:
20 touchscreen-size-y:
25 min-x:
28 description: minimum raw X value reported.
30 min-y:
33 description: minimum raw Y value reported.
[all …]
/Zephyr-latest/tests/drivers/watchdog/wdt_error_cases/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
115 * -EFAULT when watchdog instance is not enabled.
129 zassert_true(ret == -EFAULT, in ZTEST()
130 "Calling wdt_disable before watchdog was started should return -EFAULT (-14), " in ZTEST()
131 "got unexpected value of %d", in ZTEST()
138 * Confirm that wdt_setup() returns error value or ASSERTION FAIL
151 "value of %d", in ZTEST()
158 * Confirm that wdt_feed() returns error value
169 zassert_true(ret == -EINVAL, in ZTEST()
170 "wdt_feed() shall return error value when called before wdt_setup(), got " in ZTEST()
[all …]
/Zephyr-latest/dts/bindings/charger/
Dti,bq25180.yaml2 # SPDX-License-Identifier: Apache-2.0
5 BQ25180 I2C Controlled, 1-Cell, 1-A Linear Battery Charger with Power Path
14 constant-charge-current-max-microamp = <500000>;
19 include: [battery.yaml, i2c-device.yaml]
23 constant-charge-current-max-microamp:
28 The value specified will be rounded down to the closest implemented
29 value. If set to 0 (default) skip setting the charge current value at
32 constant-charge-voltage-max-microvolt:
39 precharge-voltage-threshold-microvolt:
/Zephyr-latest/dts/bindings/counter/
Dnordic,nrf-timer.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "nordic,nrf-timer"
14 cc-num:
19 max-bit-width:
27 max-frequency:
33 The default value is 16MHz which was the maximum frequency for all nRF TIMER peripherals
40 description: Prescaler value determines frequency (max-frequency/2^prescaler)
/Zephyr-latest/subsys/net/lib/dhcpv6/
Ddhcpv6_internal.h4 * SPDX-License-Identifier: Apache-2.0
51 #define DHCPV6_SOL_MAX_DELAY 1000 /* Max delay of first Solicit, milliseconds */
53 #define DHCPV6_SOL_MAX_RT 3600000 /* Max Solicit timeout value, milliseconds */
55 #define DHCPV6_REQ_MAX_RT 30000 /* Max Request timeout value, milliseconds */
56 #define DHCPV6_REQ_MAX_RC 10 /* Max Request retry attempts */
57 #define DHCPV6_CNF_MAX_DELAY 1000 /* Max delay of first Confirm, milliseconds */
59 #define DHCPV6_CNF_MAX_RT 4000 /* Max Confirm timeout, milliseconds */
60 #define DHCPV6_CNF_MAX_RD 10000 /* Max Confirm duration, milliseconds */
62 #define DHCPV6_REN_MAX_RT 600000 /* Max Renew timeout value, milliseconds */
64 #define DHCPV6_REB_MAX_RT 600000 /* Max Rebind timeout value, milliseconds */
[all …]
/Zephyr-latest/include/zephyr/drivers/
Demul_sensor.h3 * SPDX-License-Identifier: Apache-2.0
29 /** Sets a given fractional value for a given sensor channel. */
31 const q31_t *value, int8_t shift);
35 /** Set the attribute value(s) of a given channel. */
37 enum sensor_attribute attribute, const void *value);
40 enum sensor_attribute attribute, q31_t *min, q31_t *max,
56 return target && target->backend_api; in emul_sensor_backend_is_supported()
60 * @brief Set an expected value for a given channel on a given sensor emulator
63 * @param ch Sensor channel to set expected value for
64 * @param value Expected value in fixed-point format using standard SI unit for sensor type
[all …]
/Zephyr-latest/subsys/net/ip/
DKconfig.ipv64 # SPDX-License-Identifier: Apache-2.0
16 int "Max number of IPv6 network interfaces in the system"
25 int "Max number of unicast IPv6 addresses per network interface"
31 int "Max number of multicast IPv6 addresses per network interface"
36 int "Max number of IPv6 prefixes per network interface"
42 int "Initial IPv6 MTU value"
46 The value should normally be 1280 which is the minimum IPv6 packet
62 int "Initial IPv6 hop limit value for unicast packets"
66 The value should normally be > 0. The device receiving the IPv6
67 packet will decrement the value and will drop the packet if the hop
[all …]
DKconfig.ipv44 # SPDX-License-Identifier: Apache-2.0
15 int "Max number of IPv4 network interfaces in the system"
24 int "Max number of unicast IPv4 addresses per network interface"
30 int "Max number of multicast IPv4 addresses per network interface"
46 int "Initial IPv4 time to live value for unicast packets"
50 The value should normally be > 0. The device receiving the IPv4
51 packet will decrement the value and will drop the packet if the TTL
52 value is 0. When sending, the packet is dropped before transmitting
56 int "Initial IPv4 time to live value for multicast packets"
60 The value should normally be > 0. The device receiving the IPv4
[all …]
/Zephyr-latest/scripts/gitlint/
Dzephyr_commit_rules.py1 # SPDX-License-Identifier: Apache-2.0
4 The classes below are examples of user-defined CommitRules. Commit rules are gitlint rules that
22 name = "body-min-line-count"
24 # A rule MUST have an *unique* id, we recommend starting with UC (for User-defined Commit-rule).
28 … options_spec = [IntOption('min-line-count', 1, "Minimum body line count excluding Signed-off-by")]
31 …filtered = [x for x in commit.message.body if not x.lower().startswith("signed-off-by") and x != '…
33 min_line_count = self.options['min-line-count'].value
40 name = "body-max-line-count"
42 # A rule MUST have an *unique* id, we recommend starting with UC (for User-defined Commit-rule).
46 options_spec = [IntOption('max-line-count', 200, "Maximum body line count")]
[all …]
/Zephyr-latest/subsys/bindesc/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
8 Binary Descriptors - constant data accessible outside of the executable image
24 int "Bindesc max data size"
29 limit to this value is the maximum value of a uint16_t (65535), in practice
30 it's recommened to keep this value much smaller for easier handling of the data.
42 module-str = Binary Descriptor read
64 int "Bindesc read flash max data size"
69 the value set to BINDESC_DEFINE_MAX_DATA_SIZE by the read image.
/Zephyr-latest/drivers/dma/
DKconfig.dw_axi_dmac4 # SPDX-License-Identifier: Apache-2.0
27 This flag can be enabled if hardware support Linked List multi-block transfer
33 Max timeout to abort or disable the channel
36 int "max burst transaction length"
39 set max number of source and destination data units supported
48 int "max block size"
51 update this config to set maximum value of block size
/Zephyr-latest/drivers/counter/
DKconfig.mcux_ctimer4 # SPDX-License-Identifier: Apache-2.0
14 bool "reserve a ctimer channel to set the top value"
18 This reserves a CTimer channel to set the top value. Without
19 this the set top value can be set only to the max counter value.
/Zephyr-latest/include/zephyr/
Dsys_clock.h2 * Copyright (c) 2014-2015 Wind River Systems, Inc.
4 * SPDX-License-Identifier: Apache-2.0
51 #define K_TICKS_FOREVER ((k_ticks_t) -1)
119 #if defined(__cplusplus) && ((__cplusplus - 0) < 202002L)
127 # define Z_TIMEOUT_MS(t) Z_TIMEOUT_TICKS((k_ticks_t)k_ms_to_ticks_ceil64(MAX(t, 0)))
128 # define Z_TIMEOUT_US(t) Z_TIMEOUT_TICKS((k_ticks_t)k_us_to_ticks_ceil64(MAX(t, 0)))
129 # define Z_TIMEOUT_NS(t) Z_TIMEOUT_TICKS((k_ticks_t)k_ns_to_ticks_ceil64(MAX(t, 0)))
130 # define Z_TIMEOUT_CYC(t) Z_TIMEOUT_TICKS((k_ticks_t)k_cyc_to_ticks_ceil64(MAX(t, 0)))
131 # define Z_TIMEOUT_MS_TICKS(t) ((k_ticks_t)k_ms_to_ticks_ceil64(MAX(t, 0)))
133 # define Z_TIMEOUT_MS(t) Z_TIMEOUT_TICKS((k_ticks_t)k_ms_to_ticks_ceil32(MAX(t, 0)))
[all …]
/Zephyr-latest/subsys/mgmt/updatehub/
DKconfig1 # Copyright (c) 2018-2023 O.S.Systems
2 # SPDX-License-Identifier: Apache-2.0
5 bool "UpdateHub Firmware Over-the-Air support"
23 UpdateHub is an enterprise-grade solution which makes simple to
25 handles all aspects related to sending Firmware Over-the-Air
27 focus in adding value to your product.
45 int "Max number of supported hardware"
49 Configure the max number of supported hardware
56 Server (updatehub-ce) as alternative to the
60 string "User address for the updatehub-ce-server"
[all …]
/Zephyr-latest/drivers/led/
Dled_shell.c4 * SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/dt-bindings/led/led.h>
33 return -ENODEV; in parse_common_args()
40 return -EINVAL; in parse_common_args()
57 shell_print(sh, "%s: turning off LED %d", dev->name, led); in cmd_off()
78 shell_print(sh, "%s: turning on LED %d", dev->name, led); in cmd_on()
123 shell_print(sh, "%s: getting LED %d information", dev->name, led); in cmd_get_info()
131 shell_print(sh, "Label : %s", info->label ? : "<NULL>"); in cmd_get_info()
132 shell_print(sh, "Index : %d", info->index); in cmd_get_info()
133 shell_print(sh, "Num colors : %d", info->num_colors); in cmd_get_info()
[all …]
/Zephyr-latest/dts/bindings/battery/
Dbattery.yaml2 # SPDX-License-Identifier: Apache-2.0
11 device-chemistry:
14 The "lithium-ion" value is a blanket type for all lithium-ion batteries.
15 If the specific chemistry is unknown, this value can be used instead of
16 the precise "lithium-ion-X" options.
18 - "nickel-cadmium"
19 - "nickel-metal-hydride"
20 - "lithium-ion"
21 - "lithium-ion-polymer"
22 - "lithium-ion-iron-phosphate"
[all …]
/Zephyr-latest/dts/bindings/regulator/
Dnxp,pca9420.yaml2 # SPDX-License-Identifier: Apache-2.0
34 nxp,enable-modesel-pins:
40 nxp,vin-ilim-microamp:
44 - 85000
45 - 255000
46 - 425000
47 - 595000
48 - 765000
49 - 935000
50 - 1105000
[all …]
/Zephyr-latest/subsys/bluetooth/host/classic/
Dhfp_hf.c1 /* hfp_hf.c - Hands free Profile - Handsfree side handling */
4 * Copyright (c) 2015-2016 Intel Corporation
6 * SPDX-License-Identifier: Apache-2.0
49 uint32_t max; member
60 /* HFP Hands-Free SDP record */
120 * values of the Bits 0 to 4 of the AT-command AT+BRSF (see Section 5.3).
133 err = bt_rfcomm_dlc_disconnect(&hf->rfcomm_dlc); in hf_slc_error()
135 LOG_ERR("Rfcomm: Unable to disconnect :%d", -err); in hf_slc_error()
147 at_register(&hf->at, resp, finish); in hfp_hf_send_cmd()
152 return -ENOMEM; in hfp_hf_send_cmd()
[all …]

12345678910>>...28