MCUXpresso SDK API Reference Manual  Rev. 0
NXP Semiconductors
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
LDB: LVDS Display Bridge

Overview

The MCUXpresso SDK provides a peripheral driver for the LVDS Display Bridge (LDB) module of MCUXpresso SDK devices.

SDK provides the APIs to initialize the LDB and configure the LDB channel. Refer the example for details.

Files

file  fsl_ldb.h
 

Data Structures

struct  ldb_channel_config_t
 LDB channel configuration. More...
 

Enumerations

enum  ldb_output_bus_t
 LDB output bus format. More...
 
enum  _ldb_input_flag {
  kLDB_InputVsyncActiveLow = 0U,
  kLDB_InputVsyncActiveHigh = 1U << 0U,
  kLDB_InputHsyncActiveLow = 0U,
  kLDB_InputHsyncActiveHigh = 1U << 1U,
  kLDB_InputDataLatchOnFallingEdge = 0U,
  kLDB_InputDataLatchOnRisingEdge = 1U << 2U
}
 LDB input signal priority. More...
 

Functions

void LDB_Init (LDB_Type *base)
 Initializes the LDB module. More...
 
void LDB_Deinit (LDB_Type *base)
 De-initializes the LDB module. More...
 
status_t LDB_InitChannel (LDB_Type *base, uint8_t channel, const ldb_channel_config_t *config)
 Initializes the LDB channel. More...
 
void LDB_DeinitChannel (LDB_Type *base, uint8_t channel)
 De-initializes the LDB channel. More...
 

Driver version

#define FSL_LDB_DRIVER_VERSION   (MAKE_VERSION(2, 0, 1))
 LDB driver version. More...
 

Data Structure Documentation

struct ldb_channel_config_t

Data Fields

ldb_output_bus_t outputBus
 Output bus format. More...
 
uint32_t inputFlag
 Input flag, OR'ed value of _ldb_input_flag. More...
 
uint32_t pixelClock_Hz
 Pixel clock in HZ. More...
 

Field Documentation

ldb_output_bus_t ldb_channel_config_t::outputBus
uint32_t ldb_channel_config_t::inputFlag
uint32_t ldb_channel_config_t::pixelClock_Hz

Macro Definition Documentation

#define FSL_LDB_DRIVER_VERSION   (MAKE_VERSION(2, 0, 1))

Enumeration Type Documentation

Enumerator
kLDB_InputVsyncActiveLow 

VSYNC active low.

kLDB_InputVsyncActiveHigh 

VSYNC active high.

kLDB_InputHsyncActiveLow 

HSYNC active low.

kLDB_InputHsyncActiveHigh 

HSYNC active high.

kLDB_InputDataLatchOnFallingEdge 

Latch data on falling clock edge.

kLDB_InputDataLatchOnRisingEdge 

Latch data on rising clock edge.

Function Documentation

void LDB_Init ( LDB_Type *  base)
Parameters
baseLDB peripheral base address.
void LDB_Deinit ( LDB_Type *  base)
Parameters
baseLDB peripheral base address.
status_t LDB_InitChannel ( LDB_Type *  base,
uint8_t  channel,
const ldb_channel_config_t config 
)
Parameters
baseLDB peripheral base address.
channelChannel index.
configPointer to the configuration.
Returns
Return kStatus_Success if success.
void LDB_DeinitChannel ( LDB_Type *  base,
uint8_t  channel 
)
Parameters
baseLDB peripheral base address.
channelChannel index.