Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/driver/
Dsigmadelta.c26 #define SIGMADELTA_OBJ_CHECK(sigmadelta_port) { \ argument
27 …SIGMADELTA_CHECK((sigmadelta_port < SIGMADELTA_PORT_MAX), "sigmadelta port error", ESP_ERR_INVALID…
28 …SIGMADELTA_CHECK((p_sigmadelta_obj[sigmadelta_port]), "sigmadelta driver has not been initialized"…
31 static inline esp_err_t _sigmadelta_set_duty(sigmadelta_port_t sigmadelta_port, sigmadelta_channel_… in _sigmadelta_set_duty() argument
33 SIGMADELTA_OBJ_CHECK(sigmadelta_port); in _sigmadelta_set_duty()
35 sigmadelta_hal_set_duty(&(p_sigmadelta_obj[sigmadelta_port]->hal), channel, duty); in _sigmadelta_set_duty()
39 static inline esp_err_t _sigmadelta_set_prescale(sigmadelta_port_t sigmadelta_port, sigmadelta_chan… in _sigmadelta_set_prescale() argument
41 SIGMADELTA_OBJ_CHECK(sigmadelta_port); in _sigmadelta_set_prescale()
43 sigmadelta_hal_set_prescale(&(p_sigmadelta_obj[sigmadelta_port]->hal), channel, prescale); in _sigmadelta_set_prescale()
47 static inline esp_err_t _sigmadelta_set_pin(sigmadelta_port_t sigmadelta_port, sigmadelta_channel_t… in _sigmadelta_set_pin() argument
[all …]