STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches

DSI HAL module driver. More...

Topics

 DSI Exported Types
 
 DSI Exported Constants
 
 DSI Exported Macros
 
 DSI Exported Functions
 
 DSI Private Constants
 
 DSI Private Macros
 
 DSI Private Functions
 

Functions

static void DSI_ConfigPacketHeader (DSI_TypeDef *DSIx, uint32_t ChannelID, uint32_t DataType, uint32_t Data0, uint32_t Data1)
 Generic DSI packet header configuration.
 
static HAL_StatusTypeDef DSI_ShortWrite (DSI_HandleTypeDef *hdsi, uint32_t ChannelID, uint32_t Mode, uint32_t Param1, uint32_t Param2)
 write short DCS or short Generic command
 

Detailed Description

DSI HAL module driver.

Function Documentation

◆ DSI_ConfigPacketHeader()

static void DSI_ConfigPacketHeader ( DSI_TypeDef * DSIx,
uint32_t ChannelID,
uint32_t DataType,
uint32_t Data0,
uint32_t Data1 )
static

#include <stm32f4xx_hal_dsi.c>

Generic DSI packet header configuration.

Parameters
DSIxPointer to DSI register base
ChannelIDVirtual channel ID of the header packet
DataTypePacket data type of the header packet This parameter can be any value of :
  • DSI_SHORT_WRITE_PKT_Data_Type
  • DSI_LONG_WRITE_PKT_Data_Type
  • DSI_SHORT_READ_PKT_Data_Type
  • DSI_MAX_RETURN_PKT_SIZE
Data0Word count LSB
Data1Word count MSB
Return values
None

Definition at line 225 of file stm32f4xx_hal_dsi.c.

Referenced by HAL_DSI_LongWrite(), and HAL_DSI_Read().

◆ DSI_ShortWrite()

static HAL_StatusTypeDef DSI_ShortWrite ( DSI_HandleTypeDef * hdsi,
uint32_t ChannelID,
uint32_t Mode,
uint32_t Param1,
uint32_t Param2 )
static

#include <stm32f4xx_hal_dsi.c>

write short DCS or short Generic command

Parameters
hdsipointer to a DSI_HandleTypeDef structure that contains the configuration information for the DSI.
ChannelIDVirtual channel ID.
ModeDSI short packet data type. This parameter can be any value of
  • DSI_SHORT_WRITE_PKT_Data_Type.
Param1DSC command or first generic parameter. This parameter can be any value of
  • DSI_DCS_Command or a generic command code.
Param2DSC parameter or second generic parameter.
Return values
HALstatus

Definition at line 248 of file stm32f4xx_hal_dsi.c.

References DSI_TIMEOUT_VALUE, HAL_GetTick(), HAL_OK, HAL_TIMEOUT, and DSI_HandleTypeDef::Instance.

Referenced by HAL_DSI_Read(), and HAL_DSI_ShortWrite().