Home
last modified time | relevance | path

Searched +full:step +full:- +full:down (Results 1 – 25 of 73) sorted by relevance

123

/Zephyr-latest/drivers/regulator/
DKconfig.mpm543042 # SPDX-License-Identifier: Apache-2.0
5 bool "MPM54304 DC/DC step-down power module"
10 Enable MPM54304 DC/DC step-down power module support.
/Zephyr-latest/samples/basic/servo_motor/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
8 * @file Sample app to demonstrate PWM-based servomotor control
20 #define STEP PWM_USEC(100) macro
23 DOWN, enumerator
36 printk("Error: PWM device %s is not ready\n", servo.dev->name); in main()
47 if (dir == DOWN) { in main()
52 pulse_width -= STEP; in main()
55 pulse_width += STEP; in main()
58 dir = DOWN; in main()
/Zephyr-latest/dts/bindings/usb/
Dusb-audio-feature-volume.yaml2 # SPDX-License-Identifier: Apache-2.0
8 compatible: "usb-audio-feature-volume"
13 volume-max:
19 The range from +127.9961 dB (0x7FFF) down to -127.9961 dB (0x8001).
20 Valid range: 0 - 0xFFFF
21 volume-min:
27 The range from +127.9961 dB (0x7FFF) down to -127.9961 dB (0x8001).
28 Valid range: 0 - 0xFFFF
29 volume-res:
34 This attribute represents the volume resolution(step).
[all …]
/Zephyr-latest/dts/bindings/stepper/adi/
Dadi,trinamic-gconf.yaml1 # SPDX-FileCopyrightText: Copyright (c) 2024 Carl Zeiss Meditec AG
2 # SPDX-License-Identifier: Apache-2.0
31 1: INDEX output shows step pulses from internal pulse generator (toggle upon each step)
37 1: INDEX pin shows the current step position of sequencer
43 1: Power down mode
59 pull-up or set poscmp_enable=1
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.
76 Waiting time after ramping down to zero velocity before next movement or direction
77 inversion can start and before motor power down starts. Time range is about 0 to 2
78 seconds. This setting avoids excess acceleration e.g. from VSTOP to -VSTART.
84 Hold current in % of run current (0-100)
101 Controls the number of clock cycles for motor power down after a motion as soon as TZEROWAIT
102 has expired. The smooth transition avoids a motor jerk upon power down.
103 0: instant power down
[all …]
/Zephyr-latest/modules/hal_nordic/nrfs/dvfs/
Dld_dvfs.h4 * SPDX-License-Identifier: Apache-2.0
43 * @return -EINVAL invalid oppoint or domain.
44 * @return -ETIMEDOUT frequency change took more than HSFLL_FREQ_CHANGE_MAX_DELAY_MS
51 * @param downscaling indicates if down-scaling is running
56 * @brief Last step for local domain in downscale procedure
58 * @param downscaling indicates if down-scaling is running
/Zephyr-latest/dts/bindings/regulator/
Dmps,mpm54304.yaml3 # SPDX-License-Identifier: Apache-2.0
6 Monolithic Power Systems MPM54304 quad-output DC/DC step-down power module.
33 include: i2c-device.yaml
Dregulator.yaml1 # Copyright 2019-2020, Peter Bigot Consulting, LLC
3 # SPDX-License-Identifier: Apache-2.0
14 regulator-name:
18 regulator-init-microvolt:
22 regulator-min-microvolt:
26 regulator-max-microvolt:
30 regulator-microvolt-offset:
34 regulator-init-microamp:
38 regulator-min-microamp:
42 regulator-max-microamp:
[all …]
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dvcp.h7 * Copyright (c) 2020-2024 Nordic Semiconductor ASA
9 * SPDX-License-Identifier: Apache-2.0
89 /** Initial step size (1-255) */
90 uint8_t step; member
92 /** Initial mute state (0-1) */
95 /** Initial volume level (0-255) */
192 * @brief Set the Volume Control Service volume step size.
199 * @param volume_step The volume step size (1-255).
220 * @brief Turn the volume down by one step on the server.
227 * @brief Turn the volume up by one step on the server.
[all …]
/Zephyr-latest/samples/drivers/i2s/echo/src/
Dcodec.c4 * SPDX-License-Identifier: Apache-2.0
29 * Power Down Control: in init_wm8731_i2c()
31 * [6] CLKOUTPD = 1 (Enable Power Down) in init_wm8731_i2c()
32 * [5] OSCPDD = 0 (Disable Power Down) in init_wm8731_i2c()
33 * [4] OUTPD = 1 (Enable Power Down) in init_wm8731_i2c()
34 * [3] DACPD = 0 (Disable Power Down) in init_wm8731_i2c()
35 * [2] ADCPD = 0 (Disable Power Down) in init_wm8731_i2c()
36 * [1] MICPD = 1 (Enable Power Down) in init_wm8731_i2c()
37 * [0] LINEINPD = 0 (Disable Power Down) in init_wm8731_i2c()
44 * [4:0] LINVOL = 0x07 (-24 dB) in init_wm8731_i2c()
[all …]
/Zephyr-latest/samples/subsys/mgmt/updatehub/
DREADME.rst1 .. zephyr:code-sample:: updatehub-fota
2 :name: UpdateHub embedded Firmware Over-The-Air (FOTA) update
3 :relevant-api: updatehub
5 Perform Firmware Over-The-Air (FOTA) updates using UpdateHub.
10 UpdateHub is an enterprise-grade solution which makes it simple to remotely
12 Firmware Over-the-Air (FOTA) updates with maximum security and efficiency,
33 :zephyr:board:`Freedom-K64F <frdm_k64f>` kit using the ethernet connectivity. The
52 Zephyr sub-systems and it uses CoAP over UDP.
62 .. code-block:: console
68 Step 1: Build/Flash MCUboot
[all …]
/Zephyr-latest/boards/st/b_u585i_iot02a/doc/
Dindex.rst6 The B_U585I_IOT02A Discovery kit features an ARM Cortex-M33 based STM32U585AI MCU
11 - STM32U585AII6Q microcontroller featuring 2 Mbyte of Flash memory, 786 Kbytes of RAM in UFBGA169 p…
12 - 512-Mbit octal-SPI Flash memory, 64-Mbit octal-SPI PSRAM, 256-Kbit I2C EEPROM
13 - USB FS, Sink and Source power, 2.5 W power capability
14 - 802.11 b/g/n compliant Wi-Fi® module from MXCHIP
15 - Bluetooth Low Energy from STMicroelectronics
16 - MEMS sensors from STMicroelectronics
18 - 2 digital microphones
19 - Relative humidity and temperature sensor
20 - 3-axis magnetometer
[all …]
/Zephyr-latest/dts/bindings/power/
Dst,stm32wb0-pwr.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "st,stm32wb0-pwr"
8 include: "st,stm32-pwr.yaml"
11 smps-mode:
18 - SMPS converter disabled
19 - LDOs supply voltage: VDD
26 Refer to RM0505 §5.5 "SMPS step down regulator" for details.
29 - SMPS converter enabled - clock disabled
30 - LDOs supply voltage: VDD (though SMPS)
31 - Current supplied to LDOs can be limited
[all …]
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dvcp_vol_rend.c5 * Copyright (c) 2020-2022 Nordic Semiconductor ASA
7 * SPDX-License-Identifier: Apache-2.0
206 vcp_register_param.aics_param[i].min_gain = -100; in cmd_vcp_vol_rend_init()
213 vcp_register_param.step = 1; in cmd_vcp_vol_rend_init()
222 if (!strncmp(argv[i], "step", 4)) { in cmd_vcp_vol_rend_init()
223 vcp_register_param.step = shell_strtoul(kwarg, 10, &result); in cmd_vcp_vol_rend_init()
263 unsigned long step; in cmd_vcp_vol_rend_volume_step() local
266 step = shell_strtoul(argv[1], 0, &result); in cmd_vcp_vol_rend_volume_step()
268 shell_error(sh, "Failed to parse step: %d", result); in cmd_vcp_vol_rend_volume_step()
270 return -ENOEXEC; in cmd_vcp_vol_rend_volume_step()
[all …]
/Zephyr-latest/samples/boards/nxp/adsp/number_crunching/include/
Dmath_ops.h4 * SPDX-License-Identifier: Apache-2.0
12 * @brief Vector Sum - makes pair wise saturated summation of vectors
14 * @param[in] *input1 - points to the first input vector
15 * @param[in] *input2 - points to the second input vector
16 * @param[out] *output - points to the output vector
17 * @param[in] length - number of samples in each vector
27 * @brief Power of a Vector - makes sum of the squares of the elements of
30 * @param[in] *input - points to the input vector
31 * @param[in] length - size of the input vector
32 * @param[in] rsh - right shift of result
[all …]
/Zephyr-latest/drivers/pinctrl/renesas/rcar/
Dpfc_rcar.c2 * Copyright (c) 2021-2023 IoT.bzh
4 * SPDX-License-Identifier: Apache-2.0
51 * Each drive step is either encoded in 2 or 3 bits.
52 * So based on a 24 mA maximum value each step is either
95 uint16_t reg_offs = PFC_RCAR_IPSR + rcar_func->bank * sizeof(uint32_t); in pfc_rcar_set_ipsr()
98 val &= ~(0xFU << rcar_func->shift); in pfc_rcar_set_ipsr()
99 val |= (rcar_func->func << rcar_func->shift); in pfc_rcar_set_ipsr()
108 while (drive_regs->reg != 0U) { in pfc_rcar_get_drive_reg()
109 for (size_t i = 0U; i < ARRAY_SIZE(drive_regs->fields); i++) { in pfc_rcar_get_drive_reg()
110 if (drive_regs->fields[i].pin == pin) { in pfc_rcar_get_drive_reg()
[all …]
/Zephyr-latest/subsys/bluetooth/audio/
Dvcp_vol_rend.c5 * Copyright (c) 2019-2020 Bose Corporation
6 * Copyright (c) 2020-2022 Nordic Semiconductor ASA
8 * SPDX-License-Identifier: Apache-2.0
47 ((uint8_t)MAX(0, (int)current_vol - vol_rend.volume_step))
110 atomic_set_bit(inst->notify, notify); in notify_work_reschedule()
112 err = k_work_reschedule(&inst->notify_work, delay); in notify_work_reschedule()
118 k_ticks_to_ms_floor32(k_work_delayable_remaining_get(&inst->notify_work))); in notify_work_reschedule()
127 err = bt_gatt_notify_uuid(NULL, uuid, inst->service_p->attrs, data, len); in notify()
128 if (err == -ENOMEM) { in notify()
130 } else if (err < 0 && err != -ENOTCONN) { in notify()
[all …]
/Zephyr-latest/soc/st/stm32/stm32wb0x/
Dsoc.c4 * SPDX-License-Identifier: Apache-2.0
63 "smps-bom must be specified");
101 /* Configure low-power mode */ in configure_smps()
168 * By now, SCB->VTOR should point to _vector_table, in stm32wb0_init()
171 RAM_VR.AppBase = SCB->VTOR; in stm32wb0_init()
182 /* Configure SMPS step-down converter */ in stm32wb0_init()
/Zephyr-latest/soc/intel/intel_adsp/ace/
Dpower.c4 * SPDX-License-Identifier: Apache-2.0
28 * power down host domain.
65 * @brief Power down procedure.
67 * Locks its code in L1 cache and shuts down memories.
72 * @param response_to_ipc flag if ipc response should be send during power down
95 * @brief re-enables IDC interrupt for all cores after exiting D3 state
136 uint8_t rom_bypass_vectors_reserved[0xC00 - 0x14];
194 lpsheader->adsp_lpsram_magic = LPSRAM_MAGIC_VALUE; in power_gate_entry()
195 lpsheader->lp_restore_vector = &dsp_restore_vector; in power_gate_entry()
197 /* Re-enabling interrupts for core 0 because someone has to wake-up us in power_gate_entry()
[all …]
/Zephyr-latest/boards/st/nucleo_wb55rg/doc/
Dnucleo_wb55rg.rst6 The Nucleo WB55RG board is a multi-protocol wireless and ultra-low-power device
7 embedding a powerful and ultra-low-power radio compliant with the Bluetooth®
8 Low Energy (BLE) SIG specification v5.0 and with IEEE 802.15.4-2011.
11 - STM32 microcontroller in VFQFPN68 package
12 - 2.4 GHz RF transceiver supporting Bluetooth® specification v5.0 and
13 IEEE 802.15.4-2011 PHY and MAC
14 - Dedicated Arm® 32-bit Cortex® M0+ CPU for real-time Radio layer
15 - Three user LEDs
16 - Board connector: USB user with Micro-B
17 - Two types of extension resources:
[all …]
/Zephyr-latest/boards/nxp/s32z2xxdc2/support/
Dstartup.cmm3 ; SPDX-License-Identifier: Apache-2.0 *
5 ; Lauterbach Trace32 start-up script for S32Z27x / Cortex-R52 *
8 ; - command operation to execute *
11 ; - elfFile filepath of ELF to load *
12 ; - rtu Real-Time Unit (RTU) index *
15 ; - core core index, relative to the RTU *
18 ; - lockstep set to "yes" to start the core in lock-step mode *
20 ; - Core0 and Core2 (redundancy) operate as a lockstep pair *
21 ; - Core1 and Core3 (redundancy) operate as a lockstep pair *
59 ; select lock-step or split-lock mode (CFG_CORE.SPLT_LCK bit)
[all …]
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dvcp_vol_rend_test.c5 * SPDX-License-Identifier: Apache-2.0
111 strncpy(g_vocs_desc, description, sizeof(g_vocs_desc) - 1); in vocs_description_cb()
112 g_vocs_desc[sizeof(g_vocs_desc) - 1] = '\0'; in vocs_description_cb()
175 strncpy(g_aics_desc, description, sizeof(g_aics_desc) - 1); in aics_description_cb()
176 g_aics_desc[sizeof(g_aics_desc) - 1] = '\0'; in aics_description_cb()
475 const int8_t expected_gain = g_aics_gain_max - 1; in test_aics_gain_set()
670 invalid_offset = BT_VOCS_MIN_OFFSET - 1; in test_vocs_state_set()
774 vcp_register_param.step = 1; in test_register()
820 FAIL("bt_vcp_vol_rend_set_step with step size 0 did not fail"); in test_set_step()
825 printk("Setting VCP step\n"); in test_set_step()
[all …]
/Zephyr-latest/boards/st/stm32l476g_disco/doc/
Dindex.rst6 The STM32L476G Discovery board features an ARM Cortex-M4 based STM32L476VG MCU
11 - STM32L476VGT6 microcontroller featuring 1 Mbyte of Flash memory, 128 Kbytes of RAM in LQFP100 pac…
12 - On-board ST-LINK/V2-1 supporting USB re-enumeration capability
13 - Three different interfaces supported on USB:
15 - Virtual com port
16 - Mass storage
17 - Debug port
19 - LCD 24 segments, 4 commons in DIP 28 package
20 - Seven LEDs:
22 - LD1 (red/green) for USB communication
[all …]
/Zephyr-latest/drivers/stepper/
Dgpio_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
49 struct gpio_stepper_data *data = dev->data; in stepper_motor_set_coil_charge()
50 const struct gpio_stepper_config *config = dev->config; in stepper_motor_set_coil_charge()
53 (void)gpio_pin_set_dt(&config->control_pins[i], in stepper_motor_set_coil_charge()
54 half_step_lookup_table[data->coil_charge][i]); in stepper_motor_set_coil_charge()
61 struct gpio_stepper_data *data = dev->data; in increment_coil_charge()
63 if (data->coil_charge == NUM_CONTROL_PINS * MAX_MICRO_STEP_RES - data->step_gap) { in increment_coil_charge()
64 data->coil_charge = 0; in increment_coil_charge()
[all …]
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_vcp.c1 /* btp_vcp.c - Bluetooth VCP Tester */
6 * SPDX-License-Identifier: Apache-2.0
72 tester_set_bit(rp->data, BTP_VCS_READ_SUPPORTED_COMMANDS); in vcs_supported_commands()
73 tester_set_bit(rp->data, BTP_VCS_SET_VOL); in vcs_supported_commands()
74 tester_set_bit(rp->data, BTP_VCS_VOL_UP); in vcs_supported_commands()
75 tester_set_bit(rp->data, BTP_VCS_VOL_DOWN); in vcs_supported_commands()
76 tester_set_bit(rp->data, BTP_VCS_MUTE); in vcs_supported_commands()
77 tester_set_bit(rp->data, BTP_VCS_UNMUTE); in vcs_supported_commands()
89 LOG_DBG("Set volume 0x%02x", cp->volume); in set_volume()
91 if (bt_vcp_vol_rend_set_vol(cp->volume) != 0) { in set_volume()
[all …]

123