[SAMD51] -Timer /Counter operation

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi all,

 

We are using the TIMER driver of samd51 deivce for triggering some action. 

 

Our requirement is we have to trigger the interrupt routine,for each count.

 So we will load the counter/timer value (in frequency) and it should call the ISR (invoking call back function) for every count(High/low).

 

For example, if we load the counter values as 1000 Hz, 1000 times GPIO pin toggling will be performed (ISR).

 

We found that the timer drivers are available in RTC,TC,TCC modes. For our requirement which mode will be sufficient for us?

 

can you please help us to configure the TIMER driver as per our requirement.

Thanks,

 

Karthi

Last Edited: Tue. Apr 23, 2019 - 09:31 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

murph

Debugging - Being a detective in a crime movie where you are also the murderer.

Topic locked