From what I can tell, LCD_CAM_LCD_2BYTE_EN selects between 16 and 8-bit modes. (Suggest you look at components/soc/esp32s3/include/soc/lcd_cam_reg.h if you're looking for data like that, the file has comments.) I don't think we have a FIFO you can manually put bytes into.
I need to know if the tx fifo is full, otherwise, how will I know if I can continue sending bytes to the peripheral lcd hardware ?
lcd_cam_struct.h
Code: Select all
// FIFO related stuf.
/** lcd_afifo_threshold_num : R/W; bitpos: [5:1]; default: 11;
* The awfull threshold number of lcd_afifo.
*/
uint32_t lcd_afifo_threshold_num: 5;
/** lcd_afifo_reset : WO; bitpos: [27]; default: 0;
* LCD AFIFO reset signal.
*/
uint32_t lcd_afifo_reset: 1;
/** cam_stop_en : R/W; bitpos: [0]; default: 0;
* Camera stop enable signal, 1: camera stops when DMA Rx FIFO is full. 0: Not stop.
*/
uint32_t cam_stop_en: 1;
/** cam_afifo_reset : WO; bitpos: [31]; default: 0;
* Camera AFIFO reset signal.
*/
uint32_t cam_afifo_reset: 1;