28
28
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29
29
POSSIBILITY OF SUCH DAMAGE. */
31
/* $Id: io2333.h 1873 2009-02-11 17:53:39Z arcanum $ */
31
/* $Id: io2333.h 2225 2011-03-02 16:27:26Z arcanum $ */
33
33
/* avr/io2333.h - definitions for AT90S2333 */
176
176
/* Interrupt vectors */
178
178
/* External Interrupt 0 */
179
#define INT0_vect_num 1
179
180
#define INT0_vect _VECTOR(1)
180
181
#define SIG_INTERRUPT0 _VECTOR(1)
182
183
/* External Interrupt 1 */
184
#define INT1_vect_num 2
183
185
#define INT1_vect _VECTOR(2)
184
186
#define SIG_INTERRUPT1 _VECTOR(2)
186
188
/* Timer/Counter Capture Event */
189
#define TIMER1_CAPT_vect_num 3
187
190
#define TIMER1_CAPT_vect _VECTOR(3)
188
191
#define SIG_INPUT_CAPTURE1 _VECTOR(3)
190
193
/* Timer/Counter1 Compare Match */
194
#define TIMER1_COMP_vect_num 4
191
195
#define TIMER1_COMP_vect _VECTOR(4)
192
196
#define SIG_OUTPUT_COMPARE1A _VECTOR(4)
194
198
/* Timer/Counter1 Overflow */
199
#define TIMER1_OVF_vect_num 5
195
200
#define TIMER1_OVF_vect _VECTOR(5)
196
201
#define SIG_OVERFLOW1 _VECTOR(5)
198
203
/* Timer/Counter0 Overflow */
204
#define TIMER0_OVF_vect_num 6
199
205
#define TIMER0_OVF_vect _VECTOR(6)
200
206
#define SIG_OVERFLOW0 _VECTOR(6)
202
208
/* Serial Transfer Complete */
209
#define SPI_STC_vect_num 7
203
210
#define SPI_STC_vect _VECTOR(7)
204
211
#define SIG_SPI _VECTOR(7)
206
213
/* UART, Rx Complete */
214
#define UART_RX_vect_num 8
207
215
#define UART_RX_vect _VECTOR(8)
208
216
#define SIG_UART_RECV _VECTOR(8)
210
218
/* UART Data Register Empty */
219
#define UART_UDRE_vect_num 9
211
220
#define UART_UDRE_vect _VECTOR(9)
212
221
#define SIG_UART_DATA _VECTOR(9)
214
223
/* UART, Tx Complete */
224
#define UART_TX_vect_num 10
215
225
#define UART_TX_vect _VECTOR(10)
216
226
#define SIG_UART_TRANS _VECTOR(10)
218
228
/* ADC Conversion Complete */
229
#define ADC_vect_num 11
219
230
#define ADC_vect _VECTOR(11)
220
231
#define SIG_ADC _VECTOR(11)
222
233
/* EEPROM Ready */
234
#define EE_RDY_vect_num 12
223
235
#define EE_RDY_vect _VECTOR(12)
224
236
#define SIG_EEPROM_READY _VECTOR(12)
226
238
/* Analog Comparator */
239
#define ANA_COMP_vect_num 13
227
240
#define ANA_COMP_vect _VECTOR(13)
228
241
#define SIG_COMPARATOR _VECTOR(13)