Home
last modified time | relevance | path

Searched defs:pwm (Results 1 – 25 of 32) sorted by relevance

12

/Zephyr-Core-2.7.6/drivers/pwm/
Dpwm_handlers.c12 uint32_t pwm, in z_vrfy_pwm_pin_set_cycles()
24 uint32_t pwm, in z_vrfy_pwm_get_cycles_per_sec()
37 uint32_t pwm) in z_vrfy_pwm_pin_enable_capture()
45 uint32_t pwm) in z_vrfy_pwm_pin_disable_capture()
53 uint32_t pwm, pwm_flags_t flags, in z_vrfy_pwm_pin_capture_cycles()
Dpwm_shell.c18 uint8_t pwm; member
38 uint32_t pwm; in cmd_cycles() local
71 uint32_t pwm; in cmd_usec() local
103 uint32_t pwm; in cmd_nsec() local
Dpwm_sam.c28 static int sam_pwm_get_cycles_per_sec(const struct device *dev, uint32_t pwm, in sam_pwm_get_cycles_per_sec()
44 Pwm *const pwm = DEV_CFG(dev)->regs; in sam_pwm_pin_set() local
80 Pwm *const pwm = DEV_CFG(dev)->regs; in sam_pwm_init() local
Dpwm_b91.c64 static int pwm_b91_pin_set(const struct device *dev, uint32_t pwm, in pwm_b91_pin_set()
99 static int pwm_b91_get_cycles_per_sec(const struct device *dev, uint32_t pwm, in pwm_b91_get_cycles_per_sec()
Dpwm_nrf5_sw.c50 uint32_t pwm; member
77 static uint32_t pwm_period_check(struct pwm_data *data, uint8_t map_size, in pwm_period_check()
101 uint32_t pwm) in pwm_channel_map()
123 static int pwm_nrf5_sw_pin_set(const struct device *dev, uint32_t pwm, in pwm_nrf5_sw_pin_set()
300 uint32_t pwm, in pwm_nrf5_sw_get_cycles_per_sec()
Dpwm_capture.c22 uint32_t pwm, in z_pwm_pin_capture_cycles_callback()
37 int z_impl_pwm_pin_capture_cycles(const struct device *dev, uint32_t pwm, in z_impl_pwm_pin_capture_cycles()
Dpwm_mcux_ftm.c59 static int mcux_ftm_pin_set(const struct device *dev, uint32_t pwm, in mcux_ftm_pin_set()
139 uint32_t pwm, in mcux_ftm_pin_configure_capture()
209 static int mcux_ftm_pin_enable_capture(const struct device *dev, uint32_t pwm) in mcux_ftm_pin_enable_capture()
247 static int mcux_ftm_pin_disable_capture(const struct device *dev, uint32_t pwm) in mcux_ftm_pin_disable_capture()
273 static void mcux_ftm_capture_first_edge(const struct device *dev, uint32_t pwm) in mcux_ftm_capture_first_edge()
287 static void mcux_ftm_capture_second_edge(const struct device *dev, uint32_t pwm) in mcux_ftm_capture_second_edge()
375 static int mcux_ftm_get_cycles_per_sec(const struct device *dev, uint32_t pwm, in mcux_ftm_get_cycles_per_sec()
Dpwm_mcux_pwt.c51 static int mcux_pwt_pin_set(const struct device *dev, uint32_t pwm, in mcux_pwt_pin_set()
67 uint32_t pwm, in mcux_pwt_pin_configure_capture()
103 static int mcux_pwt_pin_enable_capture(const struct device *dev, uint32_t pwm) in mcux_pwt_pin_enable_capture()
131 static int mcux_pwt_pin_disable_capture(const struct device *dev, uint32_t pwm) in mcux_pwt_pin_disable_capture()
264 static int mcux_pwt_get_cycles_per_sec(const struct device *dev, uint32_t pwm, in mcux_pwt_get_cycles_per_sec()
Dpwm_nrfx.c22 nrfx_pwm_t pwm; member
86 static uint8_t pwm_channel_map(const uint8_t *output_pins, uint32_t pwm) in pwm_channel_map()
125 static int pwm_nrfx_pin_set(const struct device *dev, uint32_t pwm, in pwm_nrfx_pin_set()
254 static int pwm_nrfx_get_cycles_per_sec(const struct device *dev, uint32_t pwm, in pwm_nrfx_get_cycles_per_sec()
Dpwm_litex.c51 int pwm_litex_pin_set(const struct device *dev, uint32_t pwm, in pwm_litex_pin_set()
69 int pwm_litex_get_cycles_per_sec(const struct device *dev, uint32_t pwm, in pwm_litex_get_cycles_per_sec()
Dpwm_mcux_sctimer.c32 static int mcux_sctimer_pwm_pin_set(const struct device *dev, uint32_t pwm, in mcux_sctimer_pwm_pin_set()
115 static int mcux_sctimer_pwm_get_cycles_per_sec(const struct device *dev, uint32_t pwm, in mcux_sctimer_pwm_get_cycles_per_sec()
Dpwm_gecko.c29 static int pwm_gecko_pin_set(const struct device *dev, uint32_t pwm, in pwm_gecko_pin_set()
68 uint32_t pwm, in pwm_gecko_get_cycles_per_sec()
Dpwm_mcux.c34 static int mcux_pwm_pin_set(const struct device *dev, uint32_t pwm, in mcux_pwm_pin_set()
111 static int mcux_pwm_get_cycles_per_sec(const struct device *dev, uint32_t pwm, in mcux_pwm_get_cycles_per_sec()
Dpwm_imx.c43 static int imx_pwm_get_cycles_per_sec(const struct device *dev, uint32_t pwm, in imx_pwm_get_cycles_per_sec()
54 static int imx_pwm_pin_set(const struct device *dev, uint32_t pwm, in imx_pwm_pin_set()
Dpwm_mcux_tpm.c42 static int mcux_tpm_pin_set(const struct device *dev, uint32_t pwm, in mcux_tpm_pin_set()
119 static int mcux_tpm_get_cycles_per_sec(const struct device *dev, uint32_t pwm, in mcux_tpm_get_cycles_per_sec()
Dpwm_rv32m1_tpm.c41 static int rv32m1_tpm_pin_set(const struct device *dev, uint32_t pwm, in rv32m1_tpm_pin_set()
119 uint32_t pwm, in rv32m1_tpm_get_cycles_per_sec()
Dpwm_npcx.c95 static int pwm_npcx_pin_set(const struct device *dev, uint32_t pwm, in pwm_npcx_pin_set()
149 static int pwm_npcx_get_cycles_per_sec(const struct device *dev, uint32_t pwm, in pwm_npcx_get_cycles_per_sec()
Dpwm_sifive.c99 uint32_t pwm, in pwm_sifive_pin_set()
192 uint32_t pwm, in pwm_sifive_get_cycles_per_sec()
Dpwm_stm32.c200 static int pwm_stm32_pin_set(const struct device *dev, uint32_t pwm, in pwm_stm32_pin_set()
263 uint32_t pwm, in pwm_stm32_get_cycles_per_sec()
Dpwm_xlnx_axi_timer.c63 static int xlnx_axi_timer_pin_set(const struct device *dev, uint32_t pwm, in xlnx_axi_timer_pin_set()
167 uint32_t pwm, uint64_t *cycles) in xlnx_axi_timer_get_cycles_per_sec()
/Zephyr-Core-2.7.6/include/drivers/
Dpwm.h185 uint32_t pwm, in z_impl_pwm_pin_set_cycles()
225 uint32_t pwm, in pwm_pin_configure_capture()
262 uint32_t pwm) in z_impl_pwm_pin_enable_capture()
293 uint32_t pwm) in z_impl_pwm_pin_disable_capture()
353 uint32_t pwm, in z_impl_pwm_get_cycles_per_sec()
374 static inline int pwm_pin_set_usec(const struct device *dev, uint32_t pwm, in pwm_pin_set_usec()
410 static inline int pwm_pin_set_nsec(const struct device *dev, uint32_t pwm, in pwm_pin_set_nsec()
446 static inline int pwm_pin_cycles_to_usec(const struct device *dev, uint32_t pwm, in pwm_pin_cycles_to_usec()
477 static inline int pwm_pin_cycles_to_nsec(const struct device *dev, uint32_t pwm, in pwm_pin_cycles_to_nsec()
523 static inline int pwm_pin_capture_usec(const struct device *dev, uint32_t pwm, in pwm_pin_capture_usec()
[all …]
/Zephyr-Core-2.7.6/samples/basic/servo_motor/src/
Dmain.c38 const struct device *pwm; in main() local
/Zephyr-Core-2.7.6/samples/basic/blinky_pwm/src/
Dmain.c35 const struct device *pwm; in main() local
/Zephyr-Core-2.7.6/samples/basic/fade_led/src/
Dmain.c42 const struct device *pwm; in main() local
/Zephyr-Core-2.7.6/samples/boards/bbc_microbit/sound/src/
Dmain.c26 static const struct device *pwm; variable

12