An open API service indexing awesome lists of open source software.

https://github.com/erbws/msp432-open-source-library

An open-source library of msp432 with motherboard of MSP-EXP432P401R 一个包含MSP-EXP432P401R母板的msp432开源库
https://github.com/erbws/msp432-open-source-library

Last synced: about 1 year ago
JSON representation

An open-source library of msp432 with motherboard of MSP-EXP432P401R 一个包含MSP-EXP432P401R母板的msp432开源库

Awesome Lists containing this project

README

          

# MSP432-Open-Source-Library

欢迎pull request,不过请保持代码风格一致。

> 外设库放在 `/src/bsp` 文件夹内;
>
> 代码文件命名风格:小写+下划线 `e.g. baudrate_calculate.c`;
>
> 函数命名风格:首字母全部大写,尽量不用下划线 `e.g. GetPinLevel()`;
>
> 函数命名下划线适用情况:同名函数但是属于不同的外设库,比如不同屏幕的显示函数,
>
> 或者如官方库那样以函数作用来命名,名称很长且要表明是哪个库的函数(请尽量避免这种情况),
>
> `e.g. TFT180_DisplayUint(), IPS200_DisplayUint()`,
>
> `GPIO_SetAsInputPinWithPullDownResistor()`;
>
> 变量名命名风格: 第一个首字母小写,后面都大写 `e.g. baudRate`;

如果代码风格不一致的pull request不一定会被退回但是会被我修改代码风格