Searched refs:MCPWM_OPR_A (Results 1 – 4 of 4) sorted by relevance
/hal_espressif-3.6.0/examples/peripherals/mcpwm/mcpwm_brushed_dc_control/main/ |
D | mcpwm_brushed_dc_control_example.c | 54 mcpwm_set_signal_low(MOTOR_CTRL_MCPWM_UNIT, MOTOR_CTRL_MCPWM_TIMER, MCPWM_OPR_A); in brushed_motor_set_duty() 61 mcpwm_set_duty(MOTOR_CTRL_MCPWM_UNIT, MOTOR_CTRL_MCPWM_TIMER, MCPWM_OPR_A, -duty_cycle); in brushed_motor_set_duty() 62 …mcpwm_set_duty_type(MOTOR_CTRL_MCPWM_UNIT, MOTOR_CTRL_MCPWM_TIMER, MCPWM_OPR_A, MCPWM_DUTY_MODE_0)… in brushed_motor_set_duty()
|
/hal_espressif-3.6.0/components/driver/test/ |
D | test_pwm.c | 131 TEST_ESP_OK(mcpwm_set_duty(unit, timer, MCPWM_OPR_A, 10.0)); in mcpwm_timer_duty_test() 133 TEST_ASSERT_FLOAT_WITHIN(0.1, 10.0, mcpwm_get_duty(unit, timer, MCPWM_OPR_A)); in mcpwm_timer_duty_test() 137 TEST_ESP_OK(mcpwm_set_duty(unit, timer, MCPWM_OPR_A, 55.5f)); in mcpwm_timer_duty_test() 138 TEST_ESP_OK(mcpwm_set_duty_type(unit, timer, MCPWM_OPR_A, MCPWM_DUTY_MODE_0)); in mcpwm_timer_duty_test() 139 TEST_ASSERT_FLOAT_WITHIN(0.1, 55.5, mcpwm_get_duty(unit, timer, MCPWM_OPR_A)); in mcpwm_timer_duty_test()
|
/hal_espressif-3.6.0/examples/peripherals/mcpwm/mcpwm_servo_control/main/ |
D | mcpwm_servo_control_example_main.c | 43 …ESP_ERROR_CHECK(mcpwm_set_duty_in_us(MCPWM_UNIT_0, MCPWM_TIMER_0, MCPWM_OPR_A, example_convert_ser… in app_main()
|
/hal_espressif-3.6.0/components/driver/include/driver/ |
D | mcpwm.h | 101 #define MCPWM_OPR_A MCPWM_GEN_A ///< @deprecated macro
|