Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 1 of 1

Thread: Why does IntervalTimer restrict cycles to >= 36?

  1. #1
    Senior Member
    Join Date
    Mar 2017
    Location
    Oakland, CA, USA
    Posts
    169

    Why does IntervalTimer restrict cycles to >= 36?

    I was wondering why IntervalTimer restricts cycles to be >= 36 for all Teensys? I know that Teensy 3 can have F_BUS at 24, 36 ,or 48 cycles/microsecond, but the Teensy 4 uses 24 cycles/microsecond in its IntervalTimer implementation and cycles is still restricted to >= 36.

    Links:
    1. https://github.com/PaulStoffregen/co...valTimer.h#L53
    2. https://github.com/PaulStoffregen/co...valTimer.h#L54
    Last edited by shawn; 12-15-2019 at 11:29 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •