Browse Source

fastio.h: Add AT90USBxx_TEENSYPP_ASSIGNMENTS for teensyduino/Lincomatic/Printrboard compatibility.

David Forrest 11 years ago
parent
commit
e8e0697e48
1 changed files with 651 additions and 1 deletions
  1. 651
    1
      Marlin/fastio.h

+ 651
- 1
Marlin/fastio.h View File

@@ -2035,6 +2035,10 @@ pins
2035 2035
 /*
2036 2036
 pins
2037 2037
 */
2038
+
2039
+//#define AT90USBxx_TEENSYPP_ASSIGNMENTS // Use Teensy++ 2.0 assignments 
2040
+#ifndef AT90USBxx_TEENSYPP_ASSIGNMENTS // Use traditional Marlin pin assignments
2041
+
2038 2042
 #define DIO0_PIN        PINA0
2039 2043
 #define DIO0_RPORT      PINA
2040 2044
 #define DIO0_WPORT      PORTA
@@ -2667,7 +2671,653 @@ pins
2667 2671
 #define PF7_WPORT		PORTF
2668 2672
 #define PF7_PWM			NULL
2669 2673
 #define PF7_DDR			DDRF
2670
-#endif
2674
+
2675
+#else // AT90USBxx_TEENSYPP_ASSIGNMENTS -- Use Teensyduino Teensy++2.0 assignments.
2676
+
2677
+/*
2678
+
2679
+AT90USB  51 50 49 48 47 46 45 44 10 11 12 13 14 15 16 17 35 36 37 38 39 40 41 42 25 26 27 28 29 30 31 32 33 34 43 09 18 19 01 02 61 60 59 58 57 56 55 54 
2680
+Port     A0 A1 A2 A3 A4 A5 A6 A7 B0 B1 B2 B3 B4 B5 B6 B7 C0 C1 C2 C3 C4 C5 C6 C7 D0 D1 D2 D3 D4 D5 D6 D7 E0 E1 E2 E3 E4 E5 E6 E7 F0 F1 F2 F3 F4 F5 F6 F7 
2681
+Marlin   00 01 02 03 04 05 06 07 08 09 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
2682
+Teensy   28 29 30 31 32 33 34 35 20 21 22 23 24 25 26 27 10 11 12 13 14 15 16 17 00 01 02 03 04 05 06 07 08 09(46*47)36 37 18 19 38 39 40 41 42 43 44 45
2683
+         The pins 46 and 47 are not supported by Teensyduino, but are supported below.
2684
+*/
2685
+
2686
+#define DIO0_PIN PIND0
2687
+#define DIO0_RPORT PIND
2688
+#define DIO0_WPORT PORTD
2689
+#define DIO0_PWM NULL
2690
+#define DIO0_DDR DDRD
2691
+
2692
+#define DIO1_PIN PIND1
2693
+#define DIO1_RPORT PIND
2694
+#define DIO1_WPORT PORTD
2695
+#define DIO1_PWM NULL
2696
+#define DIO1_DDR DDRD
2697
+
2698
+#define DIO2_PIN PIND2
2699
+#define DIO2_RPORT PIND
2700
+#define DIO2_WPORT PORTD
2701
+#define DIO2_PWM NULL
2702
+#define DIO2_DDR DDRD
2703
+
2704
+#define DIO3_PIN PIND3
2705
+#define DIO3_RPORT PIND
2706
+#define DIO3_WPORT PORTD
2707
+#define DIO3_PWM NULL
2708
+#define DIO3_DDR DDRD
2709
+
2710
+#define DIO4_PIN PIND4
2711
+#define DIO4_RPORT PIND
2712
+#define DIO4_WPORT PORTD
2713
+#define DIO4_PWM NULL
2714
+#define DIO4_DDR DDRD
2715
+
2716
+#define DIO5_PIN PIND5
2717
+#define DIO5_RPORT PIND
2718
+#define DIO5_WPORT PORTD
2719
+#define DIO5_PWM NULL
2720
+#define DIO5_DDR DDRD
2721
+
2722
+#define DIO6_PIN PIND6
2723
+#define DIO6_RPORT PIND
2724
+#define DIO6_WPORT PORTD
2725
+#define DIO6_PWM NULL
2726
+#define DIO6_DDR DDRD
2727
+
2728
+#define DIO7_PIN PIND7
2729
+#define DIO7_RPORT PIND
2730
+#define DIO7_WPORT PORTD
2731
+#define DIO7_PWM NULL
2732
+#define DIO7_DDR DDRD
2733
+
2734
+#define DIO8_PIN PINE0
2735
+#define DIO8_RPORT PINE
2736
+#define DIO8_WPORT PORTE
2737
+#define DIO8_PWM NULL
2738
+#define DIO8_DDR DDRE
2739
+
2740
+#define DIO9_PIN PINE1
2741
+#define DIO9_RPORT PINE
2742
+#define DIO9_WPORT PORTE
2743
+#define DIO9_PWM NULL
2744
+#define DIO9_DDR DDRE
2745
+
2746
+#define DIO10_PIN PINC0
2747
+#define DIO10_RPORT PINC
2748
+#define DIO10_WPORT PORTC
2749
+#define DIO10_PWM NULL
2750
+#define DIO10_DDR DDRC
2751
+
2752
+#define DIO11_PIN PINC1
2753
+#define DIO11_RPORT PINC
2754
+#define DIO11_WPORT PORTC
2755
+#define DIO11_PWM NULL
2756
+#define DIO11_DDR DDRC
2757
+
2758
+#define DIO12_PIN PINC2
2759
+#define DIO12_RPORT PINC
2760
+#define DIO12_WPORT PORTC
2761
+#define DIO12_PWM NULL
2762
+#define DIO12_DDR DDRC
2763
+
2764
+#define DIO13_PIN PINC3
2765
+#define DIO13_RPORT PINC
2766
+#define DIO13_WPORT PORTC
2767
+#define DIO13_PWM NULL
2768
+#define DIO13_DDR DDRC
2769
+
2770
+#define DIO14_PIN PINC4
2771
+#define DIO14_RPORT PINC
2772
+#define DIO14_WPORT PORTC
2773
+#define DIO14_PWM NULL
2774
+#define DIO14_DDR DDRC
2775
+
2776
+#define DIO15_PIN PINC5
2777
+#define DIO15_RPORT PINC
2778
+#define DIO15_WPORT PORTC
2779
+#define DIO15_PWM NULL
2780
+#define DIO15_DDR DDRC
2781
+
2782
+#define DIO16_PIN PINC6
2783
+#define DIO16_RPORT PINC
2784
+#define DIO16_WPORT PORTC
2785
+#define DIO16_PWM NULL
2786
+#define DIO16_DDR DDRC
2787
+
2788
+#define DIO17_PIN PINC7
2789
+#define DIO17_RPORT PINC
2790
+#define DIO17_WPORT PORTC
2791
+#define DIO17_PWM NULL
2792
+#define DIO17_DDR DDRC
2793
+
2794
+#define DIO18_PIN PINE6
2795
+#define DIO18_RPORT PINE
2796
+#define DIO18_WPORT PORTE
2797
+#define DIO18_PWM NULL
2798
+#define DIO18_DDR DDRE
2799
+
2800
+#define DIO19_PIN PINE7
2801
+#define DIO19_RPORT PINE
2802
+#define DIO19_WPORT PORTE
2803
+#define DIO19_PWM NULL
2804
+#define DIO19_DDR DDRE
2805
+
2806
+#define DIO20_PIN PINB0
2807
+#define DIO20_RPORT PINB
2808
+#define DIO20_WPORT PORTB
2809
+#define DIO20_PWM NULL
2810
+#define DIO20_DDR DDRB
2811
+
2812
+#define DIO21_PIN PINB1
2813
+#define DIO21_RPORT PINB
2814
+#define DIO21_WPORT PORTB
2815
+#define DIO21_PWM NULL
2816
+#define DIO21_DDR DDRB
2817
+
2818
+#define DIO22_PIN PINB2
2819
+#define DIO22_RPORT PINB
2820
+#define DIO22_WPORT PORTB
2821
+#define DIO22_PWM NULL
2822
+#define DIO22_DDR DDRB
2823
+
2824
+#define DIO23_PIN PINB3
2825
+#define DIO23_RPORT PINB
2826
+#define DIO23_WPORT PORTB
2827
+#define DIO23_PWM NULL
2828
+#define DIO23_DDR DDRB
2829
+
2830
+#define DIO24_PIN PINB4
2831
+#define DIO24_RPORT PINB
2832
+#define DIO24_WPORT PORTB
2833
+#define DIO24_PWM NULL
2834
+#define DIO24_DDR DDRB
2835
+
2836
+#define DIO25_PIN PINB5
2837
+#define DIO25_RPORT PINB
2838
+#define DIO25_WPORT PORTB
2839
+#define DIO25_PWM NULL
2840
+#define DIO25_DDR DDRB
2841
+
2842
+#define DIO26_PIN PINB6
2843
+#define DIO26_RPORT PINB
2844
+#define DIO26_WPORT PORTB
2845
+#define DIO26_PWM NULL
2846
+#define DIO26_DDR DDRB
2847
+
2848
+#define DIO27_PIN PINB7
2849
+#define DIO27_RPORT PINB
2850
+#define DIO27_WPORT PORTB
2851
+#define DIO27_PWM NULL
2852
+#define DIO27_DDR DDRB
2853
+
2854
+#define DIO28_PIN PINA0
2855
+#define DIO28_RPORT PINA
2856
+#define DIO28_WPORT PORTA
2857
+#define DIO28_PWM NULL
2858
+#define DIO28_DDR DDRA
2859
+
2860
+#define DIO29_PIN PINA1
2861
+#define DIO29_RPORT PINA
2862
+#define DIO29_WPORT PORTA
2863
+#define DIO29_PWM NULL
2864
+#define DIO29_DDR DDRA
2865
+
2866
+#define DIO30_PIN PINA2
2867
+#define DIO30_RPORT PINA
2868
+#define DIO30_WPORT PORTA
2869
+#define DIO30_PWM NULL
2870
+#define DIO30_DDR DDRA
2871
+
2872
+#define DIO31_PIN PINA3
2873
+#define DIO31_RPORT PINA
2874
+#define DIO31_WPORT PORTA
2875
+#define DIO31_PWM NULL
2876
+#define DIO31_DDR DDRA
2877
+
2878
+#define DIO32_PIN PINA4
2879
+#define DIO32_RPORT PINA
2880
+#define DIO32_WPORT PORTA
2881
+#define DIO32_PWM NULL
2882
+#define DIO32_DDR DDRA
2883
+
2884
+#define DIO33_PIN PINA5
2885
+#define DIO33_RPORT PINA
2886
+#define DIO33_WPORT PORTA
2887
+#define DIO33_PWM NULL
2888
+#define DIO33_DDR DDRA
2889
+
2890
+#define DIO34_PIN PINA6
2891
+#define DIO34_RPORT PINA
2892
+#define DIO34_WPORT PORTA
2893
+#define DIO34_PWM NULL
2894
+#define DIO34_DDR DDRA
2895
+
2896
+#define DIO35_PIN PINA7
2897
+#define DIO35_RPORT PINA
2898
+#define DIO35_WPORT PORTA
2899
+#define DIO35_PWM NULL
2900
+#define DIO35_DDR DDRA
2901
+
2902
+#define DIO36_PIN PINE4
2903
+#define DIO36_RPORT PINE
2904
+#define DIO36_WPORT PORTE
2905
+#define DIO36_PWM NULL
2906
+#define DIO36_DDR DDRE
2907
+
2908
+#define DIO37_PIN PINE5
2909
+#define DIO37_RPORT PINE
2910
+#define DIO37_WPORT PORTE
2911
+#define DIO37_PWM NULL
2912
+#define DIO37_DDR DDRE
2913
+
2914
+#define DIO38_PIN PINF0
2915
+#define DIO38_RPORT PINF
2916
+#define DIO38_WPORT PORTF
2917
+#define DIO38_PWM NULL
2918
+#define DIO38_DDR DDRF
2919
+
2920
+#define DIO39_PIN PINF1
2921
+#define DIO39_RPORT PINF
2922
+#define DIO39_WPORT PORTF
2923
+#define DIO39_PWM NULL
2924
+#define DIO39_DDR DDRF
2925
+
2926
+#define DIO40_PIN PINF2
2927
+#define DIO40_RPORT PINF
2928
+#define DIO40_WPORT PORTF
2929
+#define DIO40_PWM NULL
2930
+#define DIO40_DDR DDRF
2931
+
2932
+#define DIO41_PIN PINF3
2933
+#define DIO41_RPORT PINF
2934
+#define DIO41_WPORT PORTF
2935
+#define DIO41_PWM NULL
2936
+#define DIO41_DDR DDRF
2937
+
2938
+#define DIO42_PIN PINF4
2939
+#define DIO42_RPORT PINF
2940
+#define DIO42_WPORT PORTF
2941
+#define DIO42_PWM NULL
2942
+#define DIO42_DDR DDRF
2943
+
2944
+#define DIO43_PIN PINF5
2945
+#define DIO43_RPORT PINF
2946
+#define DIO43_WPORT PORTF
2947
+#define DIO43_PWM NULL
2948
+#define DIO43_DDR DDRF
2949
+
2950
+#define DIO44_PIN PINF6
2951
+#define DIO44_RPORT PINF
2952
+#define DIO44_WPORT PORTF
2953
+#define DIO44_PWM NULL
2954
+#define DIO44_DDR DDRF
2955
+
2956
+#define DIO45_PIN PINF7
2957
+#define DIO45_RPORT PINF
2958
+#define DIO45_WPORT PORTF
2959
+#define DIO45_PWM NULL
2960
+#define DIO45_DDR DDRF
2961
+
2962
+#define AIO0_PIN PINF0
2963
+#define AIO0_RPORT PINF
2964
+#define AIO0_WPORT PORTF
2965
+#define AIO0_PWM NULL
2966
+#define AIO0_DDR DDRF
2967
+
2968
+#define AIO1_PIN PINF1
2969
+#define AIO1_RPORT PINF
2970
+#define AIO1_WPORT PORTF
2971
+#define AIO1_PWM NULL
2972
+#define AIO1_DDR DDRF
2973
+
2974
+#define AIO2_PIN PINF2
2975
+#define AIO2_RPORT PINF
2976
+#define AIO2_WPORT PORTF
2977
+#define AIO2_PWM NULL
2978
+#define AIO2_DDR DDRF
2979
+
2980
+#define AIO3_PIN PINF3
2981
+#define AIO3_RPORT PINF
2982
+#define AIO3_WPORT PORTF
2983
+#define AIO3_PWM NULL
2984
+#define AIO3_DDR DDRF
2985
+
2986
+#define AIO4_PIN PINF4
2987
+#define AIO4_RPORT PINF
2988
+#define AIO4_WPORT PORTF
2989
+#define AIO4_PWM NULL
2990
+#define AIO4_DDR DDRF
2991
+
2992
+#define AIO5_PIN PINF5
2993
+#define AIO5_RPORT PINF
2994
+#define AIO5_WPORT PORTF
2995
+#define AIO5_PWM NULL
2996
+#define AIO5_DDR DDRF
2997
+
2998
+#define AIO6_PIN PINF6
2999
+#define AIO6_RPORT PINF
3000
+#define AIO6_WPORT PORTF
3001
+#define AIO6_PWM NULL
3002
+#define AIO6_DDR DDRF
3003
+
3004
+#define AIO7_PIN PINF7
3005
+#define AIO7_RPORT PINF
3006
+#define AIO7_WPORT PORTF
3007
+#define AIO7_PWM NULL
3008
+#define AIO7_DDR DDRF
3009
+
3010
+//-- Begin not supported by Teensyduino
3011
+//-- don't use Arduino functions on these pins pinMode/digitalWrite/etc
3012
+#define DIO46_PIN PINE2
3013
+#define DIO46_RPORT PINE
3014
+#define DIO46_WPORT PORTE
3015
+#define DIO46_PWM NULL
3016
+#define DIO46_DDR DDRE
3017
+
3018
+#define DIO47_PIN PINE3
3019
+#define DIO47_RPORT PINE
3020
+#define DIO47_WPORT PORTE
3021
+#define DIO47_PWM NULL
3022
+#define DIO47_DDR DDRE
3023
+//-- end not supported by Teensyduino
3024
+
3025
+#undef PA0
3026
+#define PA0_PIN PINA0
3027
+#define PA0_RPORT PINA
3028
+#define PA0_WPORT PORTA
3029
+#define PA0_PWM NULL
3030
+#define PA0_DDR DDRA
3031
+#undef PA1
3032
+#define PA1_PIN PINA1
3033
+#define PA1_RPORT PINA
3034
+#define PA1_WPORT PORTA
3035
+#define PA1_PWM NULL
3036
+#define PA1_DDR DDRA
3037
+#undef PA2
3038
+#define PA2_PIN PINA2
3039
+#define PA2_RPORT PINA
3040
+#define PA2_WPORT PORTA
3041
+#define PA2_PWM NULL
3042
+#define PA2_DDR DDRA
3043
+#undef PA3
3044
+#define PA3_PIN PINA3
3045
+#define PA3_RPORT PINA
3046
+#define PA3_WPORT PORTA
3047
+#define PA3_PWM NULL
3048
+#define PA3_DDR DDRA
3049
+#undef PA4
3050
+#define PA4_PIN PINA4
3051
+#define PA4_RPORT PINA
3052
+#define PA4_WPORT PORTA
3053
+#define PA4_PWM NULL
3054
+#define PA4_DDR DDRA
3055
+#undef PA5
3056
+#define PA5_PIN PINA5
3057
+#define PA5_RPORT PINA
3058
+#define PA5_WPORT PORTA
3059
+#define PA5_PWM NULL
3060
+#define PA5_DDR DDRA
3061
+#undef PA6
3062
+#define PA6_PIN PINA6
3063
+#define PA6_RPORT PINA
3064
+#define PA6_WPORT PORTA
3065
+#define PA6_PWM NULL
3066
+#define PA6_DDR DDRA
3067
+#undef PA7
3068
+#define PA7_PIN PINA7
3069
+#define PA7_RPORT PINA
3070
+#define PA7_WPORT PORTA
3071
+#define PA7_PWM NULL
3072
+#define PA7_DDR DDRA
3073
+
3074
+#undef PB0
3075
+#define PB0_PIN PINB0
3076
+#define PB0_RPORT PINB
3077
+#define PB0_WPORT PORTB
3078
+#define PB0_PWM NULL
3079
+#define PB0_DDR DDRB
3080
+#undef PB1
3081
+#define PB1_PIN PINB1
3082
+#define PB1_RPORT PINB
3083
+#define PB1_WPORT PORTB
3084
+#define PB1_PWM NULL
3085
+#define PB1_DDR DDRB
3086
+#undef PB2
3087
+#define PB2_PIN PINB2
3088
+#define PB2_RPORT PINB
3089
+#define PB2_WPORT PORTB
3090
+#define PB2_PWM NULL
3091
+#define PB2_DDR DDRB
3092
+#undef PB3
3093
+#define PB3_PIN PINB3
3094
+#define PB3_RPORT PINB
3095
+#define PB3_WPORT PORTB
3096
+#define PB3_PWM NULL
3097
+#define PB3_DDR DDRB
3098
+#undef PB4
3099
+#define PB4_PIN PINB4
3100
+#define PB4_RPORT PINB
3101
+#define PB4_WPORT PORTB
3102
+#define PB4_PWM NULL
3103
+#define PB4_DDR DDRB
3104
+#undef PB5
3105
+#define PB5_PIN PINB5
3106
+#define PB5_RPORT PINB
3107
+#define PB5_WPORT PORTB
3108
+#define PB5_PWM NULL
3109
+#define PB5_DDR DDRB
3110
+#undef PB6
3111
+#define PB6_PIN PINB6
3112
+#define PB6_RPORT PINB
3113
+#define PB6_WPORT PORTB
3114
+#define PB6_PWM NULL
3115
+#define PB6_DDR DDRB
3116
+#undef PB7
3117
+#define PB7_PIN PINB7
3118
+#define PB7_RPORT PINB
3119
+#define PB7_WPORT PORTB
3120
+#define PB7_PWM NULL
3121
+#define PB7_DDR DDRB
3122
+
3123
+#undef PC0
3124
+#define PC0_PIN PINC0
3125
+#define PC0_RPORT PINC
3126
+#define PC0_WPORT PORTC
3127
+#define PC0_PWM NULL
3128
+#define PC0_DDR DDRC
3129
+#undef PC1
3130
+#define PC1_PIN PINC1
3131
+#define PC1_RPORT PINC
3132
+#define PC1_WPORT PORTC
3133
+#define PC1_PWM NULL
3134
+#define PC1_DDR DDRC
3135
+#undef PC2
3136
+#define PC2_PIN PINC2
3137
+#define PC2_RPORT PINC
3138
+#define PC2_WPORT PORTC
3139
+#define PC2_PWM NULL
3140
+#define PC2_DDR DDRC
3141
+#undef PC3
3142
+#define PC3_PIN PINC3
3143
+#define PC3_RPORT PINC
3144
+#define PC3_WPORT PORTC
3145
+#define PC3_PWM NULL
3146
+#define PC3_DDR DDRC
3147
+#undef PC4
3148
+#define PC4_PIN PINC4
3149
+#define PC4_RPORT PINC
3150
+#define PC4_WPORT PORTC
3151
+#define PC4_PWM NULL
3152
+#define PC4_DDR DDRC
3153
+#undef PC5
3154
+#define PC5_PIN PINC5
3155
+#define PC5_RPORT PINC
3156
+#define PC5_WPORT PORTC
3157
+#define PC5_PWM NULL
3158
+#define PC5_DDR DDRC
3159
+#undef PC6
3160
+#define PC6_PIN PINC6
3161
+#define PC6_RPORT PINC
3162
+#define PC6_WPORT PORTC
3163
+#define PC6_PWM NULL
3164
+#define PC6_DDR DDRC
3165
+#undef PC7
3166
+#define PC7_PIN PINC7
3167
+#define PC7_RPORT PINC
3168
+#define PC7_WPORT PORTC
3169
+#define PC7_PWM NULL
3170
+#define PC7_DDR DDRC
3171
+
3172
+#undef PD0
3173
+#define PD0_PIN PIND0
3174
+#define PD0_RPORT PIND
3175
+#define PD0_WPORT PORTD
3176
+#define PD0_PWM NULL
3177
+#define PD0_DDR DDRD
3178
+#undef PD1
3179
+#define PD1_PIN PIND1
3180
+#define PD1_RPORT PIND
3181
+#define PD1_WPORT PORTD
3182
+#define PD1_PWM NULL
3183
+#define PD1_DDR DDRD
3184
+#undef PD2
3185
+#define PD2_PIN PIND2
3186
+#define PD2_RPORT PIND
3187
+#define PD2_WPORT PORTD
3188
+#define PD2_PWM NULL
3189
+#define PD2_DDR DDRD
3190
+#undef PD3
3191
+#define PD3_PIN PIND3
3192
+#define PD3_RPORT PIND
3193
+#define PD3_WPORT PORTD
3194
+#define PD3_PWM NULL
3195
+#define PD3_DDR DDRD
3196
+#undef PD4
3197
+#define PD4_PIN PIND4
3198
+#define PD4_RPORT PIND
3199
+#define PD4_WPORT PORTD
3200
+#define PD4_PWM NULL
3201
+#define PD4_DDR DDRD
3202
+#undef PD5
3203
+#define PD5_PIN PIND5
3204
+#define PD5_RPORT PIND
3205
+#define PD5_WPORT PORTD
3206
+#define PD5_PWM NULL
3207
+#define PD5_DDR DDRD
3208
+#undef PD6
3209
+#define PD6_PIN PIND6
3210
+#define PD6_RPORT PIND
3211
+#define PD6_WPORT PORTD
3212
+#define PD6_PWM NULL
3213
+#define PD6_DDR DDRD
3214
+#undef PD7
3215
+#define PD7_PIN PIND7
3216
+#define PD7_RPORT PIND
3217
+#define PD7_WPORT PORTD
3218
+#define PD7_PWM NULL
3219
+#define PD7_DDR DDRD
3220
+
3221
+#undef PE0
3222
+#define PE0_PIN PINE0
3223
+#define PE0_RPORT PINE
3224
+#define PE0_WPORT PORTE
3225
+#define PE0_PWM NULL
3226
+#define PE0_DDR DDRE
3227
+#undef PE1
3228
+#define PE1_PIN PINE1
3229
+#define PE1_RPORT PINE
3230
+#define PE1_WPORT PORTE
3231
+#define PE1_PWM NULL
3232
+#define PE1_DDR DDRE
3233
+#undef PE2
3234
+#define PE2_PIN PINE2
3235
+#define PE2_RPORT PINE
3236
+#define PE2_WPORT PORTE
3237
+#define PE2_PWM NULL
3238
+#define PE2_DDR DDRE
3239
+#undef PE3
3240
+#define PE3_PIN PINE3
3241
+#define PE3_RPORT PINE
3242
+#define PE3_WPORT PORTE
3243
+#define PE3_PWM NULL
3244
+#define PE3_DDR DDRE
3245
+#undef PE4
3246
+#define PE4_PIN PINE4
3247
+#define PE4_RPORT PINE
3248
+#define PE4_WPORT PORTE
3249
+#define PE4_PWM NULL
3250
+#define PE4_DDR DDRE
3251
+#undef PE5
3252
+#define PE5_PIN PINE5
3253
+#define PE5_RPORT PINE
3254
+#define PE5_WPORT PORTE
3255
+#define PE5_PWM NULL
3256
+#define PE5_DDR DDRE
3257
+#undef PE6
3258
+#define PE6_PIN PINE6
3259
+#define PE6_RPORT PINE
3260
+#define PE6_WPORT PORTE
3261
+#define PE6_PWM NULL
3262
+#define PE6_DDR DDRE
3263
+#undef PE7
3264
+#define PE7_PIN PINE7
3265
+#define PE7_RPORT PINE
3266
+#define PE7_WPORT PORTE
3267
+#define PE7_PWM NULL
3268
+#define PE7_DDR DDRE
3269
+
3270
+#undef PF0
3271
+#define PF0_PIN PINF0
3272
+#define PF0_RPORT PINF
3273
+#define PF0_WPORT PORTF
3274
+#define PF0_PWM NULL
3275
+#define PF0_DDR DDRF
3276
+#undef PF1
3277
+#define PF1_PIN PINF1
3278
+#define PF1_RPORT PINF
3279
+#define PF1_WPORT PORTF
3280
+#define PF1_PWM NULL
3281
+#define PF1_DDR DDRF
3282
+#undef PF2
3283
+#define PF2_PIN PINF2
3284
+#define PF2_RPORT PINF
3285
+#define PF2_WPORT PORTF
3286
+#define PF2_PWM NULL
3287
+#define PF2_DDR DDRF
3288
+#undef PF3
3289
+#define PF3_PIN PINF3
3290
+#define PF3_RPORT PINF
3291
+#define PF3_WPORT PORTF
3292
+#define PF3_PWM NULL
3293
+#define PF3_DDR DDRF
3294
+#undef PF4
3295
+#define PF4_PIN PINF4
3296
+#define PF4_RPORT PINF
3297
+#define PF4_WPORT PORTF
3298
+#define PF4_PWM NULL
3299
+#define PF4_DDR DDRF
3300
+#undef PF5
3301
+#define PF5_PIN PINF5
3302
+#define PF5_RPORT PINF
3303
+#define PF5_WPORT PORTF
3304
+#define PF5_PWM NULL
3305
+#define PF5_DDR DDRF
3306
+#undef PF6
3307
+#define PF6_PIN PINF6
3308
+#define PF6_RPORT PINF
3309
+#define PF6_WPORT PORTF
3310
+#define PF6_PWM NULL
3311
+#define PF6_DDR DDRF
3312
+#undef PF7
3313
+#define PF7_PIN PINF7
3314
+#define PF7_RPORT PINF
3315
+#define PF7_WPORT PORTF
3316
+#define PF7_PWM NULL
3317
+#define PF7_DDR DDRF
3318
+
3319
+#endif // AT90USBxx_TEENSYPP_ASSIGNMENTS Teensyduino assignments
3320
+#endif // __AVR_AT90usbxxx__
2671 3321
 
2672 3322
 
2673 3323
 #if defined (__AVR_ATmega1281__) || defined (__AVR_ATmega2561__)

Loading…
Cancel
Save