#include <stddef.h>
#include "sdkconfig.h"
#include "soc/soc_caps.h"
#include "hal/dma_types.h"
#include "esp_intr_alloc.h"
#include "esp_heap_caps.h"
Go to the source code of this file.
◆ LCD_I80_INTR_ALLOC_FLAGS
| #define LCD_I80_INTR_ALLOC_FLAGS ESP_INTR_FLAG_INTRDISABLED |
◆ LCD_I80_MEM_ALLOC_CAPS
| #define LCD_I80_MEM_ALLOC_CAPS MALLOC_CAP_DEFAULT |
◆ LCD_PERIPH_CLOCK_PRE_SCALE
| #define LCD_PERIPH_CLOCK_PRE_SCALE (2) |
◆ lcd_com_mount_dma_data()
| void lcd_com_mount_dma_data |
( |
dma_descriptor_t * |
desc_head, |
|
|
const void * |
buffer, |
|
|
size_t |
len |
|
) |
| |
Mount data to DMA descriptors.
- Parameters
-
| desc_head | Point to the head of DMA descriptor chain |
| buffer | Data buffer |
| len | Size of the data buffer, in bytes |
◆ lcd_com_reverse_buffer_bytes()
| static void lcd_com_reverse_buffer_bytes |
( |
uint8_t * |
buf, |
|
|
int |
start, |
|
|
int |
end |
|
) |
| |
|
inlinestatic |
Reverse the bytes in the buffer.
- Note
- LCD is big-endian, e.g. to send command 0x1234, byte 0x12 should appear on the bus first However, the low level peripheral (like i80, i2s) will send 0x34 first. This helper function is used to reverse the bytes order
- Parameters
-
| buf | buffer address |
| start | start index of the buffer |
| end | end index of the buffer |
Definition at line 72 of file esp_rgb_common.h.