12?ADC ??Multisim
代码说明:
说明: STC8F2K64S2系列单片机提供16个中断请求源,分别是:外部中断0中断(int0)、定时器0中断(timer0)、外部中断1中断(int1)、定时器1中断(timer1)、串行端口1中断(uart1)、低压检测中断(lvd)。,串行端口2中断(UART2),串行外围接口中断(SPI),外部中断2中断(INT2),外部中断3中断(INT3),定时器2中断(Timer2),外部中断4中断(INT4),定时器3中断(Timer3),定时器4中断(Timer4),比较器内部PT(CMP),I2C总线中断。除了外部中断2、外部中断3、定时器2中断、定时器3中断、定时器4中断和比较器中断固定是最低优先级中断外,所有其他中断都有四个可设置的中断优先级。(STC8F2K64S2 series single chip microcomputer provides 16 interrupt request sources, which are: external interrupt 0 interrupt (INT0), timer 0 interrupt (Timer0), external interrupt 1 interrupt (INT1), timer 1 interrupt (Timer1), serial port 1 interrupt (UART1), low voltage detection interrupt (LVD), serial port 2 interrupt (UART2), serial peripheral interface interrupt (SPI), external interrupt 2 interrupt (INT2), external interrupt 3 interrupt (INT3), Timer 2 interrupt (Timer2), external interrupt 4 interrupt (INT4), timer 3 interrupt (Timer3), timer 4 interrupt (Timer4), comparator interrupt (CMP), I2C bus interrupt. Except that the external interrupt 2, the external interrupt 3, the timer 2 interrupt, the timer 3 interrupt, the timer 4 interrupt and the comparator interrupt fixed are the lowest priority interrupts, all the other interrupts have four interrupt priorities that can be set.)
下载说明:请别用迅雷下载,失败请重下,重下不扣分!