Home
last modified time | relevance | path

Searched refs:pwm_config (Results 1 – 2 of 2) sorted by relevance

/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/rp2_common/hardware_pwm/include/hardware/
Dpwm.h67 } pwm_config; typedef
104 static inline void pwm_config_set_phase_correct(pwm_config *c, bool phase_correct) { in pwm_config_set_phase_correct()
119 static inline void pwm_config_set_clkdiv(pwm_config *c, float div) { in pwm_config_set_clkdiv()
135 static inline void pwm_config_set_clkdiv_int_frac(pwm_config *c, uint8_t integer, uint8_t fract) { in pwm_config_set_clkdiv_int_frac()
151 static inline void pwm_config_set_clkdiv_int(pwm_config *c, uint div) { in pwm_config_set_clkdiv_int()
166 static inline void pwm_config_set_clkdiv_mode(pwm_config *c, enum pwm_clkdiv_mode mode) { in pwm_config_set_clkdiv_mode()
182 static inline void pwm_config_set_output_polarity(pwm_config *c, bool a, bool b) { in pwm_config_set_output_polarity()
195 static inline void pwm_config_set_wrap(pwm_config *c, uint16_t wrap) { in pwm_config_set_wrap()
210 static inline void pwm_init(uint slice_num, pwm_config *c, bool start) { in pwm_init()
229 static inline pwm_config pwm_get_default_config(void) { in pwm_get_default_config()
[all …]
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/test/hardware_pwm_test/
Dhardware_pwm_test.c42 pwm_config config = pwm_get_default_config(); in main()