Changeset 459ddfc0 in rtems
- Timestamp:
- 10/12/14 18:58:23 (9 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 48f8a98f
- Parents:
- e8db6d0
- git-author:
- Joel Sherrill <joel.sherrill@…> (10/12/14 18:58:23)
- git-committer:
- Joel Sherrill <joel.sherrill@…> (10/13/14 15:33:29)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/sparc/erc32/clock/ckinit.c
re8db6d0 r459ddfc0 1 1 /* 2 * Clock Tick Device Driver3 *4 2 * This routine initializes the Real Time Clock Counter Timer which is 5 3 * part of the MEC on the ERC32 CPU. … … 7 5 * The tick frequency is directly programmed to the configured number of 8 6 * microseconds per tick. 9 * 7 */ 8 9 /* 10 10 * COPYRIGHT (c) 1989-2008. 11 11 * On-Line Applications Research Corporation (OAR). … … 34 34 * The Real Time Clock Counter Timer uses this trap type. 35 35 */ 36 37 36 #define CLOCK_VECTOR ERC32_TRAP_TYPE( ERC32_INTERRUPT_REAL_TIME_CLOCK ) 38 37 … … 46 45 extern int CLOCK_SPEED; 47 46 48 uint32_t bsp_clock_nanoseconds_since_last_tick(void)47 static uint32_t bsp_clock_nanoseconds_since_last_tick(void) 49 48 { 50 49 uint32_t clicks;
Note: See TracChangeset
for help on using the changeset viewer.