变量命名规范

Variable name:
cAdd:
c –> char
uc –> unsigned char
s –> short
us –> unsigned short
l –> long
ul –> unsigned long
p –> pointer
ps –> pointer to short

function name:
vTaskAdd() –> returns void and is defined within Task.c
cAppMain() –> returns char and is defined within App.c

Marco Names:
appMAX –> macro is defined within app.h

Formatting:
1tab = 4 spaces

你可能感兴趣的:(变量命名规范)