FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [April 2007 Threads] Newbie question LPC2138Posted by Nobody/Anonymous on April 20, 2007 Hi,
I'm testing freeRTOS on an olimex LPC-MT-2138 evaluation board and it runs well. I'm trying to change the button interrupt from P0_14 to PO_15 (where my button is), but P0_14 seems to be defined as bit 28 on P0 where I would have expected it to be bit 14?
#define mainP0_14__EINT_1( 2 << 28 )
I would normally use the bitmask 0x00004000 for P0.14 which isn't (2<<28)
What am I missing?
Thanks in advance.
Ben
RE: Newbie question LPC2138Posted by Nobody/Anonymous on April 20, 2007 It's OK, I found the solution. I didn't realise that the first 16 pins are on PINSEL0 and the next 16 on PINSEL1.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|