Changeset d6f947e in rtems


Ignore:
Timestamp:
Feb 7, 2012, 9:09:45 PM (8 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
6091f1a6
Parents:
034b041
git-author:
Sebastian Huber <sebastian.huber@…> (02/07/12 21:09:45)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/11/12 20:09:36)
Message:

ARMv7-M Systick API change

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/lm3s69xx/clock/clock-config.c

    r034b041 rd6f947e  
    4949{
    5050  volatile ARMV7M_Systick *systick = _ARMV7M_Systick;
    51   uint64_t frequency = ARMV7M_SYSTICK_CALIB_TENMS(systick->calib) * 100ULL;
     51  uint64_t frequency = ARMV7M_SYSTICK_CALIB_TENMS_GET(systick->calib) * 100ULL;
    5252  uint64_t us_per_tick = rtems_configuration_get_microseconds_per_tick();
    5353  uint64_t interval = (frequency * us_per_tick) / 1000000ULL;
  • cpukit/score/cpu/arm/rtems/score/armv7m.h

    r034b041 rd6f947e  
    8585#define ARMV7M_SYSTICK_CALIB_NOREF (1U << 31)
    8686#define ARMV7M_SYSTICK_CALIB_SKEW (1U << 30)
    87 #define ARMV7M_SYSTICK_CALIB_TENMS(reg) ((reg) & 0xffffffU)
     87#define ARMV7M_SYSTICK_CALIB_TENMS_GET(reg) ((reg) & 0xffffffU)
    8888  uint32_t calib;
    8989} ARMV7M_Systick;
Note: See TracChangeset for help on using the changeset viewer.