12 #ifndef SOURCE_CHIP_STM32_PERIPHERALS_DMAV2_INCLUDE_DISTORTOS_CHIP_STM32_DMAV2_DMACHANNELPERIPHERAL_HPP_ 13 #define SOURCE_CHIP_STM32_PERIPHERALS_DMAV2_INCLUDE_DISTORTOS_CHIP_STM32_DMAV2_DMACHANNELPERIPHERAL_HPP_ 37 channelId * (DMA1_Stream1_BASE - DMA1_Stream0_BASE)},
194 #endif // SOURCE_CHIP_STM32_PERIPHERALS_DMAV2_INCLUDE_DISTORTOS_CHIP_STM32_DMAV2_DMACHANNELPERIPHERAL_HPP_ uint8_t channelId_
DMA channel identifier.
Definition: STM32-DMAv2-DmaChannelPeripheral.hpp:187
uint32_t readPar() const
Definition: STM32-DMAv2-DmaChannelPeripheral.hpp:101
void writePar(const uint32_t par) const
Writes value to PAR register.
Definition: STM32-DMAv2-DmaChannelPeripheral.hpp:167
uint32_t readM0ar() const
Definition: STM32-DMAv2-DmaChannelPeripheral.hpp:74
void writeNdtr(const uint32_t ndtr) const
Writes value to NDTR register.
Definition: STM32-DMAv2-DmaChannelPeripheral.hpp:156
void writeM0ar(const uint32_t m0ar) const
Writes value to M0AR register.
Definition: STM32-DMAv2-DmaChannelPeripheral.hpp:134
CMSIS proxy header for STM32F4.
DmaChannelPeripheral class is a raw DMA channel peripheral for DMAv2 in STM32.
Definition: STM32-DMAv2-DmaChannelPeripheral.hpp:24
uint32_t readNdtr() const
Definition: STM32-DMAv2-DmaChannelPeripheral.hpp:92
DMA_Stream_TypeDef & getDmaChannel() const
Definition: STM32-DMAv2-DmaChannelPeripheral.hpp:178
void writeCr(const uint32_t cr) const
Writes value to CR register.
Definition: STM32-DMAv2-DmaChannelPeripheral.hpp:112
uint32_t readFcr() const
Definition: STM32-DMAv2-DmaChannelPeripheral.hpp:65
Top-level namespace of distortos project.
Definition: buttons.hpp:33
uint32_t readCr() const
Definition: STM32-DMAv2-DmaChannelPeripheral.hpp:56
void writeFcr(const uint32_t fcr) const
Writes value to FCR register.
Definition: STM32-DMAv2-DmaChannelPeripheral.hpp:123
void writeM1ar(const uint32_t m1ar) const
Writes value to M1AR register.
Definition: STM32-DMAv2-DmaChannelPeripheral.hpp:145
uint32_t readM1ar() const
Definition: STM32-DMAv2-DmaChannelPeripheral.hpp:83
constexpr DmaChannelPeripheral(const uintptr_t dmaBase, const uint8_t channelId)
DmaChannelPeripheral's constructor.
Definition: STM32-DMAv2-DmaChannelPeripheral.hpp:35
uintptr_t dmaChannelBase_
base address of DMA channel peripheral
Definition: STM32-DMAv2-DmaChannelPeripheral.hpp:184
uint8_t getChannelId() const
Definition: STM32-DMAv2-DmaChannelPeripheral.hpp:47