2
0
40
168
356
213
简单记录LPC1788定时器匹配中断设置--通过寄存器直接操作 #include timer_lpc1788.h #include uart_lpc1788.h void TIMER0_IRQHandler(void) //TIMER0中断函数 { if(((LPC_TIM0->IR) &(1TCR |=(1MR0=howtime;//匹配寄存器---多少个1us将匹配 LPC_...