uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NVIC Public Functions

Functions

void NVIC_DeInit (void)
 De-initializes the NVIC peripheral registers to their default reset values. More...
 
void NVIC_SCBDeInit (void)
 De-initializes the SCB peripheral registers to their default reset values. More...
 
void NVIC_SetVTOR (uint32_t offset)
 Set Vector Table Offset value. More...
 

Detailed Description

Function Documentation

void NVIC_DeInit ( void  )

De-initializes the NVIC peripheral registers to their default reset values.

Parameters
None
Returns
None

These following NVIC peripheral registers will be de-initialized:

  • Disable Interrupt (32 IRQ interrupt sources that matched with LPC17xx)
  • Clear all Pending Interrupts (32 IRQ interrupt source that matched with LPC17xx)
  • Clear all Interrupt Priorities (32 IRQ interrupt source that matched with LPC17xx)

Definition at line 61 of file lpc17xx_nvic.c.

void NVIC_SCBDeInit ( void  )

De-initializes the SCB peripheral registers to their default reset values.

Parameters
none
Returns
none

These following SCB NVIC peripheral registers will be de-initialized:

  • Interrupt Control State register
  • Interrupt Vector Table Offset register
  • Application Interrupt/Reset Control register
  • System Control register
  • Configuration Control register
  • System Handlers Priority Registers
  • System Handler Control and State Register
  • Configurable Fault Status Register
  • Hard Fault Status Register
  • Debug Fault Status Register

Definition at line 96 of file lpc17xx_nvic.c.

void NVIC_SetVTOR ( uint32_t  offset)

Set Vector Table Offset value.

Parameters
offsetOffset value
Returns
None

Definition at line 122 of file lpc17xx_nvic.c.