pdf

Summary of the use of TMS320F2812 timer 0.pdf

  • 2013-03-20
  • 432.18KB
  • Points it Requires : 1

( ( ( (one by one by one))) ). Use of timer 0 1. Declare the timer interrupt service function. . . . Such as: interrupt void ISRTimer0(void); //interrupt service program 2. Replace the interrupt vector, use the address of the timer interrupt service function as the entry address such as: : : : EALLOW; //Allow access to protected registers PieVectTable.TINT0 = &ISRTimer0; EDIS; //Prohibit access to protected registers 3. Enable the INT1 interrupt connected to CPU-Timer 0 IER|=M_INT1; (equivalent to closing the switch of the IER timer)

unfold

You Might Like

Uploader
qinkaiabc
 

Recommended ContentMore

Popular Components

Just Take a LookMore

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
×