vectors.h 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. /*
  2. ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. */
  13. /**
  14. * @file vectors.h
  15. * @brief ISR vector module header.
  16. *
  17. * @addtogroup PPC_CW_CORE
  18. * @{
  19. */
  20. #ifndef VECTORS_H
  21. #define VECTORS_H
  22. #include "ppcparams.h"
  23. /*===========================================================================*/
  24. /* Module constants. */
  25. /*===========================================================================*/
  26. /*===========================================================================*/
  27. /* Module pre-compile time settings. */
  28. /*===========================================================================*/
  29. /*===========================================================================*/
  30. /* Derived constants and error checks. */
  31. /*===========================================================================*/
  32. /*===========================================================================*/
  33. /* Module data structures and types. */
  34. /*===========================================================================*/
  35. /*===========================================================================*/
  36. /* Module macros. */
  37. /*===========================================================================*/
  38. /*===========================================================================*/
  39. /* External declarations. */
  40. /*===========================================================================*/
  41. /* The following code is not processed when the file is included from an
  42. asm module.*/
  43. #if !defined(_FROM_ASM_)
  44. #if !defined(__DOXYGEN__)
  45. extern uint32_t _vectors[PPC_NUM_VECTORS];
  46. #endif
  47. #ifdef __cplusplus
  48. extern "C" {
  49. #endif
  50. void _unhandled_irq(void);
  51. #ifdef __cplusplus
  52. }
  53. #endif
  54. #endif /* !defined(_FROM_ASM_) */
  55. /*===========================================================================*/
  56. /* Module inline functions. */
  57. /*===========================================================================*/
  58. #endif /* VECTORS_H */
  59. /** @} */