Subversion Repositories HomeAutomation

Rev

Rev 1743 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1743 Rev 2290
Line 136... Line 136...
136
#define PIN_GPIO_B2     PINB
136
#define PIN_GPIO_B2     PINB
137
#define DDR_GPIO_B2     DDRB
137
#define DDR_GPIO_B2     DDRB
138
#define NR_GPIO_B2      PB2
138
#define NR_GPIO_B2      PB2
139
 
139
 
140
//Included for completeness, be sure to check availability before using!
140
//Included for completeness, be sure to check availability before using!
141
/*
141
 
142
//Note: This is the MOSI pin used for programming with ISP
142
//Note: This is the MOSI pin used for programming with ISP
143
#define GPIO_B3         &PORTB,&PINB,&DDRB,PB3,3
143
#define GPIO_B3         &PORTB,&PINB,&DDRB,PB3,3
144
#define GPIO_B3_PCINT_vect  PCINT0_vect
144
#define GPIO_B3_PCINT_vect  PCINT0_vect
145
#define PORT_GPIO_B3    PORTB
145
#define PORT_GPIO_B3    PORTB
146
#define PIN_GPIO_B3     PINB
146
#define PIN_GPIO_B3     PINB
147
#define DDR_GPIO_B3     DDRB
147
#define DDR_GPIO_B3     DDRB
148
#define NR_GPIO_B3      PB3
148
#define NR_GPIO_B3      PB3
149
 
149
 
150
//Note: This is the MISO pin used for programming with ISP
150
//Note: This is the MISO pin used for programming with ISP
151
#define GPIO_B4         &PORTB,&PINB,&DDRB,PB4,4
151
#define GPIO_B4         &PORTB,&PINB,&DDRB,PB4,4
152
#define GPIO_B4_PCINT_vect  PCINT0_vect
152
#define GPIO_B4_PCINT_vect  PCINT0_vect
153
#define PORT_GPIO_B4    PORTB
153
#define PORT_GPIO_B4    PORTB
154
#define PIN_GPIO_B4     PINB
154
#define PIN_GPIO_B4     PINB
Line 167... Line 167...
167
#define GPIO_B6_PCINT_vect  PCINT0_vect
167
#define GPIO_B6_PCINT_vect  PCINT0_vect
168
#define PORT_GPIO_B6    PORTB
168
#define PORT_GPIO_B6    PORTB
169
#define PIN_GPIO_B6     PINB
169
#define PIN_GPIO_B6     PINB
170
#define DDR_GPIO_B6     DDRB
170
#define DDR_GPIO_B6     DDRB
171
#define NR_GPIO_B6      PB6
171
#define NR_GPIO_B6      PB6
172
*/
172
 
173
 
173
 
174
#define GPIO_B7         &PORTB,&PINB,&DDRB,PB7,7
174
#define GPIO_B7         &PORTB,&PINB,&DDRB,PB7,7
175
#define GPIO_B7_PCINT_vect  PCINT0_vect
175
#define GPIO_B7_PCINT_vect  PCINT0_vect
176
#define PORT_GPIO_B7    PORTB
176
#define PORT_GPIO_B7    PORTB
177
#define PIN_GPIO_B7     PINB
177
#define PIN_GPIO_B7     PINB