Home
last modified time | relevance | path

Searched +full:duty +full:- +full:cycle +full:- +full:percent (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/include/zephyr/drivers/clock_control/
Dclock_control_litex.h4 * SPDX-License-Identifier: Apache-2.0
34 * @param duty Duty cycle of clock signal in percent
41 uint8_t duty; member
/Zephyr-latest/dts/bindings/i2c/
Drenesas,ra-iic.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "renesas,ra-iic"
8 include: [i2c-controller.yaml, pinctrl-device.yaml]
21 rise-time-ns:
25 fall-time-ns:
29 duty-cycle-percent:
33 interrupt-priority-level:
/Zephyr-latest/drivers/clock_control/
Dclock_control_litex.c4 * SPDX-License-Identifier: Apache-2.0
66 …* https://github.com/Digilent/Zybo-hdmi-out/blob/b991fff6e964420ae3c00c3dbee52f2ad748b3ba/sdk/disp…
213 return litex_clk_filter_table[glob_mul - 1]; in litex_clk_lookup_filter()
219 return litex_clk_lock_table[glob_mul - 1]; in litex_clk_lookup_lock()
234 int assert = (1 << (drp[reg].size * BITS_PER_BYTE)) - 1; in litex_clk_assert_reg()
251 timeout = ldev->timeout.lock; in litex_clk_wait()
253 timeout = ldev->timeout.drdy; in litex_clk_wait()
257 timeout--; in litex_clk_wait()
262 return -ETIME; in litex_clk_wait()
303 ldev->g_config.mul = 1; in litex_clk_update_global_config()
[all …]
/Zephyr-latest/drivers/pwm/
Dpwm_nxp_flexio.c4 * SPDX-License-Identifier: Apache-2.0
97 const struct pwm_nxp_flexio_config *config = dev->config; in pwm_nxp_flexio_set_cycles()
98 struct pwm_nxp_flexio_data *data = dev->data; in pwm_nxp_flexio_set_cycles()
101 FLEXIO_Type *flexio_base = (FLEXIO_Type *)(config->flexio_base); in pwm_nxp_flexio_set_cycles()
102 struct nxp_flexio_child *child = (struct nxp_flexio_child *)(config->child); in pwm_nxp_flexio_set_cycles()
106 if (channel >= config->pulse_info->pwm_pulse_channels) { in pwm_nxp_flexio_set_cycles()
108 return -EINVAL; in pwm_nxp_flexio_set_cycles()
113 return -ENOTSUP; in pwm_nxp_flexio_set_cycles()
117 LOG_ERR("Duty cycle is out of range"); in pwm_nxp_flexio_set_cycles()
118 return -EINVAL; in pwm_nxp_flexio_set_cycles()
[all …]