TMPM4G(1) Group Peripheral Driver User Manual  V1.0.0.0
txz_i2c_api_dma.h File Reference

This file provides all the functions prototypes for I2C Driver. More...

#include "txz_i2c_api.h"
#include "txz_dma_ex.h"

Go to the source code of this file.

Data Structures

struct  i2c_dma_internal_info_t
 I2C DMA internal information structure definition. More...
 
struct  i2c_dma_initial_setting_t
 I2C DMA initial setting structure definition. More...
 
struct  i2c_dma_t
 I2C DMA handle structure definition. More...
 

Functions

TXZ_Result i2c_init_dma (i2c_dma_t *p_obj)
 
int32_t i2c_read_dma (i2c_dma_t *p_obj, uint8_t *p_rx, int32_t rx_length, int32_t address, int32_t stop)
 
int32_t i2c_write_dma (i2c_dma_t *p_obj, uint8_t *p_tx, int32_t tx_length, int32_t address, int32_t stop)
 
uint32_t i2c_irq_handler_dma (i2c_dma_t *p_obj)
 
void i2c_abort_dma (i2c_dma_t *p_obj)
 
TXZ_Result i2c_slave_init_dma (i2c_dma_t *p_obj, int32_t address)
 
int32_t i2c_slave_read_dma (i2c_dma_t *p_obj, uint8_t *p_rx, int32_t rx_length)
 
int32_t i2c_slave_write_dma (i2c_dma_t *p_obj, uint8_t *p_tx, int32_t tx_length)
 
uint32_t i2c_slave_irq_handler_dma (i2c_dma_t *p_obj)
 
void i2c_slave_abort_dma (i2c_dma_t *p_obj)
 

Detailed Description

This file provides all the functions prototypes for I2C Driver.

Version
V0.0.0.0
Date
2016-11-24 00:00:00

DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT.

Copyright(C) Toshiba Electronic Device Solutions Corporation 2019