system_ARMCM85.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /**************************************************************************//**
  2. * @file system_ARMCM85.h
  3. * @brief CMSIS Device System Header File for ARMCM85 Device
  4. * @version V1.0.1
  5. * @date 11. July 2022
  6. ******************************************************************************/
  7. /*
  8. * Copyright (c) 2022 Arm Limited. All rights reserved.
  9. *
  10. * SPDX-License-Identifier: Apache-2.0
  11. *
  12. * Licensed under the Apache License, Version 2.0 (the License); you may
  13. * not use this file except in compliance with the License.
  14. * You may obtain a copy of the License at
  15. *
  16. * www.apache.org/licenses/LICENSE-2.0
  17. *
  18. * Unless required by applicable law or agreed to in writing, software
  19. * distributed under the License is distributed on an AS IS BASIS, WITHOUT
  20. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  21. * See the License for the specific language governing permissions and
  22. * limitations under the License.
  23. */
  24. #ifndef SYSTEM_ARMCM85_H
  25. #define SYSTEM_ARMCM85_H
  26. #ifdef __cplusplus
  27. extern "C" {
  28. #endif
  29. #include <stdint.h>
  30. /**
  31. \brief Exception / Interrupt Handler Function Prototype
  32. */
  33. typedef void(*VECTOR_TABLE_Type)(void);
  34. /**
  35. \brief System Clock Frequency (Core Clock)
  36. */
  37. extern uint32_t SystemCoreClock;
  38. /**
  39. \brief Setup the microcontroller system.
  40. Initialize the System and update the SystemCoreClock variable.
  41. */
  42. extern void SystemInit (void);
  43. /**
  44. \brief Update SystemCoreClock variable.
  45. Updates the SystemCoreClock with current core Clock retrieved from cpu registers.
  46. */
  47. extern void SystemCoreClockUpdate (void);
  48. #ifdef __cplusplus
  49. }
  50. #endif
  51. #endif /* SYSTEM_ARMCM85_H */