MHVLib  20111011
An efficiency oriented runtime library for AVR microcontrollers
A:/eclipse/mhvlib/MHV_io_ArduinoMega.h File Reference
#include <avr/io.h>

Go to the source code of this file.

Defines

#define MHV_ARDUINO_PIN_0   &DDRE, &PORTE, &PINE, 0, 8
#define MHV_ARDUINO_PIN_1   &DDRE, &PORTE, &PINE, 1, -1
#define MHV_ARDUINO_PIN_2   &DDRE, &PORTE, &PINE, 4, -1
#define MHV_ARDUINO_PIN_3   &DDRE, &PORTE, &PINE, 5, -1
#define MHV_ARDUINO_PIN_4   &DDRG, &PORTG, &PING, 5, -1
#define MHV_ARDUINO_PIN_5   &DDRE, &PORTE, &PINE, 3, -1
#define MHV_ARDUINO_PIN_6   &DDRH, &PORTH, &PINH, 3, -1
#define MHV_ARDUINO_PIN_7   &DDRH, &PORTH, &PINH, 4, -1
#define MHV_ARDUINO_PIN_8   &DDRH, &PORTH, &PINH, 5, -1
#define MHV_ARDUINO_PIN_9   &DDRH, &PORTH, &PINH, 6, -1
#define MHV_ARDUINO_PIN_10   &DDRB, &PORTB, &PINB, 4, 4
#define MHV_ARDUINO_PIN_11   &DDRB, &PORTB, &PINB, 5, 5
#define MHV_ARDUINO_PIN_12   &DDRB, &PORTB, &PINB, 6, 6
#define MHV_ARDUINO_PIN_13   &DDRB, &PORTB, &PINB, 7, 7
#define MHV_ARDUINO_PIN_14   &DDRJ, &PORTJ, &PINJ, 1, 10
#define MHV_ARDUINO_PIN_15   &DDRJ, &PORTJ, &PINJ, 0, 9
#define MHV_ARDUINO_PIN_16   &DDRH, &PORTH, &PINH, 1, -1
#define MHV_ARDUINO_PIN_17   &DDRH, &PORTH, &PINH, 0, -1
#define MHV_ARDUINO_PIN_18   &DDRD, &PORTD, &PIND, 3, -1
#define MHV_ARDUINO_PIN_19   &DDRD, &PORTD, &PIND, 2, -1
#define MHV_ARDUINO_PIN_20   &DDRD, &PORTD, &PIND, 1, -1
#define MHV_ARDUINO_PIN_21   &DDRD, &PORTD, &PIND, 0, -1
#define MHV_ARDUINO_PIN_22   &DDRA, &PORTA, &PINA, 0, -1
#define MHV_ARDUINO_PIN_23   &DDRA, &PORTA, &PINA, 1, -1
#define MHV_ARDUINO_PIN_24   &DDRA, &PORTA, &PINA, 2, -1
#define MHV_ARDUINO_PIN_25   &DDRA, &PORTA, &PINA, 3, -1
#define MHV_ARDUINO_PIN_26   &DDRA, &PORTA, &PINA, 4, -1
#define MHV_ARDUINO_PIN_27   &DDRA, &PORTA, &PINA, 5, -1
#define MHV_ARDUINO_PIN_28   &DDRA, &PORTA, &PINA, 6, -1
#define MHV_ARDUINO_PIN_29   &DDRA, &PORTA, &PINA, 7, -1
#define MHV_ARDUINO_PIN_30   &DDRC, &PORTC, &PINC, 7, -1
#define MHV_ARDUINO_PIN_31   &DDRC, &PORTC, &PINC, 6, -1
#define MHV_ARDUINO_PIN_32   &DDRC, &PORTC, &PINC, 5, -1
#define MHV_ARDUINO_PIN_33   &DDRC, &PORTC, &PINC, 4, -1
#define MHV_ARDUINO_PIN_34   &DDRC, &PORTC, &PINC, 3, -1
#define MHV_ARDUINO_PIN_35   &DDRC, &PORTC, &PINC, 2, -1
#define MHV_ARDUINO_PIN_36   &DDRC, &PORTC, &PINC, 1, -1
#define MHV_ARDUINO_PIN_37   &DDRC, &PORTC, &PINC, 0, -1
#define MHV_ARDUINO_PIN_38   &DDRD, &PORTD, &PIND, 7, -1
#define MHV_ARDUINO_PIN_39   &DDRG, &PORTG, &PING, 2, -1
#define MHV_ARDUINO_PIN_40   &DDRG, &PORTG, &PING, 1, -1
#define MHV_ARDUINO_PIN_41   &DDRG, &PORTG, &PING, 0, -1
#define MHV_ARDUINO_PIN_42   &DDRL, &PORTL, &PINL, 7, -1
#define MHV_ARDUINO_PIN_43   &DDRL, &PORTL, &PINL, 6, -1
#define MHV_ARDUINO_PIN_44   &DDRL, &PORTL, &PINL, 5, -1
#define MHV_ARDUINO_PIN_45   &DDRL, &PORTL, &PINL, 4, -1
#define MHV_ARDUINO_PIN_46   &DDRL, &PORTL, &PINL, 3, -1
#define MHV_ARDUINO_PIN_47   &DDRL, &PORTL, &PINL, 2, -1
#define MHV_ARDUINO_PIN_48   &DDRL, &PORTL, &PINL, 1, -1
#define MHV_ARDUINO_PIN_49   &DDRL, &PORTL, &PINL, 0, -1
#define MHV_ARDUINO_PIN_50   &DDRB, &PORTB, &PINB, 3, 3
#define MHV_ARDUINO_PIN_51   &DDRB, &PORTB, &PINB, 2, 2
#define MHV_ARDUINO_PIN_52   &DDRB, &PORTB, &PINB, 1, 1
#define MHV_ARDUINO_PIN_53   &DDRB, &PORTB, &PINB, 0, 0
#define MHV_ARDUINO_PIN_A0   &DDRF, &PORTF, &PINF, 0, -1
#define MHV_ARDUINO_PIN_A1   &DDRF, &PORTF, &PINF, 1, -1
#define MHV_ARDUINO_PIN_A2   &DDRF, &PORTF, &PINF, 2, -1
#define MHV_ARDUINO_PIN_A3   &DDRF, &PORTF, &PINF, 3, -1
#define MHV_ARDUINO_PIN_A4   &DDRF, &PORTF, &PINF, 4, -1
#define MHV_ARDUINO_PIN_A5   &DDRF, &PORTF, &PINF, 5, -1
#define MHV_ARDUINO_PIN_A6   &DDRF, &PORTF, &PINF, 6, -1
#define MHV_ARDUINO_PIN_A7   &DDRF, &PORTF, &PINF, 7, -1
#define MHV_ARDUINO_PIN_A8   &DDRK, &PORTK, &PINK, 0, 16
#define MHV_ARDUINO_PIN_A9   &DDRK, &PORTK, &PINK, 1, 17
#define MHV_ARDUINO_PIN_A10   &DDRK, &PORTK, &PINK, 2, 18
#define MHV_ARDUINO_PIN_A11   &DDRK, &PORTK, &PINK, 3, 19
#define MHV_ARDUINO_PIN_A12   &DDRK, &PORTK, &PINK, 4, 20
#define MHV_ARDUINO_PIN_A13   &DDRK, &PORTK, &PINK, 5, 21
#define MHV_ARDUINO_PIN_A14   &DDRK, &PORTK, &PINK, 6, 22
#define MHV_ARDUINO_PIN_A15   &DDRK, &PORTK, &PINK, 7, 23

Define Documentation

#define MHV_ARDUINO_PIN_0   &DDRE, &PORTE, &PINE, 0, 8

Definition at line 35 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_1   &DDRE, &PORTE, &PINE, 1, -1

Definition at line 36 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_10   &DDRB, &PORTB, &PINB, 4, 4

Definition at line 45 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_11   &DDRB, &PORTB, &PINB, 5, 5

Definition at line 46 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_12   &DDRB, &PORTB, &PINB, 6, 6

Definition at line 47 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_13   &DDRB, &PORTB, &PINB, 7, 7

Definition at line 48 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_14   &DDRJ, &PORTJ, &PINJ, 1, 10

Definition at line 49 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_15   &DDRJ, &PORTJ, &PINJ, 0, 9

Definition at line 50 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_16   &DDRH, &PORTH, &PINH, 1, -1

Definition at line 51 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_17   &DDRH, &PORTH, &PINH, 0, -1

Definition at line 52 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_18   &DDRD, &PORTD, &PIND, 3, -1

Definition at line 53 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_19   &DDRD, &PORTD, &PIND, 2, -1

Definition at line 54 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_2   &DDRE, &PORTE, &PINE, 4, -1

Definition at line 37 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_20   &DDRD, &PORTD, &PIND, 1, -1

Definition at line 55 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_21   &DDRD, &PORTD, &PIND, 0, -1

Definition at line 56 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_22   &DDRA, &PORTA, &PINA, 0, -1

Definition at line 57 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_23   &DDRA, &PORTA, &PINA, 1, -1

Definition at line 58 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_24   &DDRA, &PORTA, &PINA, 2, -1

Definition at line 59 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_25   &DDRA, &PORTA, &PINA, 3, -1

Definition at line 60 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_26   &DDRA, &PORTA, &PINA, 4, -1

Definition at line 61 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_27   &DDRA, &PORTA, &PINA, 5, -1

Definition at line 62 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_28   &DDRA, &PORTA, &PINA, 6, -1

Definition at line 63 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_29   &DDRA, &PORTA, &PINA, 7, -1

Definition at line 64 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_3   &DDRE, &PORTE, &PINE, 5, -1

Definition at line 38 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_30   &DDRC, &PORTC, &PINC, 7, -1

Definition at line 65 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_31   &DDRC, &PORTC, &PINC, 6, -1

Definition at line 66 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_32   &DDRC, &PORTC, &PINC, 5, -1

Definition at line 67 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_33   &DDRC, &PORTC, &PINC, 4, -1

Definition at line 68 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_34   &DDRC, &PORTC, &PINC, 3, -1

Definition at line 69 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_35   &DDRC, &PORTC, &PINC, 2, -1

Definition at line 70 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_36   &DDRC, &PORTC, &PINC, 1, -1

Definition at line 71 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_37   &DDRC, &PORTC, &PINC, 0, -1

Definition at line 72 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_38   &DDRD, &PORTD, &PIND, 7, -1

Definition at line 73 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_39   &DDRG, &PORTG, &PING, 2, -1

Definition at line 74 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_4   &DDRG, &PORTG, &PING, 5, -1

Definition at line 39 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_40   &DDRG, &PORTG, &PING, 1, -1

Definition at line 75 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_41   &DDRG, &PORTG, &PING, 0, -1

Definition at line 76 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_42   &DDRL, &PORTL, &PINL, 7, -1

Definition at line 77 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_43   &DDRL, &PORTL, &PINL, 6, -1

Definition at line 78 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_44   &DDRL, &PORTL, &PINL, 5, -1

Definition at line 79 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_45   &DDRL, &PORTL, &PINL, 4, -1

Definition at line 80 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_46   &DDRL, &PORTL, &PINL, 3, -1

Definition at line 81 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_47   &DDRL, &PORTL, &PINL, 2, -1

Definition at line 82 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_48   &DDRL, &PORTL, &PINL, 1, -1

Definition at line 83 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_49   &DDRL, &PORTL, &PINL, 0, -1

Definition at line 84 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_5   &DDRE, &PORTE, &PINE, 3, -1

Definition at line 40 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_50   &DDRB, &PORTB, &PINB, 3, 3

Definition at line 85 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_51   &DDRB, &PORTB, &PINB, 2, 2

Definition at line 86 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_52   &DDRB, &PORTB, &PINB, 1, 1

Definition at line 87 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_53   &DDRB, &PORTB, &PINB, 0, 0

Definition at line 88 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_6   &DDRH, &PORTH, &PINH, 3, -1

Definition at line 41 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_7   &DDRH, &PORTH, &PINH, 4, -1

Definition at line 42 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_8   &DDRH, &PORTH, &PINH, 5, -1

Definition at line 43 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_9   &DDRH, &PORTH, &PINH, 6, -1

Definition at line 44 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_A0   &DDRF, &PORTF, &PINF, 0, -1

Definition at line 89 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_A1   &DDRF, &PORTF, &PINF, 1, -1

Definition at line 90 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_A10   &DDRK, &PORTK, &PINK, 2, 18

Definition at line 99 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_A11   &DDRK, &PORTK, &PINK, 3, 19

Definition at line 100 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_A12   &DDRK, &PORTK, &PINK, 4, 20

Definition at line 101 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_A13   &DDRK, &PORTK, &PINK, 5, 21

Definition at line 102 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_A14   &DDRK, &PORTK, &PINK, 6, 22

Definition at line 103 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_A15   &DDRK, &PORTK, &PINK, 7, 23

Definition at line 104 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_A2   &DDRF, &PORTF, &PINF, 2, -1

Definition at line 91 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_A3   &DDRF, &PORTF, &PINF, 3, -1

Definition at line 92 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_A4   &DDRF, &PORTF, &PINF, 4, -1

Definition at line 93 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_A5   &DDRF, &PORTF, &PINF, 5, -1

Definition at line 94 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_A6   &DDRF, &PORTF, &PINF, 6, -1

Definition at line 95 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_A7   &DDRF, &PORTF, &PINF, 7, -1

Definition at line 96 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_A8   &DDRK, &PORTK, &PINK, 0, 16

Definition at line 97 of file MHV_io_ArduinoMega.h.

#define MHV_ARDUINO_PIN_A9   &DDRK, &PORTK, &PINK, 1, 17

Definition at line 98 of file MHV_io_ArduinoMega.h.