Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
timerDmaCache.c File Reference
#include "timerDmaCache.h"
Include dependency graph for timerDmaCache.c:

Go to the source code of this file.

Functions

static void rccEnableAndReset (const stm32_tim_t *const timer)
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)

Function Documentation

◆ rccEnableAndReset()

void rccEnableAndReset ( const stm32_tim_t *const timer)
static

Definition at line 25 of file timerDmaCache.c.

Referenced by timerDmaCache_restore().

Here is the caller graph for this function:

◆ timerDmaCache_cache()

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().

Here is the caller graph for this function:

◆ timerDmaCache_restore()

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().

Here is the call graph for this function:
Here is the caller graph for this function: