25 lines
758 B
C
25 lines
758 B
C
/*******************************************************************************
|
|
* Copyright © 2018 TRINAMIC Motion Control GmbH & Co. KG
|
|
* (now owned by Analog Devices Inc.),
|
|
*
|
|
* Copyright © 2023 Analog Devices Inc. All Rights Reserved. This software is
|
|
* proprietary & confidential to Analog Devices, Inc. and its licensors.
|
|
*******************************************************************************/
|
|
|
|
|
|
#ifndef TMC_HELPERS_CONSTANTS_H_
|
|
#define TMC_HELPERS_CONSTANTS_H_
|
|
|
|
#define TMC_WRITE_BIT 0x80
|
|
|
|
#define TMC_ADDRESS_MASK 0x7F
|
|
|
|
#define TMC_DEFAULT_MOTOR 0
|
|
|
|
//#define TMC_DIRECTION_RIGHT TRUE
|
|
//#define TMC_DIRECTION_LEFT FALSE
|
|
|
|
#define TMC_REGISTER_COUNT 128 // Default register count
|
|
|
|
#endif /* TMC_HELPERS_CONSTANTS_H_ */
|