zoukankan      html  css  js  c++  java
  • 注释格式

    1、文件注释
    /*
     * fmcVoltage.h
     *
     *  Created on: 2018/08/20
     *      Author: zhu.gd
     */

    2、函数注释:
    /*
     * @Brief:
     *        Export GPIO
     *
     * @Param:
     *        iGPIO_number        [the number of GPIO, such as 0,1]
     *
     * @Return Value:
     *        0                    [normal]
     *        !0                    [Error]
    */


    3、分段注释
    //======================================================================
    // Referenced Header File
    //======================================================================


    //======================================================================
    // Macro Definition
    //======================================================================


    //======================================================================
    // Structure Definition
    //======================================================================


    //======================================================================
    // Variable Declaration
    //======================================================================

     
    //======================================================================
    // Function Declaration
    //======================================================================

    //======================================================================
    // Variable Definition
    //======================================================================

    //======================================================================
    // Function Definition
    //======================================================================

  • 相关阅读:
    fastapi教程进阶
    fastapi快速入门
    Linux yum安装PostgreSQL9.6
    harbor helm仓库使用
    Dockfile文件解析
    K8S概念理解
    转载---Beats:如何使用Filebeat将MySQL日志发送到Elasticsearch
    Elasticsearch中text与keyword的区别
    filebeat知识点
    logstash知识点
  • 原文地址:https://www.cnblogs.com/dhqy/p/9488015.html
Copyright © 2011-2022 走看看