stc12c5a60s2与51单片机区别:
1、同样晶振的情况下,stc12c5a60s2速度是普通51的8~12倍 对于AT89c51,1个机器周期=12个震荡周期,对于STC12C5A60S2,1个机器周期=1个震荡周期;
2、stc12c5a60s2有8路10位AD;
3、stc12c5a60s2多了两个定时器,带PWM功能;
4、stc12c5a60s2有SPI接口;
5、stc12c5a60s2有EEPROM;
6、stc12c5a60s2有1K内部扩展RAM;
7、stc12c5a60s2有WATCH_DOG;
8、stc12c5a60s2多一个串口;
9、stc12c5a60s2的IO口可以定义,有四种状态;
10、stc12c5a60s2中断优先级有四种状态可定义。