# timer_frequency

Timer Frequency library

Author | Matthew Schinkel, copyright © 2009, all rights reserved.
Adapted-by |
Compiler | >=2.4q5

Description

    Provides a procedure to easily set a timer interval
                 for a given frequrency.

Dependencies

No dependency found

## Summary

### Global variables/contants

### Procedures

### Functions

- `timer_freq(dword in freq_hz, sword in freq_adjust) return word`

## API details

### Global variables/contants

### Procedures

### Functions

- `timer_freq(dword in freq_hz, sword in freq_adjust) return word`

      returns timer interval required for a desired frequency
      return value of 0 indicates the desired frequency can't be calculated.
      freq_hz     - your desired frequency
      freq_adjust - adjust by number of timer steps
      (may want to use OSCCAL reg instead)

## Related samples

No sample found