HAL DSI Functions

Initialization and Configuration functions

group DSI_Exported_Functions_Group1

Functions

hal_status_t HAL_DSI_Init ( hal_dsi_handle_t * hdsi , hal_dsi_t instance )
void HAL_DSI_DeInit ( hal_dsi_handle_t * hdsi )

Global configuration functions

group DSI_Exported_Functions_Group2

Functions

hal_status_t HAL_DSI_SetConfig ( hal_dsi_handle_t * hdsi , const hal_dsi_config_t * p_config )
void HAL_DSI_GetConfig ( const hal_dsi_handle_t * hdsi , hal_dsi_config_t * p_config )

IRQHandler and Callbacks functions

group DSI_Exported_Functions_Group3

Functions

void HAL_DSI_IRQHandler ( hal_dsi_handle_t * hdsi )
void HAL_DSI_TearingEffectCallback ( hal_dsi_handle_t * hdsi )
void HAL_DSI_EndOfRefreshCallback ( hal_dsi_handle_t * hdsi )
void HAL_DSI_ErrorCallback ( hal_dsi_handle_t * hdsi )
hal_status_t HAL_DSI_RegisterErrorCallback ( hal_dsi_handle_t * hdsi , hal_dsi_cb_t p_callback )
hal_status_t HAL_DSI_RegisterTearingEffectCallback ( hal_dsi_handle_t * hdsi , hal_dsi_cb_t p_callback )
hal_status_t HAL_DSI_RegisterEndOfRefreshCallback ( hal_dsi_handle_t * hdsi , hal_dsi_cb_t p_callback )

Peripheral Control functions

group DSI_Peripheral_control_functions_Group4

Functions

hal_status_t HAL_DSI_SetGenericVCIDRX ( hal_dsi_handle_t * hdsi , hal_dsi_virtual_channel_t virtual_channel_id_rx )
hal_dsi_virtual_channel_t HAL_DSI_GetGenericVCIDRX ( const hal_dsi_handle_t * hdsi )
hal_status_t HAL_DSI_SetGenericVCIDTX ( hal_dsi_handle_t * hdsi , hal_dsi_virtual_channel_t virtual_channel_id_tx )
hal_dsi_virtual_channel_t HAL_DSI_GetGenericVCIDTX ( const hal_dsi_handle_t * hdsi )
hal_status_t HAL_DSI_SetGenericVCID ( hal_dsi_handle_t * hdsi , hal_dsi_virtual_channel_t virtual_channel_id )
hal_dsi_virtual_channel_t HAL_DSI_GetGenericVCID ( const hal_dsi_handle_t * hdsi )
hal_status_t HAL_DSI_SetConfigVideoMode ( hal_dsi_handle_t * hdsi , const hal_dsi_video_config_t * p_videoconfig )
void HAL_DSI_GetConfigVideoMode ( const hal_dsi_handle_t * hdsi , hal_dsi_video_config_t * p_videoconfig )
hal_status_t HAL_DSI_SetConfigAdaptedCommandMode ( hal_dsi_handle_t * hdsi , const hal_dsi_cmd_config_t * p_cmdcfg )
void HAL_DSI_GetConfigAdaptedCommandMode ( const hal_dsi_handle_t * hdsi , hal_dsi_cmd_config_t * p_cmdcfg )
hal_status_t HAL_DSI_SetConfigLPCommand ( hal_dsi_handle_t * hdsi , const hal_dsi_lp_cmd_config_t * p_lpcmd )
void HAL_DSI_GetConfigLPCommand ( const hal_dsi_handle_t * hdsi , hal_dsi_lp_cmd_config_t * p_lpcmd )
hal_status_t HAL_DSI_SetFlowControl ( hal_dsi_handle_t * hdsi , const uint32_t flow_control )
void HAL_DSI_GetFlowControl ( const hal_dsi_handle_t * hdsi , uint32_t flow_control )
hal_status_t HAL_DSI_SetConfigPhyTimer ( hal_dsi_handle_t * hdsi , hal_dsi_phy_tim_config_t * p_phytimers )
void HAL_DSI_GetConfigPhyTimer ( const hal_dsi_handle_t * hdsi , hal_dsi_phy_tim_config_t * p_phytimers )
hal_status_t HAL_DSI_SetConfigHostTimeouts ( hal_dsi_handle_t * hdsi , const hal_dsi_timeout_config_t * p_host_timeout )
void HAL_DSI_GetConfigHostTimeouts ( const hal_dsi_handle_t * hdsi , hal_dsi_timeout_config_t * p_host_timeout )
hal_status_t HAL_DSI_SetConfigPatternGenerator ( hal_dsi_handle_t * hdsi , hal_dsi_pattern_t pattern_generator )
hal_dsi_pattern_t HAL_DSI_GetConfigPatternGenerator ( const hal_dsi_handle_t * hdsi )
hal_status_t HAL_DSI_EnablePatternGenerator ( hal_dsi_handle_t * hdsi )
hal_status_t HAL_DSI_DisablePatternGenerator ( hal_dsi_handle_t * hdsi )
hal_dsi_pattern_generator_status_t HAL_DSI_IsEnabledPatternGenerator ( const hal_dsi_handle_t * hdsi )
hal_status_t HAL_DSI_Start ( hal_dsi_handle_t * hdsi , uint32_t interrupts )
hal_status_t HAL_DSI_Stop ( hal_dsi_handle_t * hdsi )
hal_status_t HAL_DSI_Refresh ( hal_dsi_handle_t * hdsi )
hal_status_t HAL_DSI_EnableAutomaticClockLane ( hal_dsi_handle_t * hdsi )
hal_status_t HAL_DSI_DisableAutomaticClockLane ( hal_dsi_handle_t * hdsi )
hal_dsi_auto_clk_lane_ctrl_status_t HAL_DSI_IsEnabledAutomaticClockLane ( const hal_dsi_handle_t * hdsi )
hal_status_t HAL_DSI_EnableLooselyPacked ( hal_dsi_handle_t * hdsi )
hal_status_t HAL_DSI_DisableLooselyPacked ( hal_dsi_handle_t * hdsi )
hal_dsi_loosely_packed_status_t HAL_DSI_IsEnabledLoosleyPacked ( const hal_dsi_handle_t * hdsi )
hal_status_t HAL_DSI_EnableFrameBusAcknowledge ( hal_dsi_handle_t * hdsi )
hal_status_t HAL_DSI_DisableFrameBusAcknowledge ( hal_dsi_handle_t * hdsi )
hal_dsi_fbtaa_status_t HAL_DSI_IsEnabledFrameBusAcknowledge ( const hal_dsi_handle_t * hdsi )
hal_status_t HAL_DSI_SetConfigTearingEffect ( hal_dsi_handle_t * hdsi , const hal_dsi_tearing_effect_config_t * p_tearing_effect_config_t )
void HAL_DSI_GetConfigTearingEffect ( const hal_dsi_handle_t * hdsi , hal_dsi_tearing_effect_config_t * p_tearing_effect_config_t )
hal_status_t HAL_DSI_EnableAutomaticRefresh ( hal_dsi_handle_t * hdsi )
hal_status_t HAL_DSI_DisableAutomaticRefresh ( hal_dsi_handle_t * hdsi )
hal_dsi_auto_refresh_status_t HAL_DSI_IsEnabledAutomaticRefresh ( const hal_dsi_handle_t * hdsi )
hal_status_t HAL_DSI_EnableAcknowledge ( hal_dsi_handle_t * hdsi )
hal_status_t HAL_DSI_DisableAcknowledge ( hal_dsi_handle_t * hdsi )
hal_dsi_acknowledge_status_t HAL_DSI_IsEnabledAcknowledge ( const hal_dsi_handle_t * hdsi )
hal_status_t HAL_DSI_SetColorMode ( hal_dsi_handle_t * hdsi , hal_dsi_color_mode_t color_mode )
hal_dsi_color_mode_t HAL_DSI_GetColorMode ( const hal_dsi_handle_t * hdsi )
hal_status_t HAL_DSI_Shutdown ( hal_dsi_handle_t * hdsi , hal_dsi_display_t display )
hal_status_t HAL_DSI_ShortWrite ( hal_dsi_handle_t * hdsi , hal_dsi_virtual_channel_t channel_id , hal_dsi_short_write_packet_t mode , uint32_t first_param , uint32_t second_param )
hal_status_t HAL_DSI_LongWrite ( hal_dsi_handle_t * hdsi , hal_dsi_virtual_channel_t channel_id , hal_dsi_long_write_packet_t mode , uint32_t nbparams , uint32_t first_param , uint8_t * p_param_table )
hal_status_t HAL_DSI_Read ( hal_dsi_handle_t * hdsi , hal_dsi_virtual_channel_t channel_nbr , uint8_t * p_array , uint32_t size , hal_dsi_short_read_packet_t mode , uint32_t cmdDCS , uint8_t * p_parameters_table )
uint32_t HAL_DSI_GetClockFreq ( const hal_dsi_handle_t * hdsi )
uint32_t HAL_DSI_GetACKErrorSource ( hal_dsi_handle_t * hdsi )
hal_status_t HAL_DSI_EnterULPMData ( hal_dsi_handle_t * hdsi )
hal_status_t HAL_DSI_ExitULPMData ( hal_dsi_handle_t * hdsi )
hal_status_t HAL_DSI_EnterULPM ( hal_dsi_handle_t * hdsi )
hal_status_t HAL_DSI_ExitULPM ( hal_dsi_handle_t * hdsi )
hal_status_t HAL_DSI_EnableSwapLanePins ( hal_dsi_handle_t * hdsi , hal_dsi_swap_lane_t lane )
hal_status_t HAL_DSI_DisableSwapLanePins ( hal_dsi_handle_t * hdsi , hal_dsi_swap_lane_t lane )
hal_dsi_swap_lane_status_t HAL_DSI_IsEnabledSwapLanePins ( const hal_dsi_handle_t * hdsi , hal_dsi_swap_lane_t lane )
hal_status_t HAL_DSI_EnableForceTXStopMode ( hal_dsi_handle_t * hdsi , hal_dsi_force_lane_t lane )
hal_status_t HAL_DSI_DisableForceTXStopMode ( hal_dsi_handle_t * hdsi , hal_dsi_force_lane_t lane )
hal_dsi_force_lane_status_t HAL_DSI_IsEnabledForceTXStopMode ( const hal_dsi_handle_t * hdsi , hal_dsi_force_lane_t lane )

Peripheral State and Error functions

group DSI_Exported_Functions_Group5

Functions

hal_dsi_state_t HAL_DSI_GetState ( hal_dsi_handle_t * hdsi )