Changeset dc95663e in rtems for c/src/lib/libbsp/arm/tms570/clock/clock.c
- Timestamp:
- 03/09/17 13:14:42 (7 years ago)
- Branches:
- 5, master
- Children:
- b437a360
- Parents:
- 5ca634e9
- git-author:
- Sebastian Huber <sebastian.huber@…> (03/09/17 13:14:42)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (03/09/17 13:17:52)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/arm/tms570/clock/clock.c
r5ca634e9 rdc95663e 30 30 #include <bsp/irq.h> 31 31 #include <bsp/tms570-rti.h> 32 #include <rtems/counter.h>33 32 #include <rtems/timecounter.h> 34 33 … … 68 67 microsec_per_tick = rtems_configuration_get_microseconds_per_tick(); 69 68 tc_frequency = TMS570_PREFERRED_TC_FREQUENCY; 70 71 rtems_counter_initialize_converter(BSP_PLL_OUT_CLOCK);72 69 73 70 tc_prescaler = (BSP_PLL_OUT_CLOCK + tc_frequency) / (tc_frequency * 2);
Note: See TracChangeset
for help on using the changeset viewer.