LibL6474-C-Library 1.0
Library Code documentation
Loading...
Searching...
No Matches
L6474_Status Struct Reference

#include <LibL6474.h>

Data Fields

unsigned char HIGHZ
 
unsigned char DIR
 
unsigned char NOTPERF_CMD
 
unsigned char WRONG_CMD
 
unsigned char UVLO
 
unsigned char TH_WARN
 
unsigned char TH_SD
 
unsigned char OCD
 
unsigned char ONGOING
 

Detailed Description

The L6474_Status_t enum describes the status register content of the stepper driver chip. It is reinterpreted so it can be naturally used in the code to get some of the error codes or state bits of the driver.

Field Documentation

◆ DIR

unsigned char L6474_Status::DIR

direction is clock wise or counter clock wise

◆ HIGHZ

unsigned char L6474_Status::HIGHZ

high impedance state active

◆ NOTPERF_CMD

unsigned char L6474_Status::NOTPERF_CMD

a command has not been performed

◆ OCD

unsigned char L6474_Status::OCD

over current detection (short circuit)

◆ ONGOING

unsigned char L6474_Status::ONGOING

movement is ongoing (pending)

◆ TH_SD

unsigned char L6474_Status::TH_SD

thermal shutdown

◆ TH_WARN

unsigned char L6474_Status::TH_WARN

threshold warning

◆ UVLO

unsigned char L6474_Status::UVLO

under-voltage lock out

◆ WRONG_CMD

unsigned char L6474_Status::WRONG_CMD

a command was invalid


The documentation for this struct was generated from the following file: