Root/atrf/fw/common/io.h

Source at commit 738618a9453909fbbff324e31c113ddcb722fb88 created 10 years 30 days ago.
By Werner Almesberger, Update IRQ_RF after reworking both boards. IRQ_RF was erroneously connected to P0_2 but it should go to P0_0.
1/*
2 * common/io.h - I/O pin assignment
3 *
4 * Written 2010 by Werner Almesberger
5 * Copyright 2010 Werner Almesberger
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 */
12
13
14#ifndef IO_H
15#define IO_H
16
17/* Diagnostic LED */
18
19#define LED P0_1
20
21/* SPI */
22
23#define MOSI P2_2
24#define MISO P2_5
25#define SCLK P2_4
26#define nSS P2_3
27
28/* Miscellaneous RF signals */
29
30#define nRST_RF P2_0
31#define IRQ_RF P0_0
32#define SLP_TR P2_1
33
34#endif /* !IO_H */
35

Archive Download this file



interactive