Rev 1058 | Rev 1211 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1058 | Rev 1171 | ||
---|---|---|---|
Line 38... | Line 38... | ||
38 | unsigned char CalcState; |
38 | unsigned char CalcState; |
39 | unsigned char Orientation; |
39 | unsigned char Orientation; |
40 | }; |
40 | }; |
41 | extern struct str_WinkelOut WinkelOut; |
41 | extern struct str_WinkelOut WinkelOut; |
Line -... | Line 42... | ||
- | 42 | ||
- | 43 | struct str_Data3D |
|
- | 44 | { |
|
- | 45 | signed int Winkel[3]; // nick, roll, compass in 0,1° |
|
- | 46 | signed char reserve[8]; |
|
- | 47 | }; |
|
- | 48 | extern struct str_Data3D Data3D; |
|
42 | 49 | ||
43 | struct str_ExternControl |
50 | struct str_ExternControl |
44 | { |
51 | { |
45 | unsigned char Digital[2]; |
52 | unsigned char Digital[2]; |
46 | unsigned char RemoteTasten; |
53 | unsigned char RemoteTasten; |
Line 106... | Line 113... | ||
106 | # define UDRE UDRE0 |
113 | # define UDRE UDRE0 |
107 | # define INT_VEC_RX SIG_USART_RECV |
114 | # define INT_VEC_RX SIG_USART_RECV |
108 | # define INT_VEC_TX SIG_USART_TRANS |
115 | # define INT_VEC_TX SIG_USART_TRANS |
109 | #endif |
116 | #endif |
Line -... | Line 117... | ||
- | 117 | ||
- | 118 | #if defined (__AVR_ATmega644P__) |
|
- | 119 | # define USR UCSR0A |
|
- | 120 | # define UCR UCSR0B |
|
- | 121 | # define UDR UDR0 |
|
- | 122 | # define UBRR UBRR0L |
|
- | 123 | # define EICR EICR0B |
|
- | 124 | # define TXEN TXEN0 |
|
- | 125 | # define RXEN RXEN0 |
|
- | 126 | # define RXCIE RXCIE0 |
|
- | 127 | # define TXCIE TXCIE0 |
|
- | 128 | # define U2X U2X0 |
|
- | 129 | # define UCSRB UCSR0B |
|
- | 130 | # define UDRE UDRE0 |
|
- | 131 | # define INT_VEC_RX SIG_USART_RECV |
|
- | 132 | # define INT_VEC_TX SIG_USART_TRANS |
|
Line 110... | Line 133... | ||
110 | 133 | #endif |