source: rtems/bsps/arm/shared/cpucounter/cpucounter-armv7m.c @ ba619b7f

Last change on this file since ba619b7f was ba619b7f, checked in by Joel Sherrill <joel@…>, on 03/01/22 at 21:38:20

bsps/arm/: Scripted embedded brains header file clean up

Updates #4625.

  • Property mode set to 100644
File size: 440 bytes
Line 
1/*
2 * Copyright (c) 2016, 2018 embedded brains GmbH.  All rights reserved.
3 *
4 * The license and distribution terms for this file may be
5 * found in the file LICENSE in this distribution or at
6 * http://www.rtems.org/license/LICENSE.
7 */
8
9#include <bsp/clock-armv7m.h>
10
11uint32_t _CPU_Counter_frequency(void)
12{
13  return _ARMV7M_Clock_frequency();
14}
15
16CPU_Counter_ticks _CPU_Counter_read(void)
17{
18  return _ARMV7M_Clock_counter(&_ARMV7M_TC);
19}
Note: See TracBrowser for help on using the repository browser.