Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

Newbie question LPC2138

Posted 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 LPC2138

Posted 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.


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS