mcpwm_bdc_speed_control sample
bdc_motor_t
is only used within mcpwm_bdc_speed_control sample.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
mcpwm_bdc_speed_control sample
bdc_motor_t
bdc_motor_t struct
BDC motor interface definition
Syntax
Show:
Summary
Declaration
Definition
from
bdc_motor.h:18
typedef
struct
bdc_motor_t
*
bdc_motor_handle_t
;
Implemented in
bdc_motor_interface.h:20
Fields
Field
Declared as
Description
bdc_motor_t::enable
esp_err_t
(
*
)
(
bdc_motor_t
*
motor
)
Enable BDC motor.
bdc_motor_t::disable
esp_err_t
(
*
)
(
bdc_motor_t
*
motor
)
Disable BDC motor.
bdc_motor_t::set_speed
esp_err_t
(
*
)
(
bdc_motor_t
*
motor
,
uint32_t
speed
)
Set speed for bdc motor.
bdc_motor_t::forward
esp_err_t
(
*
)
(
bdc_motor_t
*
motor
)
Forward BDC motor.
bdc_motor_t::reverse
esp_err_t
(
*
)
(
bdc_motor_t
*
motor
)
Reverse BDC Motor.
bdc_motor_t::coast
esp_err_t
(
*
)
(
bdc_motor_t
*
motor
)
Stop motor in a coast way (a.k.a Fast Decay).
bdc_motor_t::brake
esp_err_t
(
*
)
(
bdc_motor_t
*
motor
)
Stop motor in a brake way (a.k.a Slow Decay).
bdc_motor_t::del
esp_err_t
(
*
)
(
bdc_motor_t
*
motor
)
Free BDC Motor handle resources.
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out