Date:2010-08-24 04:02:43 (9 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
6363    SLP_TR = 0;
6464    SLP_TR_MODE |= 1 << SLP_TR_BIT;
6565
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 */
6967    P3 = 0;
7068
7169#if 0
atrf/fw/common/io.h
2828/* Miscellaneous RF signals */
2929
3030#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
3232#define SLP_TR P2_1
3333
3434#endif /* !IO_H */

Archive Download the corresponding diff file



interactive