Searched refs:cyhal_pwm_t (Results 1 – 4 of 4) sorted by relevance
| /hal_infineon-latest/mtb-hal-cat1/include/ |
| D | cyhal_pwm.h | 192 cy_rslt_t cyhal_pwm_init_adv(cyhal_pwm_t *obj, cyhal_gpio_t pin, cyhal_gpio_t compl_pin, cyhal_pwm_… 201 cy_rslt_t cyhal_pwm_init_cfg(cyhal_pwm_t *obj, const cyhal_pwm_configurator_t *cfg); 207 void cyhal_pwm_free(cyhal_pwm_t *obj); 216 cy_rslt_t cyhal_pwm_set_period(cyhal_pwm_t *obj, uint32_t period_us, uint32_t pulse_width_us); 225 cy_rslt_t cyhal_pwm_set_duty_cycle(cyhal_pwm_t *obj, float duty_cycle, uint32_t frequencyhal_hz); 232 cy_rslt_t cyhal_pwm_start(cyhal_pwm_t *obj); 239 cy_rslt_t cyhal_pwm_stop(cyhal_pwm_t *obj); 249 void cyhal_pwm_register_callback(cyhal_pwm_t *obj, cyhal_pwm_event_callback_t callback, void *callb… 260 void cyhal_pwm_enable_event(cyhal_pwm_t *obj, cyhal_pwm_event_t event, uint8_t intr_priority, bool … 273 cy_rslt_t cyhal_pwm_connect_digital(cyhal_pwm_t *obj, cyhal_source_t source, cyhal_pwm_input_t sign… [all …]
|
| /hal_infineon-latest/mtb-hal-cat1/source/ |
| D | cyhal_pwm.c | 117 static cy_rslt_t cyhal_pwm_set_period_and_compare(cyhal_pwm_t *obj, uint32_t period, uint32_t compa… in cyhal_pwm_set_period_and_compare() 166 static cy_rslt_t _cyhal_pwm_update_clock_freq(cyhal_pwm_t *obj, uint32_t period_us) in _cyhal_pwm_update_clock_freq() 210 static cy_rslt_t _cyhal_pwm_init_clock(cyhal_pwm_t *obj, uint32_t dead_time_us, const cyhal_clock_t… in _cyhal_pwm_init_clock() 270 static cy_rslt_t _cyhal_pwm_init_hw(cyhal_pwm_t *obj, const cy_stc_tcpwm_pwm_config_t* config, bool… in _cyhal_pwm_init_hw() 298 cy_rslt_t cyhal_pwm_init_cfg(cyhal_pwm_t *obj, const cyhal_pwm_configurator_t *cfg) in cyhal_pwm_init_cfg() 322 cy_rslt_t cyhal_pwm_init_adv(cyhal_pwm_t *obj, cyhal_gpio_t pin, cyhal_gpio_t compl_pin, cyhal_pwm_… in cyhal_pwm_init_adv() 327 memset(obj, 0, sizeof(cyhal_pwm_t)); in cyhal_pwm_init_adv() 453 void cyhal_pwm_free(cyhal_pwm_t *obj) in cyhal_pwm_free() 465 cy_rslt_t cyhal_pwm_set_period(cyhal_pwm_t *obj, uint32_t period_us, uint32_t pulse_width_us) in cyhal_pwm_set_period() 478 cy_rslt_t cyhal_pwm_set_duty_cycle(cyhal_pwm_t *obj, float duty_cycle, uint32_t frequencyhal_hz) in cyhal_pwm_set_duty_cycle() [all …]
|
| /hal_infineon-latest/mtb-hal-cat1/include_pvt/ |
| D | cyhal_pwm_impl.h | 63 __STATIC_INLINE void _cyhal_pwm_register_callback(cyhal_pwm_t *obj, cyhal_pwm_event_callback_t call… in _cyhal_pwm_register_callback() 71 __STATIC_INLINE void _cyhal_pwm_enable_event(cyhal_pwm_t *obj, cyhal_pwm_event_t event, uint8_t int… in _cyhal_pwm_enable_event()
|
| D | cyhal_hw_types.h | 1009 } cyhal_pwm_t; typedef
|