Home
last modified time | relevance | path

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

/hal_espressif-latest/components/driver/deprecated/
Dmcpwm_legacy.c76 #define MCPWM_GEN_CHECK(mcpwm_num, timer_num, gen) \ argument
79 ESP_RETURN_ON_FALSE((gen) < MCPWM_GEN_MAX, ESP_ERR_INVALID_ARG, TAG, MCPWM_GEN_ERROR); \
113 typedef void (*mcpwm_ll_gen_set_event_action_t)(mcpwm_dev_t *mcpwm, int op, int gen, int action);
286 esp_err_t mcpwm_set_duty(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, mcpwm_generator_t gen, fl… in mcpwm_set_duty() argument
291 const int cmp = gen; in mcpwm_set_duty()
292 MCPWM_GEN_CHECK(mcpwm_num, timer_num, gen); in mcpwm_set_duty()
304 …y_in_us(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, mcpwm_generator_t gen, uint32_t duty_in_u… in mcpwm_set_duty_in_us() argument
309 const int cmp = gen; in mcpwm_set_duty_in_us()
310 MCPWM_GEN_CHECK(mcpwm_num, timer_num, gen); in mcpwm_set_duty_in_us()
324 …p_err_t mcpwm_set_duty_type(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, mcpwm_generator_t gen, in mcpwm_set_duty_type() argument
[all …]
/hal_espressif-latest/components/driver/deprecated/driver/
Dmcpwm.h127 esp_err_t mcpwm_set_duty(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, mcpwm_generator_t gen, fl…
141 …y_in_us(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, mcpwm_generator_t gen, uint32_t duty_in_u…
157 …ty_type(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, mcpwm_generator_t gen, mcpwm_duty_type_t …
180 float mcpwm_get_duty(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, mcpwm_operator_t gen);
192 uint32_t mcpwm_get_duty_in_us(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, mcpwm_operator_t gen
206 …rr_t mcpwm_set_signal_high(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, mcpwm_generator_t gen);
220 …err_t mcpwm_set_signal_low(mcpwm_unit_t mcpwm_num, mcpwm_timer_t timer_num, mcpwm_generator_t gen);
/hal_espressif-latest/components/soc/esp32s3/include/soc/
Dmcpwm_struct.h237 uint32_t gen: 16; member
/hal_espressif-latest/components/soc/esp32/include/soc/
Dmcpwm_struct.h237 uint32_t gen: 16; member
/hal_espressif-latest/components/hal/esp32/include/hal/
Dmcpwm_ll.h613 …HAL_FORCE_MODIFY_U32_REG_FIELD(mcpwm->operators[operator_id].timestamp[compare_id], gen, compare_v… in mcpwm_ll_operator_set_compare_value()
1612 return HAL_FORCE_READ_U32_REG_FIELD(mcpwm->operators[operator_id].timestamp[compare_id], gen); in mcpwm_ll_operator_get_compare_value()
/hal_espressif-latest/components/hal/esp32s3/include/hal/
Dmcpwm_ll.h625 …HAL_FORCE_MODIFY_U32_REG_FIELD(mcpwm->operators[operator_id].timestamp[compare_id], gen, compare_v… in mcpwm_ll_operator_set_compare_value()
1624 return HAL_FORCE_READ_U32_REG_FIELD(mcpwm->operators[operator_id].timestamp[compare_id], gen); in mcpwm_ll_operator_get_compare_value()