|
Zephyr API 3.6.99
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
7#ifndef ZEPHYR_INCLUDE_DRIVERS_DMA_MCUX_PXP_H_
8#define ZEPHYR_INCLUDE_DRIVERS_DMA_MCUX_PXP_H_
10#define DMA_MCUX_PXP_CMD_MASK 0xE0
11#define DMA_MCUX_PXP_CMD_SHIFT 0x5
13#define DMA_MCUX_PXP_FMT_MASK 0x1F
14#define DMA_MCUX_PXP_FMT_SHIFT 0x0
29#define DMA_MCUX_PXP_FMT(x) ((x << DMA_MCUX_PXP_FMT_SHIFT) & DMA_MCUX_PXP_FMT_MASK)
30#define DMA_MCUX_PXP_CMD(x) ((x << DMA_MCUX_PXP_CMD_SHIFT) & DMA_MCUX_PXP_CMD_MASK)
32#define DMA_MCUX_PXP_CMD_ROTATE_0 0
33#define DMA_MCUX_PXP_CMD_ROTATE_90 1
34#define DMA_MCUX_PXP_CMD_ROTATE_180 2
35#define DMA_MCUX_PXP_CMD_ROTATE_270 3
37#define DMA_MCUX_PXP_FMT_RGB565 0
38#define DMA_MCUX_PXP_FMT_RGB888 1
39#define DMA_MCUX_PXP_FMT_ARGB8888 2
41#define DMA_MCUX_PXP_FLIP_MASK 0x3
42#define DMA_MCUX_PXP_FLIP_SHIFT 0x0
50#define DMA_MCUX_PXP_FLIP(x) ((x << DMA_MCUX_PXP_FLIP_SHIFT) & DMA_MCUX_PXP_FLIP_MASK)
52#define DMA_MCUX_PXP_FLIP_DISABLE 0
53#define DMA_MCUX_PXP_FLIP_HORIZONTAL 1
54#define DMA_MCUX_PXP_FLIP_VERTICAL 2
55#define DMA_MCUX_PXP_FLIP_BOTH 3