system_ARMv81MML.h 1.7 KB

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