松翰c语言(项目)例程(Sonix C language routines (project))

松翰c语言(项目)例程(Sonix C language routines (project))

Sonix C language routines (project)

Later, for the convenience of MCU friends of SCM project development, I will choose some simple practical projects published in the forum, including Sonix, elan, Hetai singlechip C language program.

The only requirement is to reprint a friend pointed out that reproduced at.

Statement: This routine is a motor speed adjustable timer products, we provide users reference, reproduced please indicate clearly reproduced at.

/*------------ - sn8p2602B

2009-07-014

Functions: timer output, there are three buttons, three LED display, 00-40 minutes to select the timing output file, 1-4 strength.

Preparation: Zhongshan Pakistan closed electronic studio lcsome

Technical support:

Modify the reason: because the re layout, increase light even eliminate the lightning, and update key arrangement

//-------------------------------

Modify reason: revise the power on, do not show. The completion of the countdown, 5 seconds without operation automatically and display.

Revision date: 2009.10.9

Modify the reason: customers reflect the variable level, not by accumulating to increase, but according to each stage of growth

Revision date: 2009.10.13

* /

*

Noise_Filter Disable

Security Enable

Fcpu Fosc/2

Watch_Dog Enable

Reset_pin P15

LVC LVD_L

HiCLK 4M

* /

#include

#define uint unsigned int

#define uchar unsigned char

Struct bitDefine{

Unsigned bit0:1;

Unsigned bit1:1;

Unsigned bit2:1;

Unsigned bit3:1;

Unsigned bit4:1;

Unsigned bit5:1;

Unsigned bit6:1;

Unsigned bit7:1;

}flag1;

/ /

#define run (flag1.bit0) / /

#define key_mode_last (flag1.bit1) / /

#define key_power_last (flag1.bit2) / /

#define key_delay_last (flag1.bit3) / /

#define time_10ms_flag (flag1.bit4)

#define sync_last (flag1.bit5) / / synchronous detection

//#define display_enable (flag1.bit6)

#define LED (flag1.bit6)

#define _nop (__asm{nop})

#define _clrwdt ([email=__asm{@RST_WDT]__asm{@RST_WDT[/email]})

*

//**************************

sonix c语言 pdf,松翰c语言(项目)例程(Sonix C language routines (project)).doc相关推荐

  1. 松翰松翰c语言编程指导,松翰C程序检单例程代码下载

    标签: 松翰C程序检单例程 #include "define.h" #include "sn8p2501b.h" //--------------------- ...

  2. 松翰SN8F5703单片机WDT例程

    松翰5703例程-WDT //-------------------------------------------------------------------------- //Filename ...

  3. keil c语言pdf,Keil软件“C语言”与“汇编”混编 —— 相关知识整理.pdf

    Keil软件"C语言"与"汇编"混编 -- 相关知识整理.pdf Keil 软件软件C 语言语言与与汇编汇编混编混编 相关知识整理相关知识整理 用 Keil 在 ...

  4. stc单片机c语言 pdf,STC单片机C语言程序设计 第13章 STC单片机C语言指针.pdf

    STC单片机C语言指针 主讲:何宾 Email :hebin@mail.buct.edu.cn 2016.03 C51编译器中指针的分类 Cx51编译器支持使用字符"*"声明变量指 ...

  5. 深入c语言pdf,深入体验C语言项目开发1.pdf

    深入体验C 语言项目开发 薛小龙 清华大学出版社 2011 07 本丛书的主要编写人员有陈强.李佐彬.李淑芳.蒋凯. 王梦.王书鹏.张子言.张建敏.陈德春.李藏.关立勋. 秦雪薇.薛多鸯.李强.刘海洋 ...

  6. 胡学纲数据结构c语言PDF,辽宁工程技术大学综合训练项目任务书一(数据结构).doc...

    <辽宁工程技术大学综合训练项目任务书一(数据结构).doc>由会员分享,可在线阅读,更多相关<辽宁工程技术大学综合训练项目任务书一(数据结构).doc(18页珍藏版)>请在人人 ...

  7. 胡学纲数据结构c语言PDF,辽宁工程技术大学综合训练项目任务书一(数据结构)

    <辽宁工程技术大学综合训练项目任务书一(数据结构)>由会员分享,可在线阅读,更多相关<辽宁工程技术大学综合训练项目任务书一(数据结构)(18页珍藏版)>请在人人文库网上搜索. ...

  8. python开发的软件sparrow-自制编程语言:基于C语言 PDF 全书影印版

    给大家带来的一篇关于C语言编程相关的电子书资源,介绍了关于编程语言.C语言方面的内容,本书是由人民邮电出版社出版,格式为PDF,资源大小259.8 MB,郑钢编写,目前豆瓣.亚马逊.当当.京东等电子书 ...

  9. OFD文件转换成PDF格式,Java语言实现

    OFD文件转换成PDF格式,Java语言实现 我个人的思路大致是这样的.首先在指定路径创建一个文件夹,然后每次要转换的时候都把OFD文件统一放到指定的文件夹内进行转换.这样写代码的时候只需要循环遍历一 ...

最新文章

  1. hdu 4751(dfs染色)
  2. 批处理详细教程(三)
  3. 【深入理解JVM】JVM概述
  4. c语言程序设计i实验8答案,2020中国历史人文地理上尔雅答案
  5. C++_-数据类型-字符型_转义字符_字符串类型--C++语言工作笔记012
  6. android 内存对齐,Go struct 内存对齐
  7. 2020-02-16 Git客户端下载
  8. 突然想起今天的博客汇报没写
  9. BAT Java面试154道题分享!搞懂轻松进BAT
  10. shell倒数第三位增加字符_shell中常用的变量处理、字符串操作(之三)
  11. 利用阿里云容器服务打通TensorFlow持续训练链路
  12. 计算机dll修复工具,百度dll修复工具(百度电脑专家)
  13. 《那些年啊,那些事——一个程序员的奋斗史》七
  14. mysql身份证号性别_mysql中身份证号判断男女人数
  15. 2023秋招大厂经典面试题及答案整理归纳(101-120)校招必看
  16. DSP C6657 image_processing_evmc6657l网页加载图片示例
  17. ROS 罗技手柄控制机器人(仿真和实体机器人)
  18. 细数乌镇互联网大会世界领先成果:中国科技崛起
  19. 使用gulp为项目中的文件自动添加版本号之实践思路
  20. bert-pytorch版源码详细解读

热门文章

  1. this.$nextTick
  2. python培训班-Python培训机构_高品质Python线下开发培训班推荐-黑马程序员
  3. java编译器对字符串+运算的优化导致的有趣现象
  4. 树模型:决策树、随机森林(RF)、AdaBoost、GBDT、XGBoost、LightGBM和CatBoost算法区别及联系
  5. Python今日编程——判断水仙花数然后求水仙花数
  6. 神雕侠侣服务器维修时间,《神雕侠侣2》手游新服开服时间表 7月30日新服
  7. Mybatis数据持久化
  8. 如何把你的安卓手机变成Linux?
  9. 纽约州立计算机科学,纽约州立大学布法罗分校计算机科学computer science专业排名第176~200名(2020THE泰晤士高等教育世界大学排名)...
  10. 如何创建自己的支付宝收款二维码