Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
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>
6
#include "
mcu_periph/hal_stm32_dma.h
"
7
8
9
10
typedef
struct
{
11
DMA_Stream_TypeDef
DMA_regs
;
12
stm32_tim_t
TIM_regs
;
13
}
TimerDmaCache
;
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
hal_stm32_dma.h
STM32 DMA subsystem driver header.
DMADriver
Structure representing a DMA driver.
Definition
hal_stm32_dma.h:412
foo
uint16_t foo
Definition
main_demo5.c:58
timerDmaCache_restore
void timerDmaCache_restore(const TimerDmaCache *tdcp, DMADriver *toDma, stm32_tim_t *toTim)
Definition
timerDmaCache.c:17
timerDmaCache_cache
void timerDmaCache_cache(TimerDmaCache *tdcp, const DMADriver *fromDma, const stm32_tim_t *fromTim)
Definition
timerDmaCache.c:9
TimerDmaCache::TIM_regs
stm32_tim_t TIM_regs
Definition
timerDmaCache.h:12
TimerDmaCache::DMA_regs
DMA_Stream_TypeDef DMA_regs
Definition
timerDmaCache.h:11
TimerDmaCache
Definition
timerDmaCache.h:10
sw
airborne
arch
chibios
mcu_periph
timerDmaCache.h
Generated on Thu Sep 4 2025 16:19:40 for Paparazzi UAS by
1.9.8