STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
stm32f4xx_hal_dsi.h File Reference

Header file of DSI HAL module. More...

Include dependency graph for stm32f4xx_hal_dsi.h:

Go to the source code of this file.

Data Structures

struct  DSI_InitTypeDef
 DSI Init Structure definition. More...
 
struct  DSI_PLLInitTypeDef
 DSI PLL Clock structure definition. More...
 
struct  DSI_VidCfgTypeDef
 DSI Video mode configuration. More...
 
struct  DSI_CmdCfgTypeDef
 DSI Adapted command mode configuration. More...
 
struct  DSI_LPCmdTypeDef
 DSI command transmission mode configuration. More...
 
struct  DSI_PHY_TimerTypeDef
 DSI PHY Timings definition. More...
 
struct  DSI_HOST_TimeoutTypeDef
 DSI HOST Timeouts definition. More...
 
struct  DSI_HandleTypeDef
 DSI Handle Structure definition. More...
 

Macros

#define DSI_ENTER_IDLE_MODE   0x39U
 
#define DSI_ENTER_INVERT_MODE   0x21U
 
#define DSI_ENTER_NORMAL_MODE   0x13U
 
#define DSI_ENTER_PARTIAL_MODE   0x12U
 
#define DSI_ENTER_SLEEP_MODE   0x10U
 
#define DSI_EXIT_IDLE_MODE   0x38U
 
#define DSI_EXIT_INVERT_MODE   0x20U
 
#define DSI_EXIT_SLEEP_MODE   0x11U
 
#define DSI_GET_3D_CONTROL   0x3FU
 
#define DSI_GET_ADDRESS_MODE   0x0BU
 
#define DSI_GET_BLUE_CHANNEL   0x08U
 
#define DSI_GET_DIAGNOSTIC_RESULT   0x0FU
 
#define DSI_GET_DISPLAY_MODE   0x0DU
 
#define DSI_GET_GREEN_CHANNEL   0x07U
 
#define DSI_GET_PIXEL_FORMAT   0x0CU
 
#define DSI_GET_POWER_MODE   0x0AU
 
#define DSI_GET_RED_CHANNEL   0x06U
 
#define DSI_GET_SCANLINE   0x45U
 
#define DSI_GET_SIGNAL_MODE   0x0EU
 
#define DSI_NOP   0x00U
 
#define DSI_READ_DDB_CONTINUE   0xA8U
 
#define DSI_READ_DDB_START   0xA1U
 
#define DSI_READ_MEMORY_CONTINUE   0x3EU
 
#define DSI_READ_MEMORY_START   0x2EU
 
#define DSI_SET_3D_CONTROL   0x3DU
 
#define DSI_SET_ADDRESS_MODE   0x36U
 
#define DSI_SET_COLUMN_ADDRESS   0x2AU
 
#define DSI_SET_DISPLAY_OFF   0x28U
 
#define DSI_SET_DISPLAY_ON   0x29U
 
#define DSI_SET_GAMMA_CURVE   0x26U
 
#define DSI_SET_PAGE_ADDRESS   0x2BU
 
#define DSI_SET_PARTIAL_COLUMNS   0x31U
 
#define DSI_SET_PARTIAL_ROWS   0x30U
 
#define DSI_SET_PIXEL_FORMAT   0x3AU
 
#define DSI_SET_SCROLL_AREA   0x33U
 
#define DSI_SET_SCROLL_START   0x37U
 
#define DSI_SET_TEAR_OFF   0x34U
 
#define DSI_SET_TEAR_ON   0x35U
 
#define DSI_SET_TEAR_SCANLINE   0x44U
 
#define DSI_SET_VSYNC_TIMING   0x40U
 
#define DSI_SOFT_RESET   0x01U
 
#define DSI_WRITE_LUT   0x2DU
 
#define DSI_WRITE_MEMORY_CONTINUE   0x3CU
 
#define DSI_WRITE_MEMORY_START   0x2CU
 
#define DSI_VID_MODE_NB_PULSES   0U
 
#define DSI_VID_MODE_NB_EVENTS   1U
 
#define DSI_VID_MODE_BURST   2U
 
#define DSI_COLOR_MODE_FULL   0x00000000U
 
#define DSI_COLOR_MODE_EIGHT   DSI_WCR_COLM
 
#define DSI_DISPLAY_ON   0x00000000U
 
#define DSI_DISPLAY_OFF   DSI_WCR_SHTDN
 
#define DSI_LP_COMMAND_DISABLE   0x00000000U
 
#define DSI_LP_COMMAND_ENABLE   DSI_VMCR_LPCE
 
#define DSI_LP_HFP_DISABLE   0x00000000U
 
#define DSI_LP_HFP_ENABLE   DSI_VMCR_LPHFPE
 
#define DSI_LP_HBP_DISABLE   0x00000000U
 
#define DSI_LP_HBP_ENABLE   DSI_VMCR_LPHBPE
 
#define DSI_LP_VACT_DISABLE   0x00000000U
 
#define DSI_LP_VACT_ENABLE   DSI_VMCR_LPVAE
 
#define DSI_LP_VFP_DISABLE   0x00000000U
 
#define DSI_LP_VFP_ENABLE   DSI_VMCR_LPVFPE
 
#define DSI_LP_VBP_DISABLE   0x00000000U
 
#define DSI_LP_VBP_ENABLE   DSI_VMCR_LPVBPE
 
#define DSI_LP_VSYNC_DISABLE   0x00000000U
 
#define DSI_LP_VSYNC_ENABLE   DSI_VMCR_LPVSAE
 
#define DSI_FBTAA_DISABLE   0x00000000U
 
#define DSI_FBTAA_ENABLE   DSI_VMCR_FBTAAE
 
#define DSI_TE_DSILINK   0x00000000U
 
#define DSI_TE_EXTERNAL   DSI_WCFGR_TESRC
 
#define DSI_TE_RISING_EDGE   0x00000000U
 
#define DSI_TE_FALLING_EDGE   DSI_WCFGR_TEPOL
 
#define DSI_VSYNC_FALLING   0x00000000U
 
#define DSI_VSYNC_RISING   DSI_WCFGR_VSPOL
 
#define DSI_AR_DISABLE   0x00000000U
 
#define DSI_AR_ENABLE   DSI_WCFGR_AR
 
#define DSI_TE_ACKNOWLEDGE_DISABLE   0x00000000U
 
#define DSI_TE_ACKNOWLEDGE_ENABLE   DSI_CMCR_TEARE
 
#define DSI_ACKNOWLEDGE_DISABLE   0x00000000U
 
#define DSI_ACKNOWLEDGE_ENABLE   DSI_CMCR_ARE
 
#define DSI_LP_GSW0P_DISABLE   0x00000000U
 
#define DSI_LP_GSW0P_ENABLE   DSI_CMCR_GSW0TX
 
#define DSI_LP_GSW1P_DISABLE   0x00000000U
 
#define DSI_LP_GSW1P_ENABLE   DSI_CMCR_GSW1TX
 
#define DSI_LP_GSW2P_DISABLE   0x00000000U
 
#define DSI_LP_GSW2P_ENABLE   DSI_CMCR_GSW2TX
 
#define DSI_LP_GSR0P_DISABLE   0x00000000U
 
#define DSI_LP_GSR0P_ENABLE   DSI_CMCR_GSR0TX
 
#define DSI_LP_GSR1P_DISABLE   0x00000000U
 
#define DSI_LP_GSR1P_ENABLE   DSI_CMCR_GSR1TX
 
#define DSI_LP_GSR2P_DISABLE   0x00000000U
 
#define DSI_LP_GSR2P_ENABLE   DSI_CMCR_GSR2TX
 
#define DSI_LP_GLW_DISABLE   0x00000000U
 
#define DSI_LP_GLW_ENABLE   DSI_CMCR_GLWTX
 
#define DSI_LP_DSW0P_DISABLE   0x00000000U
 
#define DSI_LP_DSW0P_ENABLE   DSI_CMCR_DSW0TX
 
#define DSI_LP_DSW1P_DISABLE   0x00000000U
 
#define DSI_LP_DSW1P_ENABLE   DSI_CMCR_DSW1TX
 
#define DSI_LP_DSR0P_DISABLE   0x00000000U
 
#define DSI_LP_DSR0P_ENABLE   DSI_CMCR_DSR0TX
 
#define DSI_LP_DLW_DISABLE   0x00000000U
 
#define DSI_LP_DLW_ENABLE   DSI_CMCR_DLWTX
 
#define DSI_LP_MRDP_DISABLE   0x00000000U
 
#define DSI_LP_MRDP_ENABLE   DSI_CMCR_MRDPS
 
#define DSI_HS_PM_DISABLE   0x00000000U
 
#define DSI_HS_PM_ENABLE   DSI_TCCR3_PM
 
#define DSI_AUTO_CLK_LANE_CTRL_DISABLE   0x00000000U
 
#define DSI_AUTO_CLK_LANE_CTRL_ENABLE   DSI_CLCR_ACR
 
#define DSI_ONE_DATA_LANE   0U
 
#define DSI_TWO_DATA_LANES   1U
 
#define DSI_FLOW_CONTROL_CRC_RX   DSI_PCR_CRCRXE
 
#define DSI_FLOW_CONTROL_ECC_RX   DSI_PCR_ECCRXE
 
#define DSI_FLOW_CONTROL_BTA   DSI_PCR_BTAE
 
#define DSI_FLOW_CONTROL_EOTP_RX   DSI_PCR_ETRXE
 
#define DSI_FLOW_CONTROL_EOTP_TX   DSI_PCR_ETTXE
 
#define DSI_FLOW_CONTROL_ALL
 
#define DSI_RGB565   0x00000000U
 
#define DSI_RGB666   0x00000003U
 
#define DSI_RGB888   0x00000005U
 
#define DSI_LOOSELY_PACKED_ENABLE   DSI_LCOLCR_LPE
 
#define DSI_LOOSELY_PACKED_DISABLE   0x00000000U
 
#define DSI_HSYNC_ACTIVE_HIGH   0x00000000U
 
#define DSI_HSYNC_ACTIVE_LOW   DSI_LPCR_HSP
 
#define DSI_VSYNC_ACTIVE_HIGH   0x00000000U
 
#define DSI_VSYNC_ACTIVE_LOW   DSI_LPCR_VSP
 
#define DSI_DATA_ENABLE_ACTIVE_HIGH   0x00000000U
 
#define DSI_DATA_ENABLE_ACTIVE_LOW   DSI_LPCR_DEP
 
#define DSI_PLL_IN_DIV1   0x00000001U
 
#define DSI_PLL_IN_DIV2   0x00000002U
 
#define DSI_PLL_IN_DIV3   0x00000003U
 
#define DSI_PLL_IN_DIV4   0x00000004U
 
#define DSI_PLL_IN_DIV5   0x00000005U
 
#define DSI_PLL_IN_DIV6   0x00000006U
 
#define DSI_PLL_IN_DIV7   0x00000007U
 
#define DSI_PLL_OUT_DIV1   0x00000000U
 
#define DSI_PLL_OUT_DIV2   0x00000001U
 
#define DSI_PLL_OUT_DIV4   0x00000002U
 
#define DSI_PLL_OUT_DIV8   0x00000003U
 
#define DSI_FLAG_TE   DSI_WISR_TEIF
 
#define DSI_FLAG_ER   DSI_WISR_ERIF
 
#define DSI_FLAG_BUSY   DSI_WISR_BUSY
 
#define DSI_FLAG_PLLLS   DSI_WISR_PLLLS
 
#define DSI_FLAG_PLLL   DSI_WISR_PLLLIF
 
#define DSI_FLAG_PLLU   DSI_WISR_PLLUIF
 
#define DSI_FLAG_RRS   DSI_WISR_RRS
 
#define DSI_FLAG_RR   DSI_WISR_RRIF
 
#define DSI_IT_TE   DSI_WIER_TEIE
 
#define DSI_IT_ER   DSI_WIER_ERIE
 
#define DSI_IT_PLLL   DSI_WIER_PLLLIE
 
#define DSI_IT_PLLU   DSI_WIER_PLLUIE
 
#define DSI_IT_RR   DSI_WIER_RRIE
 
#define DSI_DCS_SHORT_PKT_WRITE_P0   0x00000005U
 
#define DSI_DCS_SHORT_PKT_WRITE_P1   0x00000015U
 
#define DSI_GEN_SHORT_PKT_WRITE_P0   0x00000003U
 
#define DSI_GEN_SHORT_PKT_WRITE_P1   0x00000013U
 
#define DSI_GEN_SHORT_PKT_WRITE_P2   0x00000023U
 
#define DSI_DCS_LONG_PKT_WRITE   0x00000039U
 
#define DSI_GEN_LONG_PKT_WRITE   0x00000029U
 
#define DSI_DCS_SHORT_PKT_READ   0x00000006U
 
#define DSI_GEN_SHORT_PKT_READ_P0   0x00000004U
 
#define DSI_GEN_SHORT_PKT_READ_P1   0x00000014U
 
#define DSI_GEN_SHORT_PKT_READ_P2   0x00000024U
 
#define HAL_DSI_ERROR_NONE   0U
 
#define HAL_DSI_ERROR_ACK   0x00000001U
 
#define HAL_DSI_ERROR_PHY   0x00000002U
 
#define HAL_DSI_ERROR_TX   0x00000004U
 
#define HAL_DSI_ERROR_RX   0x00000008U
 
#define HAL_DSI_ERROR_ECC   0x00000010U
 
#define HAL_DSI_ERROR_CRC   0x00000020U
 
#define HAL_DSI_ERROR_PSE   0x00000040U
 
#define HAL_DSI_ERROR_EOT   0x00000080U
 
#define HAL_DSI_ERROR_OVF   0x00000100U
 
#define HAL_DSI_ERROR_GEN   0x00000200U
 
#define DSI_CLOCK_LANE   0x00000000U
 
#define DSI_DATA_LANES   0x00000001U
 
#define DSI_SLEW_RATE_HSTX   0x00000000U
 
#define DSI_SLEW_RATE_LPTX   0x00000001U
 
#define DSI_HS_DELAY   0x00000002U
 
#define DSI_SWAP_LANE_PINS   0x00000000U
 
#define DSI_INVERT_HS_SIGNAL   0x00000001U
 
#define DSI_CLK_LANE   0x00000000U
 
#define DSI_DATA_LANE0   0x00000001U
 
#define DSI_DATA_LANE1   0x00000002U
 
#define DSI_TCLK_POST   0x00000000U
 
#define DSI_TLPX_CLK   0x00000001U
 
#define DSI_THS_EXIT   0x00000002U
 
#define DSI_TLPX_DATA   0x00000003U
 
#define DSI_THS_ZERO   0x00000004U
 
#define DSI_THS_TRAIL   0x00000005U
 
#define DSI_THS_PREPARE   0x00000006U
 
#define DSI_TCLK_ZERO   0x00000007U
 
#define DSI_TCLK_PREPARE   0x00000008U
 
#define __HAL_DSI_RESET_HANDLE_STATE(__HANDLE__)
 Reset DSI handle state.
 
#define __HAL_DSI_ENABLE(__HANDLE__)
 Enables the DSI host.
 
#define __HAL_DSI_DISABLE(__HANDLE__)
 Disables the DSI host.
 
#define __HAL_DSI_WRAPPER_ENABLE(__HANDLE__)
 Enables the DSI wrapper.
 
#define __HAL_DSI_WRAPPER_DISABLE(__HANDLE__)
 Disable the DSI wrapper.
 
#define __HAL_DSI_PLL_ENABLE(__HANDLE__)
 Enables the DSI PLL.
 
#define __HAL_DSI_PLL_DISABLE(__HANDLE__)
 Disables the DSI PLL.
 
#define __HAL_DSI_REG_ENABLE(__HANDLE__)
 Enables the DSI regulator.
 
#define __HAL_DSI_REG_DISABLE(__HANDLE__)
 Disables the DSI regulator.
 
#define __HAL_DSI_GET_FLAG(__HANDLE__, __FLAG__)
 Get the DSI pending flags.
 
#define __HAL_DSI_CLEAR_FLAG(__HANDLE__, __FLAG__)
 Clears the DSI pending flags.
 
#define __HAL_DSI_ENABLE_IT(__HANDLE__, __INTERRUPT__)
 Enables the specified DSI interrupts.
 
#define __HAL_DSI_DISABLE_IT(__HANDLE__, __INTERRUPT__)
 Disables the specified DSI interrupts.
 
#define __HAL_DSI_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__)
 Checks whether the specified DSI interrupt source is enabled or not.
 
#define DSI_MAX_RETURN_PKT_SIZE   (0x00000037U)
 
#define IS_DSI_PLL_NDIV(NDIV)
 
#define IS_DSI_PLL_IDF(IDF)
 
#define IS_DSI_PLL_ODF(ODF)
 
#define IS_DSI_AUTO_CLKLANE_CONTROL(AutoClkLane)
 
#define IS_DSI_NUMBER_OF_LANES(NumberOfLanes)
 
#define IS_DSI_FLOW_CONTROL(FlowControl)
 
#define IS_DSI_COLOR_CODING(ColorCoding)
 
#define IS_DSI_LOOSELY_PACKED(LooselyPacked)
 
#define IS_DSI_DE_POLARITY(DataEnable)
 
#define IS_DSI_VSYNC_POLARITY(Vsync)
 
#define IS_DSI_HSYNC_POLARITY(Hsync)
 
#define IS_DSI_VIDEO_MODE_TYPE(VideoModeType)
 
#define IS_DSI_COLOR_MODE(ColorMode)
 
#define IS_DSI_SHUT_DOWN(ShutDown)
 
#define IS_DSI_LP_COMMAND(LPCommand)
 
#define IS_DSI_LP_HFP(LPHFP)
 
#define IS_DSI_LP_HBP(LPHBP)
 
#define IS_DSI_LP_VACTIVE(LPVActive)
 
#define IS_DSI_LP_VFP(LPVFP)
 
#define IS_DSI_LP_VBP(LPVBP)
 
#define IS_DSI_LP_VSYNC(LPVSYNC)
 
#define IS_DSI_FBTAA(FrameBTAAcknowledge)
 
#define IS_DSI_TE_SOURCE(TESource)
 
#define IS_DSI_TE_POLARITY(TEPolarity)
 
#define IS_DSI_AUTOMATIC_REFRESH(AutomaticRefresh)
 
#define IS_DSI_VS_POLARITY(VSPolarity)
 
#define IS_DSI_TE_ACK_REQUEST(TEAcknowledgeRequest)
 
#define IS_DSI_ACK_REQUEST(AcknowledgeRequest)
 
#define IS_DSI_LP_GSW0P(LP_GSW0P)
 
#define IS_DSI_LP_GSW1P(LP_GSW1P)
 
#define IS_DSI_LP_GSW2P(LP_GSW2P)
 
#define IS_DSI_LP_GSR0P(LP_GSR0P)
 
#define IS_DSI_LP_GSR1P(LP_GSR1P)
 
#define IS_DSI_LP_GSR2P(LP_GSR2P)
 
#define IS_DSI_LP_GLW(LP_GLW)
 
#define IS_DSI_LP_DSW0P(LP_DSW0P)
 
#define IS_DSI_LP_DSW1P(LP_DSW1P)
 
#define IS_DSI_LP_DSR0P(LP_DSR0P)
 
#define IS_DSI_LP_DLW(LP_DLW)
 
#define IS_DSI_LP_MRDP(LP_MRDP)
 
#define IS_DSI_SHORT_WRITE_PACKET_TYPE(MODE)
 
#define IS_DSI_LONG_WRITE_PACKET_TYPE(MODE)
 
#define IS_DSI_READ_PACKET_TYPE(MODE)
 
#define IS_DSI_COMMUNICATION_DELAY(CommDelay)
 
#define IS_DSI_LANE_GROUP(Lane)
 
#define IS_DSI_CUSTOM_LANE(CustomLane)
 
#define IS_DSI_LANE(Lane)
 
#define IS_DSI_PHY_TIMING(Timing)
 

Enumerations

enum  HAL_DSI_StateTypeDef {
  HAL_DSI_STATE_RESET = 0x00U , HAL_DSI_STATE_READY = 0x01U , HAL_DSI_STATE_ERROR = 0x02U , HAL_DSI_STATE_BUSY = 0x03U ,
  HAL_DSI_STATE_TIMEOUT = 0x04U
}
 DSI States Structure definition. More...
 

Functions

HAL_StatusTypeDef HAL_DSI_Init (DSI_HandleTypeDef *hdsi, DSI_PLLInitTypeDef *PLLInit)
 Initializes the DSI according to the specified parameters in the DSI_InitTypeDef and create the associated handle.
 
HAL_StatusTypeDef HAL_DSI_DeInit (DSI_HandleTypeDef *hdsi)
 De-initializes the DSI peripheral registers to their default reset values.
 
void HAL_DSI_MspInit (DSI_HandleTypeDef *hdsi)
 Initializes the DSI MSP.
 
void HAL_DSI_MspDeInit (DSI_HandleTypeDef *hdsi)
 De-initializes the DSI MSP.
 
HAL_StatusTypeDef HAL_DSI_ConfigErrorMonitor (DSI_HandleTypeDef *hdsi, uint32_t ActiveErrors)
 Enable the error monitor flags.
 
void HAL_DSI_IRQHandler (DSI_HandleTypeDef *hdsi)
 Handles DSI interrupt request.
 
void HAL_DSI_TearingEffectCallback (DSI_HandleTypeDef *hdsi)
 Tearing Effect DSI callback.
 
void HAL_DSI_EndOfRefreshCallback (DSI_HandleTypeDef *hdsi)
 End of Refresh DSI callback.
 
void HAL_DSI_ErrorCallback (DSI_HandleTypeDef *hdsi)
 Operation Error DSI callback.
 
HAL_StatusTypeDef HAL_DSI_SetGenericVCID (DSI_HandleTypeDef *hdsi, uint32_t VirtualChannelID)
 Configure the Generic interface read-back Virtual Channel ID.
 
HAL_StatusTypeDef HAL_DSI_ConfigVideoMode (DSI_HandleTypeDef *hdsi, DSI_VidCfgTypeDef *VidCfg)
 Select video mode and configure the corresponding parameters.
 
HAL_StatusTypeDef HAL_DSI_ConfigAdaptedCommandMode (DSI_HandleTypeDef *hdsi, DSI_CmdCfgTypeDef *CmdCfg)
 Select adapted command mode and configure the corresponding parameters.
 
HAL_StatusTypeDef HAL_DSI_ConfigCommand (DSI_HandleTypeDef *hdsi, DSI_LPCmdTypeDef *LPCmd)
 Configure command transmission mode: High-speed or Low-power and enable/disable acknowledge request after packet transmission.
 
HAL_StatusTypeDef HAL_DSI_ConfigFlowControl (DSI_HandleTypeDef *hdsi, uint32_t FlowControl)
 Configure the flow control parameters.
 
HAL_StatusTypeDef HAL_DSI_ConfigPhyTimer (DSI_HandleTypeDef *hdsi, DSI_PHY_TimerTypeDef *PhyTimers)
 Configure the DSI PHY timer parameters.
 
HAL_StatusTypeDef HAL_DSI_ConfigHostTimeouts (DSI_HandleTypeDef *hdsi, DSI_HOST_TimeoutTypeDef *HostTimeouts)
 Configure the DSI HOST timeout parameters.
 
HAL_StatusTypeDef HAL_DSI_Start (DSI_HandleTypeDef *hdsi)
 Start the DSI module.
 
HAL_StatusTypeDef HAL_DSI_Stop (DSI_HandleTypeDef *hdsi)
 Stop the DSI module.
 
HAL_StatusTypeDef HAL_DSI_Refresh (DSI_HandleTypeDef *hdsi)
 Refresh the display in command mode.
 
HAL_StatusTypeDef HAL_DSI_ColorMode (DSI_HandleTypeDef *hdsi, uint32_t ColorMode)
 Controls the display color mode in Video mode.
 
HAL_StatusTypeDef HAL_DSI_Shutdown (DSI_HandleTypeDef *hdsi, uint32_t Shutdown)
 Control the display shutdown in Video mode.
 
HAL_StatusTypeDef HAL_DSI_ShortWrite (DSI_HandleTypeDef *hdsi, uint32_t ChannelID, uint32_t Mode, uint32_t Param1, uint32_t Param2)
 write short DCS or short Generic command
 
HAL_StatusTypeDef HAL_DSI_LongWrite (DSI_HandleTypeDef *hdsi, uint32_t ChannelID, uint32_t Mode, uint32_t NbParams, uint32_t Param1, const uint8_t *ParametersTable)
 write long DCS or long Generic command
 
HAL_StatusTypeDef HAL_DSI_Read (DSI_HandleTypeDef *hdsi, uint32_t ChannelNbr, uint8_t *Array, uint32_t Size, uint32_t Mode, uint32_t DCSCmd, uint8_t *ParametersTable)
 Read command (DCS or generic)
 
HAL_StatusTypeDef HAL_DSI_EnterULPMData (DSI_HandleTypeDef *hdsi)
 Enter the ULPM (Ultra Low Power Mode) with the D-PHY PLL running (only data lanes are in ULPM)
 
HAL_StatusTypeDef HAL_DSI_ExitULPMData (DSI_HandleTypeDef *hdsi)
 Exit the ULPM (Ultra Low Power Mode) with the D-PHY PLL running (only data lanes are in ULPM)
 
HAL_StatusTypeDef HAL_DSI_EnterULPM (DSI_HandleTypeDef *hdsi)
 Enter the ULPM (Ultra Low Power Mode) with the D-PHY PLL turned off (both data and clock lanes are in ULPM)
 
HAL_StatusTypeDef HAL_DSI_ExitULPM (DSI_HandleTypeDef *hdsi)
 Exit the ULPM (Ultra Low Power Mode) with the D-PHY PLL turned off (both data and clock lanes are in ULPM)
 
HAL_StatusTypeDef HAL_DSI_PatternGeneratorStart (DSI_HandleTypeDef *hdsi, uint32_t Mode, uint32_t Orientation)
 Start test pattern generation.
 
HAL_StatusTypeDef HAL_DSI_PatternGeneratorStop (DSI_HandleTypeDef *hdsi)
 Stop test pattern generation.
 
HAL_StatusTypeDef HAL_DSI_SetSlewRateAndDelayTuning (DSI_HandleTypeDef *hdsi, uint32_t CommDelay, uint32_t Lane, uint32_t Value)
 Set Slew-Rate And Delay Tuning.
 
HAL_StatusTypeDef HAL_DSI_SetLowPowerRXFilter (DSI_HandleTypeDef *hdsi, uint32_t Frequency)
 Low-Power Reception Filter Tuning.
 
HAL_StatusTypeDef HAL_DSI_SetSDD (DSI_HandleTypeDef *hdsi, FunctionalState State)
 Activate an additional current path on all lanes to meet the SDDTx parameter defined in the MIPI D-PHY specification.
 
HAL_StatusTypeDef HAL_DSI_SetLanePinsConfiguration (DSI_HandleTypeDef *hdsi, uint32_t CustomLane, uint32_t Lane, FunctionalState State)
 Custom lane pins configuration.
 
HAL_StatusTypeDef HAL_DSI_SetPHYTimings (DSI_HandleTypeDef *hdsi, uint32_t Timing, FunctionalState State, uint32_t Value)
 Set custom timing for the PHY.
 
HAL_StatusTypeDef HAL_DSI_ForceTXStopMode (DSI_HandleTypeDef *hdsi, uint32_t Lane, FunctionalState State)
 Force the Clock/Data Lane in TX Stop Mode.
 
HAL_StatusTypeDef HAL_DSI_ForceRXLowPower (DSI_HandleTypeDef *hdsi, FunctionalState State)
 Force LP Receiver in Low-Power Mode.
 
HAL_StatusTypeDef HAL_DSI_ForceDataLanesInRX (DSI_HandleTypeDef *hdsi, FunctionalState State)
 Force Data Lanes in RX Mode after a BTA.
 
HAL_StatusTypeDef HAL_DSI_SetPullDown (DSI_HandleTypeDef *hdsi, FunctionalState State)
 Enable a pull-down on the lanes to prevent from floating states when unused.
 
HAL_StatusTypeDef HAL_DSI_SetContentionDetectionOff (DSI_HandleTypeDef *hdsi, FunctionalState State)
 Switch off the contention detection on data lanes.
 
uint32_t HAL_DSI_GetError (const DSI_HandleTypeDef *hdsi)
 Return the DSI error code.
 
HAL_DSI_StateTypeDef HAL_DSI_GetState (const DSI_HandleTypeDef *hdsi)
 Return the DSI state.
 

Detailed Description

Header file of DSI HAL module.

Author
MCD Application Team
Attention

Copyright (c) 2016 STMicroelectronics. All rights reserved.

This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.

Definition in file stm32f4xx_hal_dsi.h.