driver
Repository: Justinsanity/freertos-basic
專案中 STM32F4xx 相關的 Drivers 有兩大部分:
freertos/STM32F4xx_StdPeriph_Driver
這裡的 driver 是 FreeRTOS 為 STM32F4xx 寫的 driver (統一給 STM32F4xx 平台用)Utilities/STM32F429I-Discovery
是 FreeRTOS 專門為了在 STM32F429I-Discovery 這款特定平台上 demo development 用所開發的 drivers在 [2] 可以發現會用到 [1] 的東西,例如 Utilities/STM32F429I-Discovery/stm32f429i_discovery_lcd.c
中 line 778~784:
DMA2D_Init(&DMA2D_InitStruct);
/* Start Transfer */
DMA2D_StartTransfer();
/* Wait for CTC Flag activation */
while(DMA2D_GetFlagStatus(DMA2D_FLAG_TC) == RESET)
{
}
其中 DMA2D_Init()
、DMA2D_StartTransfer()
和 DMA2D_GetFlagStatus
定義在 freertos/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dma2d.c
or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing