How to use timer0 as general purpose timer

8 posts / 0 new
Last post
racemaker
Offline
Last seen:4 months 2 weeks ago
加入:2014-12-01 07:19
How to use timer0 as general purpose timer

Hi Dialog,

I want to use timer0 as general purpose timer , for example, use it to generate a periodic interrupt just as other MCUs.

I get timer0 driver API from UM-B-004_DA14580_Peripheral_Drivers.pdf is almost about PWM. I want to know how to use it

as general purpose timer.

解说!

JE_Dialog
Offline
Last seen:21 hours 52 min ago
Staff
加入:2013-12-05 14:02
Hello racemaker, I'm

Hello racemaker, I'm arranging one of our local team to contact you to discuss this and the other quetsion you posted.

With best regards,

JE _Dialog

racemaker
Offline
Last seen:4 months 2 weeks ago
加入:2014-12-01 07:19
ok, thank you so much! by

ok, thank you so much! by the way, could you answer me that question on this forum?

JE_Dialog
Offline
Last seen:21 hours 52 min ago
Staff
加入:2013-12-05 14:02
Hello Racemaker, i will

Hello Racemaker, i will instruct our local team to post the asnwer once they have discussed with you. I will check that it will happen today/tomorrow. Thanks &BR JE_Dialog

racemaker
Offline
Last seen:4 months 2 weeks ago
加入:2014-12-01 07:19
ok, thanks a lot!

ok, thanks a lot!

ciano
Offline
Last seen:2 days 23 hours ago
加入:2014-10-03 08:13
Hi,

Hi,

I will hook onto this one, since I am also interested in the answer.

BR
Ciano

caicx
Offline
Last seen:6 years 2 weeks ago
加入:2014 - 07-24 04:25
Hi.

Hi.
I have same request to my project, are there any answer can post here ?

Cai

JE_Dialog
Offline
Last seen:21 hours 52 min ago
Staff
加入:2013-12-05 14:02
你好Ciano, Caicx,

你好Ciano, Caicx,

The best example i can provide you right now is in the peripheral examples project - pwm.c . There is a thread belwo related to this. our documentation on Timer0 is not that good and i have raised this as an issue to solve. Please notet hat timer0 is not supported in extended / deep sleep mode.

BR JE_Dialog

http://support.dialog-semiconductor.com/timer0-info