![]() |
MCUXpresso SDK API Reference Manual
Rev. 0
NXP Semiconductors
|
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... | |
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... | |
ldb_output_bus_t ldb_channel_config_t::outputBus |
uint32_t ldb_channel_config_t::inputFlag |
uint32_t ldb_channel_config_t::pixelClock_Hz |
#define FSL_LDB_DRIVER_VERSION (MAKE_VERSION(2, 0, 1)) |
enum ldb_output_bus_t |
enum _ldb_input_flag |
void LDB_Init | ( | LDB_Type * | base | ) |
base | LDB peripheral base address. |
void LDB_Deinit | ( | LDB_Type * | base | ) |
base | LDB peripheral base address. |
status_t LDB_InitChannel | ( | LDB_Type * | base, |
uint8_t | channel, | ||
const ldb_channel_config_t * | config | ||
) |
base | LDB peripheral base address. |
channel | Channel index. |
config | Pointer to the configuration. |
void LDB_DeinitChannel | ( | LDB_Type * | base, |
uint8_t | channel | ||
) |
base | LDB peripheral base address. |
channel | Channel index. |