碧海潮生's profile碧海潮生的小屋PhotosBlogLists Tools Help

Blog


    May 07

    设计笔记——导言

    存档日期: 2007.2.15
    作者: kingwei @ ECUST

    E-mail: jxkingwei@yahoo.com.cn
    QQ: 77191167
    MSN: jx_kingwei@sina.com


    本文档讨论了一些C程序设计中的高级话题。
    主要分为以下几个部分:

    1 程序的版式
    2 命名规则
    3 接口与实现
    4 宏定义
    5 标准库

    其中,前三部分是设计的指导性建议;
    后两部分是设计的技巧和资料小结,可作为辅助阅读材料。

    本文档涉及了驱动模块程序设计时的一些问题,
    也是我在编写AT89S52设备驱动时遇到的问题和解决方法的小结。

    之所以写下这若干章的内容,是想在熟悉各种芯片的同时,
    为设计可重用的设备驱动模块库建立一套式行规则。

    本文档的内容比较琐碎,但是其中讨论的每一个主题都可以继续深入探讨。

    Comments (2)

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    规则公司肯定是有的,这组文档是当初和mx讨论内容的扩展版。
    Just a memo ……
    May 25
    D.c.wrote:
    现在写这个是不是太早了点阿,稍微有点规模的公司应该都有自己的一套规则的吧
    不过我对这个行业也不熟悉,随便说说罢了
    May 9

    Trackbacks

    The trackback URL for this entry is:
    http://jx-kingwei.spaces.live.com/blog/cns!F7A152EB74B9576E!1488.trak
    Weblogs that reference this entry
    • None