TMPM4KxA Group Peripheral Driver User Manual  V1.0.4.0
Data Structures | Typedefs | Functions
txz_dma.h File Reference

This file provides all the functions prototypes for DMA driver. More...

Go to the source code of this file.

Data Structures

struct  dma_initial_setting_t
 Initial setting structure definenition. More...
 
struct  dma_ch_cfg_t
 Channel config setting structure definenition. More...
 
struct  dma_ch_setting_t
 Channel setting structure definenition. More...
 
struct  dma_cfg_t
 Channel configration structure definenition. More...
 
struct  dma_handle
 DMA handle structure definenition. More...
 

Typedefs

typedef struct dma_handle dma_t
 DMA handle structure definenition.
 

Functions

TXZ_Result dma_init (dma_t *p_obj)
 Initialize the DMA object. More...
 
TXZ_Result dma_deinit (dma_t *p_obj)
 Release the DMA object. More...
 
TXZ_Result dma_get_error (dma_t *p_obj, uint32_t *p_err)
 Get Error. More...
 
TXZ_Result dma_clear_error (dma_t *p_obj)
 Clear Error. More...
 
void dma_error_irq_handler (dma_t *p_obj)
 Error IRQ handler. More...
 
void dma_irq_handler (dma_t *p_obj, uint32_t ch)
 IRQ handler. More...
 
TXZ_Result dma_ch_init (dma_t *p_obj, uint32_t ch)
 Initialize the DMA channel object. More...
 
TXZ_Result dma_ch_deinit (dma_t *p_obj, uint32_t ch)
 Release the DMA channel object. More...
 
TXZ_Result dma_startIt (dma_t *p_obj, uint32_t ch, dma_cfg_t *p_cfg)
 Start DMA mode. More...
 
TXZ_Result dma_stopIt (dma_t *p_obj, uint32_t ch)
 Stop DMA mode. More...
 

Detailed Description

This file provides all the functions prototypes for DMA driver.

Version
V1.0.0.5
Date
2017-10-26 11:43:55

DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT.

(C)Copyright TOSHIBA MICROELECTRONICS CORPORATION 2017 All rights reserved