llvm-mos-sdk
Classes | Namespaces | Typedefs | Functions
dma.hpp File Reference
#include <array>
#include <cstdint>
#include <mega65.h>
#include <type_traits>
Include dependency graph for dma.hpp:

Go to the source code of this file.

Classes

struct  mega65::dma::DMAJob< N, T >
 

Namespaces

 mega65
 
 mega65::dma
 

Typedefs

typedef DMAJob< 7, DMAList_F018Bmega65::dma::CommonDMAJob
 Common structure for DMA fill and copy jobs. More...
 

Functions

CommonDMAJob mega65::dma::make_dma_fill (const uint32_t dst, const uint8_t value, const uint16_t count, const uint8_t skip=1)
 
CommonDMAJob mega65::dma::make_dma_copy (const uint32_t src, const uint32_t dst, const uint16_t count)
 
template<size_t N, typename T >
void mega65::dma::trigger_dma (const DMAJob< N, T > &dma_job)