Rev 1955 | Rev 2051 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1955 | Rev 2018 | ||
---|---|---|---|
Line 9... | Line 9... | ||
9 | #include <inttypes.h> |
9 | #include <inttypes.h> |
Line 10... | Line 10... | ||
10 | 10 | ||
11 | //Baud rate of the USART |
11 | //Baud rate of the USART |
Line 12... | Line 12... | ||
12 | #define USART0_BAUD 57600 |
12 | #define USART0_BAUD 57600 |
13 | 13 | ||
14 | extern void usart0_Init(void); |
14 | extern void usart0_init(void); |
15 | extern void usart0_TransmitTxData(void); |
15 | extern void usart0_transmitTxData(void); |
Line 16... | Line 16... | ||
16 | extern void usart0_ProcessRxData(void); |
16 | extern void usart0_processRxData(void); |
Line 17... | Line 17... | ||
17 | extern int16_t uart_putchar(int8_t c); |
17 | extern int16_t uart_putchar(int8_t c); |
18 | 18 | ||
Line 19... | Line 19... | ||
19 | extern uint8_t RemotePollDisplayLine; |
19 | // extern uint8_t remotePollDisplayLine; |
20 | 20 | ||
21 | extern uint8_t motorTestActive; |
21 | extern uint8_t motorTestActive; |
22 | extern uint8_t motorTest[16]; |
22 | extern uint8_t motorTest[16]; |
Line 23... | Line 23... | ||
23 | 23 | ||
Line 24... | Line 24... | ||
24 | typedef struct { |
24 | typedef struct { |
25 | uint8_t digital[2]; |
25 | uint8_t digital[2]; |
26 | uint16_t analog[32]; // Debugvalues |
26 | uint16_t analog[32]; // debug values |
27 | }__attribute__((packed)) DebugOut_t; |
27 | }__attribute__((packed)) DebugOut_t; |
28 | 28 | ||
29 | extern DebugOut_t debugOut; |
29 | extern DebugOut_t debugOut; |
Line 30... | Line -... | ||
30 | - | ||
31 | typedef struct { |
- | |
32 | int16_t AngleNick; // in 0.1 deg |
- | |
33 | int16_t AngleRoll; // in 0.1 deg |
- | |
34 | int16_t Heading; // in 0.1 deg |
- | |
35 | uint8_t reserve[8]; |
- | |
36 | }__attribute__((packed)) Data3D_t; |
- | |
37 | - | ||
38 | typedef struct { |
- | |
39 | uint8_t SWMajor; |
30 |