Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
timerDmaCache.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <ch.h>
4 #include <hal.h>
5 #include <string.h>
7 
8 
9 
10 typedef struct {
11  DMA_Stream_TypeDef DMA_regs;
12  stm32_tim_t TIM_regs;
14 
15 void timerDmaCache_cache(TimerDmaCache *tdcp, const DMADriver *fromDma, const stm32_tim_t *fromTim);
16 void timerDmaCache_restore(const TimerDmaCache *tdcp, DMADriver *toDma, stm32_tim_t *toTim);
17 
18 
19 
STM32 DMA subsystem driver header.
Structure representing a DMA driver.
void timerDmaCache_restore(const TimerDmaCache *tdcp, DMADriver *toDma, stm32_tim_t *toTim)
Definition: timerDmaCache.c:17
void timerDmaCache_cache(TimerDmaCache *tdcp, const DMADriver *fromDma, const stm32_tim_t *fromTim)
Definition: timerDmaCache.c:9
stm32_tim_t TIM_regs
Definition: timerDmaCache.h:12
DMA_Stream_TypeDef DMA_regs
Definition: timerDmaCache.h:11