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开源库
- Host: GitHub
- URL: https://github.com/erbws/msp432-open-source-library
- Owner: ErBWs
- Created: 2022-10-10T13:19:45.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-08-11T05:34:33.000Z (almost 3 years ago)
- Last Synced: 2025-02-09T12:17:59.683Z (over 1 year ago)
- Language: C
- Homepage:
- Size: 4.91 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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不一定会被退回但是会被我修改代码风格