Root/atrf/fw/common/io.h

Source at commit c2dd23840ce5875deca09673fcb8abb8dc3a8e7a created 9 years 1 month ago.
By Werner Almesberger, Moved fw/ and tools/ into atrf/ as well.
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_2 /* change to P0_0 when 100813 board are reworked */
32#define SLP_TR P2_1
33
34#endif /* !IO_H */
35

Archive Download this file



interactive