mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-10-03 22:15:06 +03:00
c2dd23840c
- fw/: moved to atrf/fw/ - tools/: moved to atrf/tools/ - atrf/fw/atspi/Makefile, atrf/fw/boot/Makefile: updated relative path to f32xbase - atrf/tools/Makefile: updated relative path to Makefile.recurse - atrf/tools/atspi-id/Makefile, atrf/tools/atspi-reset/Makefile, atrf/tools/atspi-rssi/Makefile, atrf/tools/lib/Makefile: updated relative path to f32xbase - atrf/fw/include/at86rf230.h: corrected path in title - atrf/tools/include/atspi.h: added title and copyright header
35 lines
693 B
C
35 lines
693 B
C
/*
|
|
* common/io.h - I/O pin assignment
|
|
*
|
|
* Written 2010 by Werner Almesberger
|
|
* Copyright 2010 Werner Almesberger
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*/
|
|
|
|
|
|
#ifndef IO_H
|
|
#define IO_H
|
|
|
|
/* Diagnostic LED */
|
|
|
|
#define LED P0_1
|
|
|
|
/* SPI */
|
|
|
|
#define MOSI P2_2
|
|
#define MISO P2_5
|
|
#define SCLK P2_4
|
|
#define nSS P2_3
|
|
|
|
/* Miscellaneous RF signals */
|
|
|
|
#define nRST_RF P2_0
|
|
#define IRQ_RF P0_2 /* change to P0_0 when 100813 board are reworked */
|
|
#define SLP_TR P2_1
|
|
|
|
#endif /* !IO_H */
|