Changeset 250a867f in rtems
- Timestamp:
- 10/12/14 18:58:22 (9 years ago)
- Branches:
- 4.11, 5, master
- Children:
- e8db6d0
- Parents:
- d6d213b
- git-author:
- Joel Sherrill <joel.sherrill@…> (10/12/14 18:58:22)
- git-committer:
- Joel Sherrill <joel.sherrill@…> (10/13/14 15:33:28)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/nios2/nios2_iss/clock/clock.c
rd6d213b r250a867f 22 22 do { _old = (rtems_isr_entry)set_vector(_new, CLOCK_VECTOR, 1); } while(0) 23 23 24 25 24 /* 26 25 * Turn off the clock 27 26 */ 28 27 #define Clock_driver_support_shutdown_hardware() \ 29 do { CLOCK_REGS->control = ALTERA_AVALON_TIMER_CONTROL_STOP_MSK; } while(0) 28 do { \ 29 CLOCK_REGS->control = ALTERA_AVALON_TIMER_CONTROL_STOP_MSK; \ 30 } while (0) 30 31 31 32 /* 32 33 * Set up the clock hardware 33 34 */ 34 void Clock_driver_support_initialize_hardware(void)35 static void Clock_driver_support_initialize_hardware(void) 35 36 { 36 37 uint32_t period;
Note: See TracChangeset
for help on using the changeset viewer.