Rev 598 | Rev 617 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 598 | Rev 606 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | #define MSTR MSTR0 |
24 | #define MSTR MSTR0 |
25 | #endif |
25 | #endif |
26 | #ifndef SPR1 |
26 | #ifndef SPR1 |
27 | #define SPR1 SPR01 |
27 | #define SPR1 SPR01 |
28 | #endif |
28 | #endif |
- | 29 | #ifndef SPR0 |
|
- | 30 | #define SPR0 SPR00 |
|
- | 31 | #endif |
|
29 | #ifndef SPIE |
32 | #ifndef SPIE |
30 | #define SPIE SPIE0 |
33 | #define SPIE SPIE0 |
31 | #endif |
34 | #endif |
32 | #ifndef SPDR |
35 | #ifndef SPDR |
33 | #define SPDR SPDR0 |
36 | #define SPDR SPDR0 |
Line 44... | Line 47... | ||
44 | #define SLAVE_SELECT_PORT PORTC |
47 | #define SLAVE_SELECT_PORT PORTC |
45 | #define SPI_SLAVE_SELECT PC5 |
48 | #define SPI_SLAVE_SELECT PC5 |
Line 46... | Line 49... | ||
46 | 49 | ||
47 | struct str_ToNaviCtrl |
50 | struct str_ToNaviCtrl |
- | 51 | { |
|
48 | { |
52 | unsigned char Sync1, Sync2; |
49 | unsigned char Comp; |
53 | unsigned char Comp; |
50 | int IntegralNick; |
54 | int IntegralNick; |
51 | int IntegralRoll; |
55 | int IntegralRoll; |
52 | char StickNick,StickRoll,StickGier; |
56 | char StickNick,StickRoll,StickGier; |