MSP430LaunchPad平台介绍培训讲学.pptVIP

  • 1
  • 0
  • 约6.26千字
  • 约 68页
  • 2020-05-30 发布于天津
  • 举报
P1DIR |= BIT0; // Set P1.0 to output direction P1IES |= BIT3; // P1.3 Hi/lo edge P1IFG = ~BIT3; // P1.3 IFG cleared P1IE |= BIT3; // P1.3 interrupt // Port1 interrupt service routine #pragma vector = PORT1_VECTOR __interrupt void Port_1(void) // Port1 interrupt service routine P1OUT ^= BIT0; // P1.0 = toggle P1IFG = ~BIT3; // P1.3 IFG cleared 内容 1、Value Line 简介 2、开发工具简介 3、CPU及基本时钟系统 4、中断及通用IO 5、定时器及增强型WDT 6、ADC10 5.1 Timer_A 异步16位定时器/计数器 连续、递增-递减、递增计数模式 3个捕获/比较寄存器 PWM 输出 中断向量寄存器,实现快速中断响应 可触发DMA 多个时钟源可选 所有430均有Timer_A 5.2 Timer_A 计数模式 0FFFFh 0h CCR0 Stop/Halt Timer is halted Up T

文档评论(0)

1亿VIP精品文档

相关文档