Home
last modified time | relevance | path

Searched refs:range (Results 1 – 25 of 747) sorted by relevance

12345678910>>...30

/Zephyr-latest/samples/modules/tflite-micro/magic_wand/train/
Ddata_augmentation.py32 for i in range(len(data[0]))]
33 for j in range((int(len(data) / molecule) - 1) * denominator)]
34 for i in range(int(len(data) / molecule) - 1):
35 for j in range(len(data[i])):
36 for k in range(denominator):
52 for num in range(5): # pylint: disable=unused-variable
57 tmp_data = [[0 for i in range(len(data[0]))] for j in range(len(data))]
58 for num in range(5):
59 for i in range(len(tmp_data)): # pylint: disable=consider-using-enumerate
60 for j in range(len(tmp_data[i])):
Ddata_prepare.py89 for i in range(100):
102 for j in range(128):
110 for i in range(100):
117 for j in range(128):
123 for i in range(100):
133 for j in range(128):
157 for idx in range(5):
/Zephyr-latest/samples/sensor/veaa_x_3/src/
Dmain.c18 struct sensor_value range, setpoint, pressure; in main() local
28 (enum sensor_attribute)SENSOR_ATTR_VEAA_X_3_RANGE, &range); in main()
33 printk("Valve range: %u to %u kPa\n", range.val1, range.val2); in main()
40 setpoint.val1 = range.val1; in main()
65 if (setpoint.val1 > range.val2) { in main()
66 setpoint.val1 = range.val1; in main()
/Zephyr-latest/drivers/can/
DKconfig.mcux35 range 1 96 if SOC_SERIES_S32K3
36 range 1 32 if SOC_SERIES_S32K1 && !SOC_S32K142W && !SOC_S32K144W
37 range 1 64 if SOC_S32K142W || SOC_S32K144W
38 range 1 128 if SOC_SERIES_S32ZE
45 range 1 15 if SOC_SERIES_KINETIS_KE1XF || SOC_SERIES_KINETIS_K6X
46 range 1 13 if (SOC_SERIES_IMXRT10XX || SOC_SERIES_IMXRT11XX) && CAN_MCUX_FLEXCAN_FD
47 range 1 63 if SOC_SERIES_IMXRT10XX || SOC_SERIES_IMXRT11XX
48 range 1 96 if SOC_SERIES_S32K3
49 range 1 32 if SOC_SERIES_S32K1 && !SOC_S32K142W && !SOC_S32K144W
50 range 1 64 if SOC_S32K142W || SOC_S32K144W
[all …]
/Zephyr-latest/subsys/net/lib/mqtt_sn/
DKconfig17 range $(UINT8_MAX) $(UINT16_MAX)
22 range 1 $(UINT8_MAX)
27 range 1 $(UINT8_MAX)
32 range 1 $(UINT16_MAX)
37 range 1 $(UINT8_MAX)
42 range 1 $(UINT8_MAX)
51 range 1 $(UINT8_MAX)
56 range 1 $(UINT8_MAX)
61 range 1 $(UINT8_MAX)
72 range 1 20
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/
Dsol_pdu_rpl_srv.c19 uint16_t range, in sol_rpl_status_rsp() argument
26 net_buf_simple_add_le16(&buf, range); in sol_rpl_status_rsp()
40 uint16_t primary, range; in item_clear() local
49 range = net_buf_simple_pull_le16(buf); in item_clear()
50 primary = range >> 1; in item_clear()
53 if (range & BIT(0)) { in item_clear()
75 sol_rpl_status_rsp(mod, ctx, range, len); in item_clear()
Dsol_pdu_rpl_cli.c30 uint16_t primary, range; in handle_status() local
39 range = net_buf_simple_pull_le16(buf); in handle_status()
40 primary = range >> 1; in handle_status()
45 if (range & BIT(0)) { in handle_status()
83 uint16_t range; in sol_pdu_rpl_clear_pdu_create() local
85 range = range_start << 1 | (range_len >= 2 ? 1U : 0); in sol_pdu_rpl_clear_pdu_create()
86 net_buf_simple_add_le16(msg, range); in sol_pdu_rpl_clear_pdu_create()
/Zephyr-latest/samples/sensor/isl29035/
DREADME.rst15 read sample. If the sensor detects an intensity outside that range the
16 application wakes, displays the intensity, resets the intensity range
41 ALERT 365 lux outside range centered on 0 lux.
45 ALERT 302 lux outside range centered on 365 lux.
48 ALERT 247 lux outside range centered on 302 lux.
51 ALERT 187 lux outside range centered on 247 lux.
54 ALERT 126 lux outside range centered on 187 lux.
57 ALERT 181 lux outside range centered on 126 lux.
60 ALERT 235 lux outside range centered on 181 lux.
63 ALERT 301 lux outside range centered on 235 lux.
[all …]
/Zephyr-latest/drivers/clock_control/
Dclock_stm32l4_l5_wb_wl.c23 #define CALC_RUN_MSI_FREQ(range) __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSIRANGESEL_RUN, \ argument
24 range << RCC_CR_MSIRANGE_Pos);
26 #define CALC_RUN_MSI_FREQ(range) __LL_RCC_CALC_MSI_FREQ(range << RCC_CR_MSIRANGE_Pos); argument
/Zephyr-latest/tests/drivers/gnss/gnss_api/
DKconfig8 range 0 255
13 range 0 255
18 range 0 255
23 range 0 255
/Zephyr-latest/subsys/net/l2/ethernet/lldp/
DKconfig26 range 1 3600
35 range 1 100
57 range 1 7
76 range 0 0xff
83 range 0 0xff
90 range 0 0xff
97 range 0 0xff
104 range 0 0xff
111 range 0 0xff
127 range 1 7
[all …]
/Zephyr-latest/drivers/sensor/st/lis2dux12/
Dlis2dux12_api.c20 lis2dux12_md_t mode = {.odr = odr, .fs = data->range}; in st_lis2dux12_set_odr_raw()
26 static int32_t st_lis2dux12_set_range(const struct device *dev, uint8_t range) in st_lis2dux12_set_range() argument
32 lis2dux12_md_t val = { .odr = data->odr, .fs = range }; in st_lis2dux12_set_range()
39 switch (range) { in st_lis2dux12_set_range()
53 LOG_ERR("range %d not supported.", range); in st_lis2dux12_set_range()
57 data->range = range; in st_lis2dux12_set_range()
68 lis2dux12_md_t mode = {.fs = data->range}; in st_lis2dux12_sample_fetch_accel()
229 LOG_DBG("%s: range is %d", dev->name, cfg->range); in st_lis2dux12_init()
230 ret = st_lis2dux12_set_range(dev, cfg->range); in st_lis2dux12_init()
232 LOG_ERR("%s: range init error %d", dev->name, cfg->range); in st_lis2dux12_init()
Dlis2duxs12_api.c20 lis2duxs12_md_t mode = {.odr = odr, .fs = data->range}; in st_lis2duxs12_set_odr_raw()
26 static int32_t st_lis2duxs12_set_range(const struct device *dev, uint8_t range) in st_lis2duxs12_set_range() argument
32 lis2duxs12_md_t val = { .odr = data->odr, .fs = range }; in st_lis2duxs12_set_range()
39 switch (range) { in st_lis2duxs12_set_range()
53 LOG_ERR("range %d not supported.", range); in st_lis2duxs12_set_range()
57 data->range = range; in st_lis2duxs12_set_range()
68 lis2duxs12_md_t mode = {.fs = data->range}; in st_lis2duxs12_sample_fetch_accel()
229 LOG_DBG("%s: range is %d", dev->name, cfg->range); in st_lis2duxs12_init()
230 ret = st_lis2duxs12_set_range(dev, cfg->range); in st_lis2duxs12_init()
232 LOG_ERR("%s: range init error %d", dev->name, cfg->range); in st_lis2duxs12_init()
/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/
Dstorage.c62 ctl->light->range = (uint32_t) ((ctl->light->range_max << 16) | in save_lightness_range()
65 settings_save_one("ps/lr", &ctl->light->range, in save_lightness_range()
66 sizeof(ctl->light->range)); in save_lightness_range()
71 ctl->temp->range = (uint32_t) ((ctl->temp->range_max << 16) | in save_temperature_range()
74 settings_save_one("ps/tr", &ctl->temp->range, sizeof(ctl->temp->range)); in save_temperature_range()
175 len = read_cb(cb_arg, &ctl->light->range, in ps_set()
176 sizeof(ctl->light->range)); in ps_set()
180 len = read_cb(cb_arg, &ctl->temp->range, in ps_set()
181 sizeof(ctl->temp->range)); in ps_set()
/Zephyr-latest/drivers/sensor/bosch/bmi08x/
Dbmi08x.c48 int32_t bmi08x_range_to_reg_val(uint16_t range, const struct bmi08x_range *range_map, in bmi08x_range_to_reg_val() argument
54 if (range <= range_map[i].range) { in bmi08x_range_to_reg_val()
69 return range_map[i].range; in bmi08x_reg_val_to_range()
/Zephyr-latest/tests/posix/common/
DKconfig8 range 10 100
15 range 50 1000
22 range 10 500
29 range 16 1024
/Zephyr-latest/drivers/sensor/tdk/mpu6050/
DKconfig57 int "Accelerometer full-scale range"
60 Magnetometer full-scale range.
61 An X value for the config represents a range of +/- X g. Valid
65 int "Gyroscope full-scale range"
68 Gyroscope full-scale range.
69 An X value for the config represents a range of +/- X degrees/second.
/Zephyr-latest/subsys/bluetooth/audio/
DKconfig.bap41 range 0 $(UINT8_MAX)
49 range 0 $(UINT8_MAX)
56 range 1 24
66 range 0 $(UINT8_MAX)
74 range 0 $(UINT8_MAX)
82 range 1 BT_ISO_MAX_CIG
91 range 1 BT_ISO_MAX_CHAN if BT_ISO_MAX_CHAN < 31
92 range 1 31
101 range 0 $(UINT8_MAX)
109 range 0 $(UINT8_MAX)
[all …]
/Zephyr-latest/drivers/ethernet/
DKconfig.nxp_imx_netc36 range 1 1024
46 range 1 1023
53 range 8 256
60 range 64 1536
68 range 1 1023
75 range 8 256
82 range 64 1536
/Zephyr-latest/drivers/sensor/maxim/max30101/
DKconfig16 range 0 7
42 range 0 15
71 int "ADC range control"
72 range 0 3
75 Set the ADC's full-scale range.
83 range 0 7
101 range 0 0xff
115 range 0 0xff
129 range 0 0xff
145 range 0 7
[all …]
/Zephyr-latest/drivers/sensor/espressif/esp32_temp/
Desp32_temp.c30 temp_sensor_dac_offset_t range; member
76 data->temp_sensor.dac_offset = conf->range; in esp32_temp_init()
91 .range = (temp_sensor_dac_offset_t) DT_INST_PROP(inst, range), \
/Zephyr-latest/modules/hal_nordic/nrfs/dvfs/
DKconfig25 range 1 10000000
31 range 1 10000000
38 range 256 2048
44 range -16 NUM_PREEMPT_PRIORITIES
/Zephyr-latest/drivers/sensor/st/lsm6dsl/
DKconfig88 int "Gyroscope full-scale range"
91 Specify the default gyroscope full-scale range.
92 An X value for the config represents a range of +/- X degree per
103 range 0 10
121 int "Accelerometer full-scale range"
124 Specify the default accelerometer full-scale range.
125 An X value for the config represents a range of +/- X G. Valid values
135 range 0 11
/Zephyr-latest/subsys/net/lib/lwm2m/
DKconfig.ucifi39 range 1 4
46 range 0 20
54 range 0 20
62 range 0 20
70 range 0 20
79 range 0 64
87 range 0 20
96 range 0 20
/Zephyr-latest/drivers/sensor/st/lsm303dlhc_magn/
DKconfig15 int "Magnetometer measurement range"
17 range 1 7
31 range 0 7

12345678910>>...30