mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
PORTL definitions added to avrpins.h
This commit is contained in:
parent
f4bd3e9986
commit
20f057b944
1 changed files with 17 additions and 0 deletions
17
avrpins.h
17
avrpins.h
|
@ -52,6 +52,9 @@ e-mail : support@circuitsathome.com
|
||||||
#ifdef PORTK
|
#ifdef PORTK
|
||||||
#define USE_PORTK
|
#define USE_PORTK
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef PORTL
|
||||||
|
#define USE_PORTL
|
||||||
|
#endif
|
||||||
#ifdef PORTQ
|
#ifdef PORTQ
|
||||||
#define USE_PORTQ
|
#define USE_PORTQ
|
||||||
#endif
|
#endif
|
||||||
|
@ -137,6 +140,9 @@ MAKE_PORT(PORTJ, DDRJ, PINJ, Portj, 'J')
|
||||||
#ifdef USE_PORTK
|
#ifdef USE_PORTK
|
||||||
MAKE_PORT(PORTK, DDRK, PINK, Portk, 'K')
|
MAKE_PORT(PORTK, DDRK, PINK, Portk, 'K')
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef USE_PORTL
|
||||||
|
MAKE_PORT(PORTL, DDRL, PINL, Portl, 'L')
|
||||||
|
#endif
|
||||||
#ifdef USE_PORTQ
|
#ifdef USE_PORTQ
|
||||||
MAKE_PORT(PORTQ, DDRQ, PINQ, Portq, 'Q')
|
MAKE_PORT(PORTQ, DDRQ, PINQ, Portq, 'Q')
|
||||||
#endif
|
#endif
|
||||||
|
@ -320,6 +326,17 @@ typedef TPin<Portk, 6> Pk6;
|
||||||
typedef TPin<Portk, 7> Pk7;
|
typedef TPin<Portk, 7> Pk7;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef USE_PORTL
|
||||||
|
typedef TPin<Portl, 0> Pl0;
|
||||||
|
typedef TPin<Portl, 1> Pl1;
|
||||||
|
typedef TPin<Portl, 2> Pl2;
|
||||||
|
typedef TPin<Portl, 3> Pl3;
|
||||||
|
typedef TPin<Portl, 4> Pl4;
|
||||||
|
typedef TPin<Portl, 5> Pl5;
|
||||||
|
typedef TPin<Portl, 6> Pl6;
|
||||||
|
typedef TPin<Portl, 7> Pl7;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef USE_PORTQ
|
#ifdef USE_PORTQ
|
||||||
typedef TPin<Portq, 0> Pq0;
|
typedef TPin<Portq, 0> Pq0;
|
||||||
typedef TPin<Portq, 1> Pq1;
|
typedef TPin<Portq, 1> Pq1;
|
||||||
|
|
Loading…
Reference in a new issue