Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the source code of this file.
Data Structures | |
struct | TimerDmaCache |
Functions | |
void | timerDmaCache_cache (TimerDmaCache *tdcp, const DMADriver *fromDma, const stm32_tim_t *fromTim) |
void | timerDmaCache_restore (const TimerDmaCache *tdcp, DMADriver *toDma, stm32_tim_t *toTim) |
struct TimerDmaCache |
Definition at line 10 of file timerDmaCache.h.
Data Fields | ||
---|---|---|
DMA_Stream_TypeDef | DMA_regs | |
stm32_tim_t | TIM_regs |
void timerDmaCache_cache | ( | TimerDmaCache * | tdcp, |
const DMADriver * | fromDma, | ||
const stm32_tim_t * | fromTim | ||
) |
Definition at line 9 of file timerDmaCache.c.
References TimerDmaCache::DMA_regs, DMADriver::dmastream, and TimerDmaCache::TIM_regs.
Referenced by initCache().
void timerDmaCache_restore | ( | const TimerDmaCache * | tdcp, |
DMADriver * | toDma, | ||
stm32_tim_t * | toTim | ||
) |
Definition at line 17 of file timerDmaCache.c.
References TimerDmaCache::DMA_regs, DMADriver::dmastream, rccEnableAndReset(), and TimerDmaCache::TIM_regs.
Referenced by startCapture().