Playing with Arduino
A page to record my playing with Arduino
_VECTOR()

Abstract

The _VECTOR() is a macro to convert an interrupt vector number to a real address.

Source Code

The _VECTOR() is defined in hardware/tools/avr/avr/include/avr/sfr_defs.h as below.

1
#define _VECTOR(N) __vector_ ## N

For example, if the N is 7, it is converted to __vector_7.

Version

Arduino 1.8.13/avr-gcc 7.3.0-atmel3.6.1-arduino

Last Update

June 19, 2020

inserted by FC2 system