1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-23 09:44:03 +02:00
ben-wpan/atrf/fw/common/io.h
Werner Almesberger 738618a945 Update IRQ_RF after reworking both boards. IRQ_RF was erroneously connected
to P0_2 but it should go to P0_0.

- atrf/fw/common/io.h: IRQ_RF is now at P0_0
- atrf/fw/atspi/atspi.c: updated and simplified P0 initialization
2010-08-23 23:02:43 -03:00

35 lines
641 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_0
#define SLP_TR P2_1
#endif /* !IO_H */