no-OS
Classes | Macros | Variables
maxim_dma.h File Reference

Maxim platform specific header DMA API. More...

#include <stdint.h>
#include "no_os_dma.h"
#include "dma.h"
Include dependency graph for maxim_dma.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  max_dma_ch_regs
 
struct  max_dma_regs
 

Macros

#define MAX_DMA   ((struct max_dma_regs *)(MXC_DMA))
 
#define MAX_DMA_IRQ_EN_ALL_CH   NO_OS_GENMASK(15, 0)
 
#define MAX_DMA_ENABLED   NO_OS_BIT(0)
 
#define MAX_DMA_ENABLE   NO_OS_BIT(0)
 
#define MAX_DMA_IRQ_CTZ_EN   NO_OS_BIT(31)
 
#define MAX_DMA_REQSEL_MASK   NO_OS_GENMASK(9, 4)
 
#define MAX_DMA_DST_INC   NO_OS_BIT(22)
 
#define MAX_DMA_SRC_INC   NO_OS_BIT(18)
 

Variables

struct no_os_dma_platform_ops max_dma_ops
 Maxim platform specific callbacks for the DMA API. More...
 

Detailed Description

Maxim platform specific header DMA API.

Author
Ciprian Regus (cipri.nosp@m.an.r.nosp@m.egus@.nosp@m.anal.nosp@m.og.co.nosp@m.m)

Copyright 2024(c) Analog Devices, Inc.

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, INTELLECTUAL PROPERTY RIGHTS, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Macro Definition Documentation

◆ MAX_DMA

#define MAX_DMA   ((struct max_dma_regs *)(MXC_DMA))

◆ MAX_DMA_DST_INC

#define MAX_DMA_DST_INC   NO_OS_BIT(22)

◆ MAX_DMA_ENABLE

#define MAX_DMA_ENABLE   NO_OS_BIT(0)

◆ MAX_DMA_ENABLED

#define MAX_DMA_ENABLED   NO_OS_BIT(0)

◆ MAX_DMA_IRQ_CTZ_EN

#define MAX_DMA_IRQ_CTZ_EN   NO_OS_BIT(31)

◆ MAX_DMA_IRQ_EN_ALL_CH

#define MAX_DMA_IRQ_EN_ALL_CH   NO_OS_GENMASK(15, 0)

◆ MAX_DMA_REQSEL_MASK

#define MAX_DMA_REQSEL_MASK   NO_OS_GENMASK(9, 4)

◆ MAX_DMA_SRC_INC

#define MAX_DMA_SRC_INC   NO_OS_BIT(18)

Variable Documentation

◆ max_dma_ops

struct no_os_dma_platform_ops max_dma_ops

Maxim platform specific callbacks for the DMA API.