diff options
Diffstat (limited to 'lib/chibios-contrib/testhal/STM32/STM32F4xx/FSMC_NAND/dma_storm.h')
-rw-r--r-- | lib/chibios-contrib/testhal/STM32/STM32F4xx/FSMC_NAND/dma_storm.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/chibios-contrib/testhal/STM32/STM32F4xx/FSMC_NAND/dma_storm.h b/lib/chibios-contrib/testhal/STM32/STM32F4xx/FSMC_NAND/dma_storm.h new file mode 100644 index 000000000..79dc76de5 --- /dev/null +++ b/lib/chibios-contrib/testhal/STM32/STM32F4xx/FSMC_NAND/dma_storm.h | |||
@@ -0,0 +1,33 @@ | |||
1 | /* | ||
2 | ChibiOS/RT - Copyright (C) 2014 Uladzimir Pylinsky aka barthess | ||
3 | |||
4 | Licensed under the Apache License, Version 2.0 (the "License"); | ||
5 | you may not use this file except in compliance with the License. | ||
6 | You may obtain a copy of the License at | ||
7 | |||
8 | http://www.apache.org/licenses/LICENSE-2.0 | ||
9 | |||
10 | Unless required by applicable law or agreed to in writing, software | ||
11 | distributed under the License is distributed on an "AS IS" BASIS, | ||
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
13 | See the License for the specific language governing permissions and | ||
14 | limitations under the License. | ||
15 | */ | ||
16 | |||
17 | #ifndef DMA_STORM_H_ | ||
18 | #define DMA_STORM_H_ | ||
19 | |||
20 | #ifdef __cplusplus | ||
21 | extern "C" { | ||
22 | #endif | ||
23 | void dma_storm_spi_start(void); | ||
24 | uint32_t dma_storm_spi_stop(void); | ||
25 | void dma_storm_adc_start(void); | ||
26 | uint32_t dma_storm_adc_stop(void); | ||
27 | void dma_storm_uart_start(void); | ||
28 | uint32_t dma_storm_uart_stop(void); | ||
29 | #ifdef __cplusplus | ||
30 | } | ||
31 | #endif | ||
32 | |||
33 | #endif /* DMA_STORM_H_ */ | ||