Changes between Version 5 and Version 6 of tim_driver
- Timestamp:
- Oct 25, 2014, 10:23:46 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
tim_driver
v5 v6 33 33 Return -1 if timer index too large. 34 34 35 === int '''_timer_reset_irq'''( unsigned int channel ) ===36 This function can be used by the the _isr_timer() to acknowlege a timer interrupt in the vci_timer component by writing in the proper register.37 38 Return 0 in case of success.39 Return -1 if timer index too large.40 41 35 === int '''_timer_reset_cpt'''( unsigned int cluster_xy, unsigned int local_id) === 42 This function resets the timer counter, by re -writing the period in the proper register, what causes the count to restart. This function is called during a context switch (user or preemptive).36 This function resets the timer counter, by reading and re-writing the period in the proper register, what causes the count to restart. 43 37 44 38 Return 0 in case of success.