Keil Logo Arm Logo

Hardware Timer

The following options can be configured:

  • OS_TIMER specifies the on-chip timer used as a time-base for the real-time system. It delivers a periodic interrupt that wakes up a time-keeping system task. The user can choose which timer serves this purpose:
    • ARM7/ARM9 library version
      Use 0 for Timer 0, or 1 for Timer 1, etc.
    • Cortex-M library version
      Use 0 for Core SysTick Timer, or 1 for alternate Peripheral Timer.
    #define OS_TIMER       1
    
  • OS_CLOCK specifies the input clock frequency for the selected timer.
    #define OS_CLOCK       15000000
    
  • OS_TICK specifies the timer tick interval in µsec. Recommended values are 1000 to 100000. The resulting interval is from 1 ms to 100 ms. Default configuration is for 10 ms.
    #define OS_TICK        10000
    

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

ARM’s Privacy Policy has been updated. By continuing to use our site, you consent to ARM’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.

Acquisition of ARM Holdings plc. by SoftBank Group Corp.

We are pleased to inform you that on 5 September 2016, SoftBank Group Corp. acquired ARM Holdings Plc. ARM will continue to operate as an independent business within the SoftBank group.

Any current agreements between ARM Ltd (or other ARM group companies, as applicable) you / your company remain in effect as between the parties, and the parties will continue to be bound by and perform the obligations in such agreements. If you have any queries please direct these to ARMSoftbank-Notifications@arm.com.