Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tmc/ic/TMC2240/TMC2240.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@


#ifndef TMC_IC_TMC2240_H_
#define TMC_IC_TMC2240_H_

#include <stdint.h>
#include <stdbool.h>
Expand Down
6 changes: 3 additions & 3 deletions tmc/ic/TMC2240/TMC2240_HW_Abstraction.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
*******************************************************************************/


#ifndef TMC_IC_TMC2240_H_
#define TMC_IC_TMC2240_H_
#ifndef TMC2240_HW_ABSTRACTION
#define TMC2240_HW_ABSTRACTION

// Constants
#define TMC2240_REGISTER_COUNT 128
Expand Down Expand Up @@ -564,4 +564,4 @@
#define TMC2240_SG4_IND_3_SHIFT 24
#define TMC2240_SG4_IND_3_FIELD ((RegisterField) {TMC2240_SG4_IND_3_MASK, TMC2240_SG4_IND_3_SHIFT, TMC2240_SG4_IND, false})

#endif
#endif /* TMC2240_HW_ABSTRACTION */
1 change: 1 addition & 0 deletions tmc/ic/TMC2241/TMC2241.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@


#ifndef TMC_IC_TMC2241_H_
#define TMC_IC_TMC2241_H_

#include <stdint.h>
#include <stdbool.h>
Expand Down
6 changes: 3 additions & 3 deletions tmc/ic/TMC2241/TMC2241_HW_Abstraction.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
*******************************************************************************/


#ifndef TMC_IC_TMC2241_H_
#define TMC_IC_TMC2241_H_
#ifndef TMC2241_HW_ABSTRACTION
#define TMC2241_HW_ABSTRACTION

// Constants
#define TMC2241_REGISTER_COUNT 128
Expand Down Expand Up @@ -607,4 +607,4 @@
#define TMC2241_SG4_IND_3_MASK 0xFF000000
#define TMC2241_SG4_IND_3_SHIFT 24
#define TMC2241_SG4_IND_3_FIELD ((RegisterField) {TMC2241_SG4_IND_3_MASK, TMC2241_SG4_IND_3_SHIFT, TMC2241_SG4_IND, false})
#endif
#endif /* TMC2241_HW_ABSTRACTION */