Changes between Version 5 and Version 6 of tim_driver


Ignore:
Timestamp:
Oct 25, 2014, 10:23:46 PM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • tim_driver

    v5 v6  
    3333Return -1 if timer index too large.
    3434
    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 
    4135 === 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).
     36This function resets the timer counter, by reading and re-writing the period in the proper register, what causes the count to restart.
    4337
    4438Return 0 in case of success.