IEEE 802.15.4 subsystem
Sign in or create your account | Project List | Help
IEEE 802.15.4 subsystem Commit Details
Date: | 2010-08-24 04:02:43 (10 years 4 months ago) |
---|---|
Author: | Werner Almesberger |
Commit: | 738618a9453909fbbff324e31c113ddcb722fb88 |
Message: | 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 |
Files: |
atrf/fw/atspi/atspi.c (1 diff) atrf/fw/common/io.h (1 diff) |
Change Details
atrf/fw/atspi/atspi.c | ||
---|---|---|
63 | 63 | SLP_TR = 0; |
64 | 64 | SLP_TR_MODE |= 1 << SLP_TR_BIT; |
65 | 65 | |
66 | P0 &= | |
67 | ~((1 << 0) | (1 << 3) | (1 << 4) | (1 << 5) | (1 << 6) | (1 << 7)); | |
68 | /* change 1 << 0 to 1 << 2 once 100813 boards are reworked */ | |
66 | P0 = 1; /* IRQ_RF = 1; LED = 0; the rest is unused */ | |
69 | 67 | P3 = 0; |
70 | 68 | |
71 | 69 | #if 0 |
atrf/fw/common/io.h | ||
---|---|---|
28 | 28 | /* Miscellaneous RF signals */ |
29 | 29 | |
30 | 30 | #define nRST_RF P2_0 |
31 | #define IRQ_RF P0_2 /* change to P0_0 when 100813 board are reworked */ | |
31 | #define IRQ_RF P0_0 | |
32 | 32 | #define SLP_TR P2_1 |
33 | 33 | |
34 | 34 | #endif /* !IO_H */ |