![]() |
![]() |
Functional layer API header file for LCD CSL. More...
#include <soc.h>#include <tistdtypes.h>#include <cslr_sysctrl.h>#include <csl_types.h>#include <csl_error.h>#include <csl_general.h>Go to the source code of this file.
Data Structures | |
| struct | CSL_LcdcConfigLidd |
| Configuration parameters for LCDC in LIDD mode. More... | |
| struct | CSL_LcdcLiddTiming |
| Timing parameters for LCDC in LIDD mode. More... | |
| struct | CSL_LcdcConfigDma |
| Configuration parameters for DMA engine. More... | |
| struct | CSL_LcdcHwSetup |
| Input parameters for setting up LCD Controller Parameters used to put LCDC into useful state. More... | |
| struct | CSL_LcdcObj |
| This object contains the reference to the instance of LCDC opened using the CSL_lcdcOpen() More... | |
| struct | CSL_LcdcBaseAddress |
| This will have the base-address information for the peripheral instance. More... | |
| struct | CSL_LcdcParam |
| LCDC specific parameters. Present implementation doesn't have any specific parameters. More... | |
| struct | CSL_LcdcContext |
| LCDC specific context information. Present implementation doesn't have any Context information. More... | |
Defines | |
| #define | CSL_LCDC_INSTANCE_0 (0x0) |
| #define | CSL_LCDC_INSTANCE_INV (0xFF) |
| #define | CSL_LCD_ENABLE (Uint16)(0x1) |
| #define | CSL_LCD_DISABLE (Uint16)(0x0) |
| #define | CSL_LCD_ACTIVE (Uint16)(0x0) |
| #define | CSL_LCD_RESET_CLOCK_CYCLE (0x20) |
| #define | CSL_LCD_SARAM_START_ADDR (0x08000) |
| #define | CSL_LCD_SARAM_END_ADDR (0x27FFF) |
| #define | CSL_LCD_SARAM_DMA_ADDR_OFFSET (0x080000) |
| #define | CSL_LCD_UINT16_MASK (0xFFFF) |
| #define | CSL_LCD_DMA_SHIFT (0x01) |
| #define | CSL_LCD_UINT16_NUMBER_BITS (0x0010) |
| #define | CSL_LCD_LCDLIDDCR_POLARITY_CONTROL_MASK (0x00F8) |
Typedefs | |
| typedef struct CSL_LcdcObj | CSL_LcdcObj |
| This object contains the reference to the instance of LCDC opened using the CSL_lcdcOpen() | |
| typedef CSL_LcdcObj * | CSL_LcdcHandle |
| this is a pointer to CSL_LcdcObj and is passed as the first parameter to all LCDC CSL APIs | |
Enumerations | |
| enum | CSL_LcdcChipSelect { CSL_LCDC_LIDD_CS0, CSL_LCDC_LIDD_CS1 } |
| LIDD Mode Chip Select. More... | |
| enum | CSL_LcdcCs1Status { CSL_LCDC_LIDD_NOT_USE_CS1, CSL_LCDC_LIDD_USE_CS1 } |
| LIDD Mode CS1 Use Status. More... | |
| enum | CSL_LcdcLiddMode { CSL_LCDC_LIDD_SYNC_MPU68 = CSL_LCDC_LCDLIDDCR_LIDD_MODE_SEL_SYNC_MPU68, CSL_LCDC_LIDD_ASYNC_MPU68 = CSL_LCDC_LCDLIDDCR_LIDD_MODE_SEL_ASYNC_MPU68, CSL_LCDC_LIDD_SYNC_MPU80 = CSL_LCDC_LCDLIDDCR_LIDD_MODE_SEL_SYNC_MPU80, CSL_LCDC_LIDD_ASYNC_MPU80 = CSL_LCDC_LCDLIDDCR_LIDD_MODE_SEL_ASYNC_MPU80, CSL_LCDC_LIDD_ASYNC_HITACHI = CSL_LCDC_LCDLIDDCR_LIDD_MODE_SEL_HITACHI } |
| LIDD Mode Select. More... | |
| enum | CSL_LcdcFdoneCtl { CSL_LCDC_LIDD_FDONE_DISABLE, CSL_LCDC_LIDD_FDONE_ENABLE } |
| LIDD frame done interrupt control. More... | |
| enum | CSL_LcdcDmaCtl { CSL_LCDC_LIDD_DMA_DISABLE, CSL_LCDC_LIDD_DMA_ENABLE } |
| LIDD mode DMA control. More... | |
| enum | CSL_LcdcDmaBurst { CSL_LCDC_DMA_BURST1 = CSL_LCDC_LCDDMACR_BURST_SIZE_BSIZE1, CSL_LCDC_DMA_BURST2 = CSL_LCDC_LCDDMACR_BURST_SIZE_BSIZE2, CSL_LCDC_DMA_BURST4 = CSL_LCDC_LCDDMACR_BURST_SIZE_BSIZE4, CSL_LCDC_DMA_BURST8 = CSL_LCDC_LCDDMACR_BURST_SIZE_BSIZE8, CSL_LCDC_DMA_BURST16 = CSL_LCDC_LCDDMACR_BURST_SIZE_BSIZE16 } |
| Enums for DMA burst size. More... | |
| enum | CSL_LcdcSubpanelCtl { CSL_LCDC_SUBPANEL_DISABLE = 0, CSL_LCDC_SUBPANEL_ENABLE = 1 } |
| Enums for Sub panel enable / disable. More... | |
| enum | CSL_LcdcSubpanPosCtl { CSL_LCDC_SUBPANPOS_LOW = 0, CSL_LCDC_SUBPANPOS_HIGH = 1 } |
| Enums for Sub panel position control. More... | |
| enum | CSL_LcdcSyncClkCtl { CSL_LCDC_SYNCCTL_PIXCLK = 0, CSL_LCDC_SYNCCTL_BIT24 = 1 } |
| Enums for HSYNC/VSYNC pixel clock control. More... | |
| enum | CSL_LcdcSyncEdgeCtl { CSL_LCDC_SYNCEDGECTL_FALL = 0, CSL_LCDC_SYNCEDGECTL_RISE = 1 } |
| Enums for HSYNC/VSYNC pixel clock edge control. More... | |
| enum | CSL_LcdcEofIntCtl { CSL_LCDC_EOFINT_DISABLE = 0, CSL_LCDC_EOFINT_ENABLE = 1 } |
| Enums for EOF Interrupt enable/disable. More... | |
| enum | CSL_LcdcEndianess { CSL_LCDC_ENDIANESS_LITTLE = 0, CSL_LCDC_ENDIANESS_BIG = 1 } |
| Enums for EOF Big endian enable/disable. More... | |
| enum | CSL_LcdcFrameMode { CSL_LCDC_FBMODE_SINGLE = 0, CSL_LCDC_FBMODE_DOUBLE = 1 } |
| Enums for Frame buffer mode. More... | |
Functions | |
| CSL_Status | LCD_init (void) |
| CSL_LcdcHandle | LCD_open (Uint16 instanceNum, CSL_LcdcObj *pLcdcObj, CSL_Status *status) |
| CSL_Status | LCD_setup (CSL_LcdcHandle hLcdc, CSL_LcdcHwSetup *setup) |
| CSL_Status | LCD_configDMA (CSL_LcdcHandle hLcdc, CSL_LcdcConfigDma *pconfigDma) |
| CSL_Status | LCD_close (CSL_LcdcHandle hLcdc) |
Functional layer API header file for LCD CSL.
Path: \(CSLPATH)/inc
1.7.4