lpc_nvic.h 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /**********************************************************************
  2. * $Id$ lpc_nvic.h 2011-06-02
  3. *//**
  4. * @file lpc_nvic.h
  5. * @brief Contains all macro definitions and function prototypes
  6. * support for Nesting Vectored Interrupt firmware library
  7. * on LPC. The main NVIC functions are defined in
  8. * core_cm3.h
  9. * @version 1.0
  10. * @date 02. June. 2011
  11. * @author NXP MCU SW Application Team
  12. *
  13. * Copyright(C) 2011, NXP Semiconductor
  14. * All rights reserved.
  15. *
  16. ***********************************************************************
  17. * Software that is described herein is for illustrative purposes only
  18. * which provides customers with programming information regarding the
  19. * products. This software is supplied "AS IS" without any warranties.
  20. * NXP Semiconductors assumes no responsibility or liability for the
  21. * use of the software, conveys no license or title under any patent,
  22. * copyright, or mask work right to the product. NXP Semiconductors
  23. * reserves the right to make changes in the software without
  24. * notification. NXP Semiconductors also make no representation or
  25. * warranty that such application will be suitable for the specified
  26. * use without further testing or modification.
  27. * Permission to use, copy, modify, and distribute this software and its
  28. * documentation is hereby granted, under NXP Semiconductors'
  29. * relevant copyright in the software, without fee, provided that it
  30. * is used in conjunction with NXP Semiconductors microcontrollers. This
  31. * copyright, permission, and disclaimer notice must appear in all copies of
  32. * this code.
  33. **********************************************************************/
  34. /* Peripheral group ----------------------------------------------------------- */
  35. /** @defgroup NVIC NVIC (Nested Vectored Interrupt Controller)
  36. * @ingroup LPC_CMSIS_FwLib_Drivers
  37. * @{
  38. */
  39. #ifndef __LPC_NVIC_H_
  40. #define __LPC_NVIC_H_
  41. /* Includes ------------------------------------------------------------------- */
  42. #include "LPC407x_8x_177x_8x.h"
  43. #include "lpc_types.h"
  44. #ifdef __cplusplus
  45. extern "C"
  46. {
  47. #endif
  48. /* Public Functions ----------------------------------------------------------- */
  49. /** @defgroup NVIC_Public_Functions NVIC Public Functions
  50. * @{
  51. */
  52. void NVIC_DeInit(void);
  53. void NVIC_SCBDeInit(void);
  54. void NVIC_SetVTOR(uint32_t offset);
  55. /**
  56. * @}
  57. */
  58. #ifdef __cplusplus
  59. }
  60. #endif
  61. #endif /* __LPC_NVIC_H_ */
  62. /**
  63. * @}
  64. */
  65. /* --------------------------------- End Of File ------------------------------ */