NVIC_ Functions documentation?

21 Apr 2012

I have found example code with a few NVIC function calls such as NVIC_SetPriority() but have not been able to find any sort of documentation that appears to be a complete list of all such functions.

I would appreciate any pointers to documentation related to these functions. I have tried to search the entire mbed site but just keep running in circles.

Thanks,

Chuck

21 Apr 2012

Section 34.4.2.10.1 of NXP LPC176x User Manual gives an overview of some of the CMSIS related functions such as the NVIC ones you mention above.

More information about CMSIS can be found at http://www.arm.com/products/processors/cortex-m/cortex-microcontroller-software-interface-standard.php

The CMSIS functionality supported by the online compiler is exposed through the headers found in the mbed SVN repository at http://mbed.org/projects/libraries/svn/mbed/trunk/LPC1768/ARM Just take a look through those headers to see al that is supported.

Andy Kirkham also has a good notebook page about getting close to the hardware which you might find interesting as well: http://mbed.org/users/AjK/notebook/getting-closer-to-the-hardware/

Hope that helps,

Adam

21 Apr 2012

This helps a lot Adam. I had stumbled around in some of this but had not looked in the core_cm3.h header. Also, by going directly to your link for the headers I finally realized I needed to click the "Update to the latest revision" link in the compiler window. I had only been seeing Rev 19 documentation.

I had previous help from Jim Hamblen who pointed out how to get to the "Open Library Page" link in the compiler window to find LPC17xx.h but had not paid attention to the update link. I had found Andy's notebook page and it is quite useful.

Many thanks for helping me to connect more dots.

Chuck

Adam Green wrote:

Section 34.4.2.10.1 of NXP LPC176x User Manual gives an overview of some of the CMSIS related functions such as the NVIC ones you mention above.

More information about CMSIS can be found at http://www.arm.com/products/processors/cortex-m/cortex-microcontroller-software-interface-standard.php

The CMSIS functionality supported by the online compiler is exposed through the headers found in the mbed SVN repository at http://mbed.org/projects/libraries/svn/mbed/trunk/LPC1768/ARM Just take a look through those headers to see al that is supported.

Andy Kirkham also has a good notebook page about getting close to the hardware which you might find interesting as well: http://mbed.org/users/AjK/notebook/getting-closer-to-the-hardware/

Hope that helps,

Adam