问题描述:

I been struggling with NVIC, why it is used? and how it is used?

In my project I'm using

 NVIC_IntDisable(NVIC_SSP0);

NVIC_ClrPend(NVIC_PIO_0);

NVIC_IntPri(NVIC_PIO_0, 17);

NVIC_IntEnable(NVIC_PIO_0);

These are all defined in the system.c can anyone explain me why these are used what the use perticular commands. Please mention any good matrial that I can reffer.

Thank you.

网友答案:

NVIC is a Nested Vectored Interrupt Controller (similar to PIC on x86 PC).

You can get more info on ARM website http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dai0179b/ar01s01s01.html and also in specific chip datasheets and ARM manuals for the sub-architecture.

相关阅读:
Top