Skip to content

oscc-ip/timer

TIMER

Features

  • Programmable prescaler
    • max division factor is up to 2^20
    • can be changed ongoing
  • 32-bit programmable timer counter and compare register
  • Auto reload counter
  • Multiple clock source
    • internal division clock
    • external low-speed clock
  • Multiple counter mode
    • up counting
    • down counting
  • Input capture mode support
    • 1 channel
    • rise or fall trigger
  • Maskable overflow interrupt
  • Static synchronous design
  • Full synthesizable

FULL vision of datatsheet can be found in datasheet.md.

Build and Test

make comp    # compile code with vcs
make run     # compile and run test with vcs
make wave    # open fsdb format waveform with verdi

About

An APB4-based Timer Controller

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published