Subversion Repositories FlightCtrl

Rev

Rev 962 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 962 Rev 963
Line 60... Line 60...
60
#define MM3_PERIOD_512  0x40
60
#define MM3_PERIOD_512  0x40
61
#define MM3_PERIOD_1024 0x50
61
#define MM3_PERIOD_1024 0x50
62
#define MM3_PERIOD_2048 0x60
62
#define MM3_PERIOD_2048 0x60
63
#define MM3_PERIOD_4096 0x70
63
#define MM3_PERIOD_4096 0x70
Line 64... Line 64...
64
 
64
 
65
#ifdef USE_WALTER_EXT // walthers board
65
#if defined(USE_WALTER_EXT) // walthers board
66
        // Output Pins (J9)PC6->MM3_SS ,(J8)PB2->MM3_RESET
66
        // Output Pins (J9)PC6->MM3_SS ,(J8)PB2->MM3_RESET
67
        #define MM3_SS_PORT    PORTC //J9->MM3_SS
67
        #define MM3_SS_PORT    PORTC //J9->MM3_SS
68
        #define MM3_SS_DDR     DDRC
68
        #define MM3_SS_DDR     DDRC
69
        #define MM3_SS_PIN     PC6
69
        #define MM3_SS_PIN     PC6
70
        #define MM3_RESET_PORT PORTB //J8->MM3_RESET
70
        #define MM3_RESET_PORT PORTB //J8->MM3_RESET
71
        #define MM3_RESET_DDR  DDRB
71
        #define MM3_RESET_DDR  DDRB
72
        #define MM3_RESET_PIN  PB2
72
        #define MM3_RESET_PIN  PB2
73
#elseif USE_NICK666 // nick666 version 0.67g
73
#elif defined(USE_NICK666) // nick666 version 0.67g
74
        #define MM3_SS_PORT    PORTD //J5->MM3_SS
74
        #define MM3_SS_PORT    PORTD //J5->MM3_SS
75
        #define MM3_SS_DDR     DDRD
75
        #define MM3_SS_DDR     DDRD
76
        #define MM3_SS_PIN     PD3
76
        #define MM3_SS_PIN     PD3
77
        #define MM3_RESET_PORT PORTB //J8->MM3_RESET
77
        #define MM3_RESET_PORT PORTB //J8->MM3_RESET