Struct sstep_callbacks¶
Hardware callbacks. More...
#include <sstep_ctrl.h>
Public Attributes¶
| Type | Name |
|---|---|
| void * | context Passed unchanged to every callback. |
| sstep_event_fn | on_event Optional, NULL if unused. |
| sstep_fault_fn | on_fault Optional, NULL if unused. |
| sstep_output_enable_fn | output_enable Required. |
| sstep_pwm_write_fn | pwm_write Required. |
Detailed Description¶
pwm_write and output_enable are required.
Public Attributes Documentation¶
variable context¶
Passed unchanged to every callback.
variable on_event¶
Optional, NULL if unused.
variable on_fault¶
Optional, NULL if unused.
variable output_enable¶
Required.
variable pwm_write¶
Required.
The documentation for this class was generated from the following file inc/sstep_ctrl.h