函数的注释模板

示例:

//-----------------------------------------------------------------------------
// Fifo_Read
//-----------------------------------------------------------------------------
//
// Return Value : None
// Parameters   :
//                1) BYTE addr : target address
//                2) unsigned int uNumBytes : number of bytes to unload
//                3) BYTE * pData : read data destination
//
// Read from the selected endpoint FIFO
//
//-----------------------------------------------------------------------------

模板:

//-----------------------------------------------------------------------------
// (函数名)
//-----------------------------------------------------------------------------
//
// Return Value : (返回值)

// Parameters   : (形参列表)
//                1) 
//                2) 
//                3) 
//
// -(函数功能说明)
//
//-----------------------------------------------------------------------------

版权声明:本文为molake10344原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。