Chengdu Ebyte Electronic Technology Co.,Ltd. E73-TBX User Manual
Copyright ©2012–2019
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
30
Pre-dividing register.
Capture/Compare Register.
5.3.
Design of the program
Here’re the steps we use TIMER:
1)
Set the working mode
2)
Setting pre-dividing frequency (counter is not applicable)
3)
Set the value of the CC[n] register
4)
Enable interruption (interrupt mode)
5)
Enable the START task
6)
COMPARE EVENT arrives, clears the value of the internal counter, clears the interrupt (interrupt mode).
Revision History
Version
Date
Explain
Operator
1.0
2019-3-5
Initial Version
A11
About us
Website:
Tel: +86-28-61399028 Ext. 812 Fax: +86-28-64146160
Address: Innovation Center B333~D347, 4# XI-XIN road,High-tech district (west), Chengdu, Sichuan, China