Quality RTOS & Embedded Software

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


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 ]    [ Privacy ]    [ Sitemap ]    [ ]


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

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

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

Xilinx Microblaze and Zynq partner