⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mcu选项.c

📁 此文件是一个完整的发动机转速表,用步进电机实现指示功能,利用HOLTECK的HT46R232作为MCU.
💻 C
字号:
/*  掩膜设置
   Package                     100QFP_A; 
   WDT                         Enable;
   CLRWDT                      WDTOSC(12KHZ) ;
   Wake_up PA0_7               Non_Wake_up;
   Pull_hign PA4,PA6_7         pull_high;
   Pull_hign PB                non_pull_high;
   Pull_hign PD5               pull_high;
   PA3/PFD                     Disable;
   BZ output                   BZ and BZB disable;
   PWM output                  PWM0_3 Enable;
   PWM mode                    7+1 mode;
   INT0 trigger edge           Disable;
   INT1 trigger edge           Hige to Low;
   Fsys                        RC/XTAL OSC for Fsys;
   OSC                         XTAL;
   clock source(fs)            WDTOSC(12KHZ);
   WDT time-out period         (2^15)/fs-(2^16)/fs;
   Time Base timer-out period  2^12/fs;
   BZ output frequency         fs/(2^2);
   LCD driver clock            fs/(2^2);
   LCD ON/OFF at HALT          LCD ON at HALT; 
   LCD duty                    1/3 duty(3 COM);
   LCD bias                    1/2 bias;
   LCD bias type               R bias type;
   R type driving current      High drining current;
   LVD                         Enable;
   LVR                         Enable;
   SEG8_15                     LCD Segment;
   SEG0_SEG7                   LCD Segment output;
   
   在仿真时,WDT设为Disable;采用ICE 8000.000K晶振;
   当要下载到芯片中的程序时,WDT设为Enable;晶振设为外部晶振;
*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -