12 #ifndef SOURCE_CHIP_STM32_PERIPHERALS_DMAV2_INCLUDE_DISTORTOS_CHIP_STM32_DMAV2_DMAPERIPHERAL_HPP_ 13 #define SOURCE_CHIP_STM32_PERIPHERALS_DMAV2_INCLUDE_DISTORTOS_CHIP_STM32_DMAV2_DMAPERIPHERAL_HPP_ 88 return *reinterpret_cast<DMA_TypeDef*>(
dmaBase_);
99 #endif // SOURCE_CHIP_STM32_PERIPHERALS_DMAV2_INCLUDE_DISTORTOS_CHIP_STM32_DMAV2_DMAPERIPHERAL_HPP_ void writeLifcr(const uint32_t lifcr) const
Writes value to LIFCR register.
Definition: STM32-DMAv2-DmaPeripheral.hpp:75
constexpr DmaPeripheral(const uintptr_t dmaBase)
DmaPeripheral's constructor.
Definition: STM32-DMAv2-DmaPeripheral.hpp:34
DMA_TypeDef & getDma() const
Definition: STM32-DMAv2-DmaPeripheral.hpp:86
CMSIS proxy header for STM32F4.
DmaPeripheral class is a raw DMA peripheral for DMAv2 in STM32.
Definition: STM32-DMAv2-DmaPeripheral.hpp:24
Top-level namespace of distortos project.
Definition: buttons.hpp:33
uint32_t readHisr() const
Definition: STM32-DMAv2-DmaPeripheral.hpp:44
uintptr_t dmaBase_
base address of DMA peripheral
Definition: STM32-DMAv2-DmaPeripheral.hpp:92
void writeHifcr(const uint32_t hifcr) const
Writes value to HIFCR register.
Definition: STM32-DMAv2-DmaPeripheral.hpp:64
uint32_t readLisr() const
Definition: STM32-DMAv2-DmaPeripheral.hpp:53