Home
last modified time | relevance | path

Searched +full:- +full:vstart (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/dts/bindings/stepper/adi/
Dadi,trinamic-ramp-generator.yaml1 # SPDX-FileCopyrightText: Copyright (c) 2024 Carl Zeiss Meditec AG
2 # SPDX-License-Identifier: Apache-2.0
4 description: Ramp Generator Motion Control Register-Set for Trinamic stepper controller.
7 vstart:
13 Normally, set VSTOP ≥ VSTART! VSTART may be
21 First acceleration between VSTART and V1 in [µsteps/ta²](unsigned)
43 Motion ramp target velocity in [µsteps/t] (for positioning ensure VMAX ≥ VSTART) (unsigned)
67 Attention: Set VSTOP ≥ VSTART!
78 seconds. This setting avoids excess acceleration e.g. from VSTOP to -VSTART.
84 Hold current in % of run current (0-100)
[all …]
Dadi,tmc5041.yaml1 # SPDX-FileCopyrightText: Copyright (c) 2024 Carl Zeiss Meditec AG
2 # SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/dt-bindings/stepper/adi/tmc5041_reg.h>
14 /* Dual controller/driver for up to two 2-phase bipolar stepper motors */
18 spi-max-frequency = <DT_FREQ_M(24)>; /* Maximum SPI bus frequency */
20 #address-cells = <1>;
21 #size-cells = <0>;
24 clock-frequency = <DT_FREQ_M(16)>; /* Internal/External Clock frequency */
31 invert-direction;
32 micro-step-res = <256>;
[all …]
/Zephyr-latest/include/zephyr/drivers/stepper/
Dstepper_trinamic.h9 * SPDX-FileCopyrightText: Copyright (c) 2024 Carl Zeiss Meditec AG
11 * SPDX-License-Identifier: Apache-2.0
38 #define TMC_RAMP_VMAX_MAX (GENMASK(22, 0) - 512)
50 #define TMC_RAMP_TZEROWAIT_MAX (GENMASK(15, 0) - 512)
66 uint32_t vstart; member
84 COND_CODE_1(DT_PROP_EXISTS(node, vstart), \
85 BUILD_ASSERT(IN_RANGE(DT_PROP(node, vstart), TMC_RAMP_VSTART_MIN, \
86 TMC_RAMP_VSTART_MAX), "vstart out of range"), ()); \
136 .vstart = DT_PROP(node, vstart), \
158 * @retval -EIO General input / output error
[all …]
/Zephyr-latest/drivers/video/
Dov7725.c4 * SPDX-License-Identifier: Apache-2.0
378 const struct ov7725_config *cfg = dev->config; in ov7725_write_all()
383 err = ov7725_write_reg(&cfg->i2c, regs[i].addr, regs[i].value); in ov7725_write_all()
396 const struct ov7725_config *cfg = dev->config; in ov7725_set_clock()
401 ov7725_write_reg(&cfg->i2c, OV7725_CLKRC, in ov7725_set_clock()
403 ov7725_modify_reg(&cfg->i2c, OV7725_COM4, 0xc0, in ov7725_set_clock()
405 ov7725_write_reg(&cfg->i2c, OV7725_EXHCL, 0x00); in ov7725_set_clock()
406 ov7725_write_reg(&cfg->i2c, OV7725_DM_LNL, in ov7725_set_clock()
408 ov7725_write_reg(&cfg->i2c, OV7725_DM_LNH, 0x00); in ov7725_set_clock()
409 ov7725_write_reg(&cfg->i2c, OV7725_ADVFL, 0x00); in ov7725_set_clock()
[all …]
Dov2640.c4 * SPDX-License-Identifier: Apache-2.0
13 #include <zephyr/drivers/video-controls.h>
89 #define VSTART 0x19 macro
355 { VSTART, 0x01 }, /* UXGA=0x01, SVGA/CIF=0x00 */
407 { 0x00, 0x04, 0x09, 0x00, 0x00 }, /* -2 */
408 { 0x00, 0x04, 0x09, 0x10, 0x00 }, /* -1 */
417 { 0x00, 0x04, 0x07, 0x20, 0x18, 0x34, 0x06 }, /* -2 */
418 { 0x00, 0x04, 0x07, 0x20, 0x1c, 0x2a, 0x06 }, /* -1 */
427 { 0x00, 0x02, 0x03, 0x28, 0x28 }, /* -2 */
428 { 0x00, 0x02, 0x03, 0x38, 0x38 }, /* -1 */
[all …]
/Zephyr-latest/drivers/stepper/adi_tmc/
Dadi_tmc5041_stepper_controller.c2 * SPDX-FileCopyrightText: Copyright (c) 2024 Carl Zeiss Meditec AG
3 * SPDX-FileCopyrightText: Copyright (c) 2024 Jilay Sandeep Pandya
4 * SPDX-License-Identifier: Apache-2.0
59 const struct tmc5041_config *config = dev->config; in tmc5041_write()
60 struct tmc5041_data *data = dev->data; in tmc5041_write()
61 const struct spi_dt_spec bus = config->spi; in tmc5041_write()
64 k_sem_take(&data->sem, K_FOREVER); in tmc5041_write()
68 k_sem_give(&data->sem); in tmc5041_write()
79 const struct tmc5041_config *config = dev->config; in tmc5041_read()
80 struct tmc5041_data *data = dev->data; in tmc5041_read()
[all …]