-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdebug_mort.h
More file actions
65 lines (49 loc) · 1.79 KB
/
debug_mort.h
File metadata and controls
65 lines (49 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/**
******************************************************************************
* @file debug_mort.h
* @author mortamar@andrew.cmu.edu
* @version 1.0
* @date January-2022
* @brief Changed communication structure to be compatible with Keil Studio.
Debug functions live in this file and also the base communication management functions.
******************************************************************************
*/
#ifndef __DEBUG_MORT_H_
#define __DEBUG_MORT_H_
#ifdef __cplusplus
extern "C" {
#endif
/* Includes ------------------------------------------------------------------*/
#include "main.h"
/*Function definitions---------------------------------------------------------*/
void debugprintFingerMotorCounts();
void printDebugDeltaThumb( void );
void printDebugFinger1Parameters();
void printDebugFinger2Parameters( void );
void printProcessingHapticHand( void );
void printProcessingComm1DOF( double parameter );
void printProcessingComm2DOF( double parameter );
// added for fingers 1 and 2
void printProcessingCommFinger1(void);
void printProcessingCommFinger2(void);
void printTeleoperationComm( void );
void printDebug1DOFAllParameters( void );
void printDebug2DOFAllParameters( void );
void debugprint(uint16_t number);
void debugprintHelloWorld( void );
void debugprint2byteValue(uint16_t number);
void debugprintRegister( uint32_t registerval);
void debugprintEncoderCounts( int32_t encodercounts);
void debugprintDouble( double number);
void debugprintStarterCode( void );
void debugprinttruesusb( void );
void initCommunication( void );
void receiveMessageCallback( void);
void printComBuffer( void );
int checkReceiveMessage( void );
void clearReceiveMessage( void );
void manageIncommingMessage( void );
#ifdef __cplusplus
}
#endif
#endif /*__DEBUG_MORT_H */