Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
stepper_drv8424.h File Reference

Public API for DRV8424 Stepper Controller Specific Functions. More...

#include <stdint.h>
#include <zephyr/drivers/stepper.h>

Go to the source code of this file.

Functions

int drv8424_microstep_recovery (const struct device *dev)
 After microstep setter fails, attempt to recover into previous state.
 

Detailed Description

Public API for DRV8424 Stepper Controller Specific Functions.

Function Documentation

◆ drv8424_microstep_recovery()

int drv8424_microstep_recovery ( const struct device * dev)

After microstep setter fails, attempt to recover into previous state.

Parameters
devPointer to the stepper motor controller instance
Return values
0Success
<0Error code dependent on the gpio controller of the microstep pins