TMPM4G(1) Group Peripheral Driver User Manual
V1.0.0.0
|
This file provides internal common definition. More...
#include "txz_driver_def.h"
Go to the source code of this file.
Data Structures | |
struct | control_data_t |
Control data structure definition. More... | |
Macros | |
#define | HDMA_NULL ((void *)0) |
#define | HDMA_PARAM_OK ((int32_t)1) |
#define | HDMA_PARAM_NG ((int32_t)0) |
#define | HDMA_CHANNEL_0 ((int32_t)0) |
#define | HDMA_CHANNEL_1 ((int32_t)1) |
#define | HDMA_CIRCUIT_DISABLE ((uint32_t)0x00000000) |
#define | HDMA_CIRCUIT_ENABLE ((uint32_t)0x00000001) |
#define | SOFTBREQMASKSET_ALL_MASK ((uint32_t)0x0000FFFF) |
#define | SOFTBREQMASKSET_ALL_CLR ((uint32_t)0x00000000) |
#define | SOFTSREQMASKSET_ALL_MASK ((uint32_t)0x0000FFFF) |
#define | SOFTSREQMASKSET_ALL_CLR ((uint32_t)0x00000000) |
#define | INTTCST_CH0 ((uint32_t)0x00000001) |
#define | INTTCST_CH1 ((uint32_t)0x00000002) |
#define | INTTCCLR_CH0 ((uint32_t)0x00000001) |
#define | INTTCCLR_CH1 ((uint32_t)0x00000002) |
#define | INTTCCLR_ALL ((uint32_t)0x00000003) |
#define | INTERRST_CH0 ((uint32_t)0x00000001) |
#define | INTERRST_CH1 ((uint32_t)0x00000002) |
#define | INTERRCLR_CH0 ((uint32_t)0x00000001) |
#define | INTERRCLR_CH1 ((uint32_t)0x00000002) |
#define | INTERRCLR_ALL ((uint32_t)0x00000003) |
#define | EnabledCH1_TX_CMP ((uint32_t)0x00000000) |
#define | EnabledCH1_TX_RUN ((uint32_t)0x00000002) |
#define | EnabledCH0_TX_CMP ((uint32_t)0x00000000) |
#define | EnabledCH0_TX_RUN ((uint32_t)0x00000001) |
#define | EnabledALL_TX_RUN ((uint32_t)0x00000003) |
#define | CH_CFG_MASK_DST_INC ((uint32_t)0xC0000000) |
#define | CH_CFG_MASK_DST_SIZE ((uint32_t)0x30000000) |
#define | CH_CFG_MASK_SRC_INC ((uint32_t)0x0C000000) |
#define | CH_CFG_MASK_SRC_SIZE ((uint32_t)0x03000000) |
#define | CH_CFG_MASK_TRANS_NUM ((uint32_t)0x00003FF0) |
#define | CH_CFG_MASK_CYCLE_CTRL ((uint32_t)0x00000007) |
Functions | |
__STATIC_INLINE uint32_t | convert_ch_to_reg (uint32_t ch) |
Convert channel to register. More... | |
__STATIC_INLINE int32_t | check_param_channel (uint32_t ch) |
Check the channel no. More... | |
This file provides internal common definition.
DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT.
Copyright(C) Toshiba Electronic Device Solutions Corporation 2019