Line data Source code
1 0 : /* 2 : * Copyright (c) 2023 Renesas Electronics Corporation 3 : * 4 : * SPDX-License-Identifier: Apache-2.0 5 : */ 6 : 7 : #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_DMA_DMA_SMARTBOND_H_ 8 : #define ZEPHYR_INCLUDE_DT_BINDINGS_DMA_DMA_SMARTBOND_H_ 9 : 10 : /** 11 : * @brief Vendror-specific DMA peripheral triggering sources. 12 : * 13 : * A valid triggering source should be provided when DMA 14 : * is configured for peripheral to peripheral or memory to peripheral 15 : * transactions. 16 : */ 17 1 : #define DMA_SMARTBOND_TRIG_MUX_SPI 0x0 18 0 : #define DMA_SMARTBOND_TRIG_MUX_SPI2 0x1 19 0 : #define DMA_SMARTBOND_TRIG_MUX_UART 0x2 20 0 : #define DMA_SMARTBOND_TRIG_MUX_UART2 0x3 21 0 : #define DMA_SMARTBOND_TRIG_MUX_I2C 0x4 22 0 : #define DMA_SMARTBOND_TRIG_MUX_I2C2 0x5 23 0 : #define DMA_SMARTBOND_TRIG_MUX_USB 0x6 24 0 : #define DMA_SMARTBOND_TRIG_MUX_UART3 0x7 25 0 : #define DMA_SMARTBOND_TRIG_MUX_PCM 0x8 26 0 : #define DMA_SMARTBOND_TRIG_MUX_SRC 0x9 27 0 : #define DMA_SMARTBOND_TRIG_MUX_GPADC 0xC 28 0 : #define DMA_SMARTBOND_TRIG_MUX_SDADC 0xD 29 0 : #define DMA_SMARTBOND_TRIG_MUX_NONE 0xF 30 : 31 : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_DMA_DMA_SMARTBOND_H_ */