Zephyr API Documentation
3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
dma_mcux_smartdma.h
Go to the documentation of this file.
1
/*
2
* Copyright 2023 NXP
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_DRIVERS_DMA_MCUX_SMARTDMA_H_
8
#define ZEPHYR_INCLUDE_DRIVERS_DMA_MCUX_SMARTDMA_H_
9
10
/* Write RGB565 data to MIPI DSI via DMA. */
11
#define DMA_SMARTDMA_MIPI_RGB565_DMA 0
12
/* Write RGB888 data to MIPI DSI via DMA */
13
#define DMA_SMARTDMA_MIPI_RGB888_DMA 1
14
/* Write RGB565 data to MIPI DSI via DMA. Rotate output data by 180 degrees */
15
#define DMA_SMARTDMA_MIPI_RGB565_180 2
16
/* Write RGB888 data to MIPI DSI via DMA. Rotate output data by 180 degrees */
17
#define DMA_SMARTDMA_MIPI_RGB888_180 3
18
19
/* Write RGB565 data to MIPI DSI via DMA. Swap data endianness, so that
20
* little endian RGB565 data will be written big endian style.
21
*/
22
#define DMA_SMARTDMA_MIPI_RGB565_DMA_SWAP 4
23
/* Write RGB888 data to MIPI DSI via DMA. Swap data endianness, so that
24
* little endian RGB888 data will be written big endian style.
25
*/
26
#define DMA_SMARTDMA_MIPI_RGB888_DMA_SWAP 5
27
/* Write RGB565 data to MIPI DSI via DMA. Rotate output data by 180 degrees,
28
* and swap data endianness
29
*/
30
#define DMA_SMARTDMA_MIPI_RGB565_180_SWAP 6
31
/* Write RGB888 data to MIPI DSI via DMA. Rotate output data by 180 degrees,
32
* and swap data endianness
33
*/
34
#define DMA_SMARTDMA_MIPI_RGB888_180_SWAP 7
35
36
37
48
void
dma_smartdma_install_fw
(
const
struct
device
*dev,
uint8_t
*firmware,
49
uint32_t
len);
50
51
#define GD32_DMA_FEATURES_FIFO_THRESHOLD(threshold) (threshold & 0x3)
52
53
#endif
/* ZEPHYR_INCLUDE_DRIVERS_DMA_MCUX_SMARTDMA_H_ */
dma_smartdma_install_fw
void dma_smartdma_install_fw(const struct device *dev, uint8_t *firmware, uint32_t len)
install SMARTDMA firmware
uint32_t
__UINT32_TYPE__ uint32_t
Definition:
stdint.h:90
uint8_t
__UINT8_TYPE__ uint8_t
Definition:
stdint.h:88
device
Runtime device structure (in ROM) per driver instance.
Definition:
device.h:399
zephyr
drivers
dma
dma_mcux_smartdma.h
Generated on Thu Jul 4 2024 12:22:47 for Zephyr API Documentation by
1.9.6