新增了教程和注释以及文档,增加了一键编译并打开ozone调试的脚本

This commit is contained in:
NeoZng
2023-02-14 11:13:32 +08:00
parent 8fa03012cf
commit 7c76852041
41 changed files with 201 additions and 45 deletions

View File

@@ -6,9 +6,11 @@
![img](../../assets/00937839b59a4c039ee8ecb8a5136e3c.png)
使用示例
```c
//在app层只需要设置前三个,callback由module自动设置
GPIO_Init_Config_s gpio_init = {
.exti_mode = GPIO_EXTI_MODE_FALLING, // 注意和CUBEMX的配置一致
@@ -19,4 +21,5 @@ GPIO_Init_Config_s gpio_init = {
GPIOInstance* test_example = GPIORegister(&gpio_init);
GPIOSet(test_example);
// GPIOxxx(test_exmaple, ...);
```