stepRocker servo Open Source TMCL
1.00
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Macros
bits.h
Go to the documentation of this file.
1
/*******************************************************************************
2
Project: stepRocker Mini-TMCL (for stepRocker V2.2)
3
4
Module: bits.h
5
Bit definitions
6
7
Copyright (C) 2016 TRINAMIC Motion Control GmbH & Co KG
8
Sternstraße 67
9
D - 20357 Hamburg, Germany
10
http://www.trinamic.com/
11
12
This program is free software; you can redistribute it and/or modify it
13
freely.
14
15
This program is distributed "as is" in the hope that it will be useful, but
16
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
17
or FITNESS FOR A PARTICULAR PURPOSE.
18
*******************************************************************************/
19
30
#define BIT0 0x00000001
31
#define BIT1 0x00000002
32
#define BIT2 0x00000004
33
#define BIT3 0x00000008
34
#define BIT4 0x00000010
35
#define BIT5 0x00000020
36
#define BIT6 0x00000040
37
#define BIT7 0x00000080
38
#define BIT8 0x00000100
39
#define BIT9 0x00000200
40
#define BIT10 0x00000400
41
#define BIT11 0x00000800
42
#define BIT12 0x00001000
43
#define BIT13 0x00002000
44
#define BIT14 0x00004000
45
#define BIT15 0x00008000
46
#define BIT16 0x00010000
47
#define BIT17 0x00020000
48
#define BIT18 0x00040000
49
#define BIT19 0x00080000
50
#define BIT20 0x00100000
51
#define BIT21 0x00200000
52
#define BIT22 0x00400000
53
#define BIT23 0x00800000
54
#define BIT24 0x01000000
55
#define BIT25 0x02000000
56
#define BIT26 0x04000000
57
#define BIT27 0x08000000
58
#define BIT28 0x10000000
59
#define BIT29 0x20000000
60
#define BIT30 0x40000000
61
#define BIT31 0x80000000
Generated by
1.8.6