12 #ifndef SOURCE_CHIP_STM32_INCLUDE_DISTORTOS_CHIP_DMACHANNELHANDLE_HPP_ 13 #define SOURCE_CHIP_STM32_INCLUDE_DISTORTOS_CHIP_DMACHANNELHANDLE_HPP_ 105 const auto ret = channel.
reserve(request, functor);
134 void startTransfer(
const uintptr_t memoryAddress,
const uintptr_t peripheralAddress,
const size_t transactions,
135 const Flags flags)
const 173 #endif // SOURCE_CHIP_STM32_INCLUDE_DISTORTOS_CHIP_DMACHANNELHANDLE_HPP_ size_t getTransactionsLeft() const
Definition: STM32-DMAv2-DmaChannel.cpp:217
DmaChannel class header for DMAv2 in STM32.
void startTransfer(const uintptr_t memoryAddress, const uintptr_t peripheralAddress, const size_t transactions, const Flags flags) const
Configures and starts asynchronous transfer.
Definition: DmaChannelHandle.hpp:134
DmaChannelFlags
DMA transfer configuration flags.
Definition: DmaChannel.hpp:32
DmaChannel * channel_
pointer to low-level DMA channel driver associated with this handle
Definition: DmaChannelHandle.hpp:166
int reserve(DmaChannel &channel, const uint8_t request, DmaChannelFunctor &functor)
Reserves low-level DMA channel driver for exclusive use via this handle.
Definition: DmaChannelHandle.hpp:101
Definition: DmaChannel.hpp:149
size_t getTransactionsLeft() const
Definition: DmaChannelHandle.hpp:63
~DmaChannelHandle()
DmaChannelHandle's destructor.
Definition: DmaChannelHandle.hpp:52
constexpr DmaChannelHandle()
DmaChannelHandle's constructor.
Definition: DmaChannelHandle.hpp:40
Definition: DmaChannelHandle.hpp:29
Top-level namespace of distortos project.
Definition: buttons.hpp:33
void release()
Releases any associated low-level DMA channel driver.
Definition: DmaChannelHandle.hpp:77
void stopTransfer() const
Stops transfer.
Definition: STM32-DMAv2-DmaChannel.cpp:295
void stopTransfer() const
Stops transfer.
Definition: DmaChannelHandle.hpp:152
Definition: DmaChannelFunctor.hpp:29
void release()
Releases low-level DMA channel driver.
Definition: STM32-DMAv2-DmaChannel.cpp:222
int reserve(uint8_t request, DmaChannelFunctor &functor)
Reserves low-level DMA channel driver for exclusive use.
Definition: STM32-DMAv2-DmaChannel.cpp:228
void startTransfer(uintptr_t memoryAddress, uintptr_t peripheralAddress, size_t transactions, Flags flags) const
Configures and starts asynchronous transfer.
Definition: STM32-DMAv2-DmaChannel.cpp:243