Functions | |
| cy_en_mipidsi_status_t | Cy_MIPIDSI_Init (GFXSS_MIPIDSI_Type *base, cy_stc_mipidsi_config_t const *config, cy_stc_mipidsi_context_t *context) |
| Initializes MIPI DSI IP Block. | |
| void | Cy_MIPIDSI_Enable (GFXSS_MIPIDSI_Type *base) |
| Enables MIPI DSI IP Block. | |
| void | Cy_MIPIDSI_Disable (GFXSS_MIPIDSI_Type *base) |
| Disable MIPI DSI IP Block. | |
| void | Cy_MIPIDSI_DeInit (GFXSS_MIPIDSI_Type *base) |
| DeInitializes MIPI DSI IP Block resources. | |
| void | Cy_MIPIDSI_SetInterruptMask (GFXSS_MIPIDSI_Type *base, uint32_t interrupt_mask) |
| Set interrupt mask for MIPI DSI Block. | |
| uint32_t | Cy_MIPIDSI_GetInterruptMask (GFXSS_MIPIDSI_Type const *base) |
| Get MIPI DSI Block interrupt mask. | |
| uint32_t | Cy_MIPIDSI_GetInterruptStatusMasked (GFXSS_MIPIDSI_Type const *base) |
| Get interrupt status. | |
| cy_en_mipidsi_status_t | Cy_MIPIDSI_WritePacket (GFXSS_MIPIDSI_Type *base, const uint8_t *buf, uint32_t length) |
| Writes DCS packet on DSI interface. | |
| cy_en_mipidsi_status_t | Cy_MIPIDSI_GenericWritePacket (GFXSS_MIPIDSI_Type *base, const uint8_t *buf, uint32_t length) |
| Writes Generic packet on DSI interface. | |
| cy_en_mipidsi_status_t | Cy_MIPIDSI_ReadPacket (GFXSS_MIPIDSI_Type *base, cy_en_mipidsi_packet_type_t packet_type, uint32_t *buf, uint32_t length) |
| Read packet from DSI. | |
| cy_en_mipidsi_status_t | Cy_MIPIDSI_EnterSleep (GFXSS_MIPIDSI_Type *base) |
| Sends MIPI DSI DCS Command MIPI_DCS_ENTER_SLEEP_MODE. | |
| cy_en_mipidsi_status_t | Cy_MIPIDSI_ExitSleep (GFXSS_MIPIDSI_Type *base) |
| Sends MIPI DSI DCS Command MIPI_DCS_EXIT_SLEEP_MODE. | |
| cy_en_mipidsi_status_t | Cy_MIPIDSI_SoftReset (GFXSS_MIPIDSI_Type *base) |
| Sends MIPI DSI DCS Command MIPI_DCS_SOFT_RESET. | |
| cy_en_mipidsi_status_t | Cy_MIPIDSI_DisplayON (GFXSS_MIPIDSI_Type *base) |
| Sends MIPI DSI DCS Command MIPI_DCS_SET_DISPLAY_ON. | |
| cy_en_mipidsi_status_t | Cy_MIPIDSI_DisplayOFF (GFXSS_MIPIDSI_Type *base) |
| Sends MIPI DSI DCS Command MIPI_DCS_SET_DISPLAY_OFF. | |
| cy_en_mipidsi_status_t | Cy_MIPIDSI_EnterULPM (GFXSS_MIPIDSI_Type *base) |
| Enter Ultra Low Power Mode for both clock and data lines. | |
| cy_en_mipidsi_status_t | Cy_MIPIDSI_ExitULPM (GFXSS_MIPIDSI_Type *base) |
| Exit Ultra Low Power Mode for both clock and data lines. | |
| cy_en_mipidsi_status_t | Cy_MIPIDSI_EnterULPM_Data (GFXSS_MIPIDSI_Type *base) |
| Enter Ultra Low Power Mode for data lines. | |
| cy_en_mipidsi_status_t | Cy_MIPIDSI_ExitULPM_Data (GFXSS_MIPIDSI_Type *base) |
| Exit Ultra Low Power Mode for data lines. | |
| cy_en_mipidsi_status_t | Cy_MIPIDSI_CMD_MODE_DCS_SetLowPower (GFXSS_MIPIDSI_Type *base, bool enable) |
| Enable Low Power transfer of DCS packets for CMD mode displays. | |
| cy_en_mipidsi_status_t Cy_MIPIDSI_Init | ( | GFXSS_MIPIDSI_Type * | base, |
| cy_stc_mipidsi_config_t const * | config, | ||
| cy_stc_mipidsi_context_t * | context | ||
| ) |
Initializes MIPI DSI IP Block.
| base | Pointer to the MIPI DSI register base address. |
| config | Pointer to the configuration structure. |
| context | context information used by the driver. |
| void Cy_MIPIDSI_Enable | ( | GFXSS_MIPIDSI_Type * | base | ) |
Enables MIPI DSI IP Block.
| base | Pointer to the MIPI DSI register base address. |
| void Cy_MIPIDSI_Disable | ( | GFXSS_MIPIDSI_Type * | base | ) |
Disable MIPI DSI IP Block.
| base | Pointer to the MIPI DSI register base address. |
| void Cy_MIPIDSI_DeInit | ( | GFXSS_MIPIDSI_Type * | base | ) |
DeInitializes MIPI DSI IP Block resources.
| base | Pointer to the MIPI DSI register base address. |
| void Cy_MIPIDSI_SetInterruptMask | ( | GFXSS_MIPIDSI_Type * | base, |
| uint32_t | interrupt_mask | ||
| ) |
Set interrupt mask for MIPI DSI Block.
| base | Pointer to the MIPI DSI register base address. |
| interrupt_mask | interrupt mask containing the list of interrupts to be notified. |
See Interrupt Mask Macros for the set of constants.
| uint32_t Cy_MIPIDSI_GetInterruptMask | ( | GFXSS_MIPIDSI_Type const * | base | ) |
Get MIPI DSI Block interrupt mask.
| base | Pointer to the MIPI DSI register base address. |
See Interrupt Mask Macros for the set of constants.
| uint32_t Cy_MIPIDSI_GetInterruptStatusMasked | ( | GFXSS_MIPIDSI_Type const * | base | ) |
Get interrupt status.
| base | Pointer to the MIPI DSI register base address. |
See Interrupt Mask Macros for the set of constants.
| cy_en_mipidsi_status_t Cy_MIPIDSI_WritePacket | ( | GFXSS_MIPIDSI_Type * | base, |
| const uint8_t * | buf, | ||
| uint32_t | length | ||
| ) |
Writes DCS packet on DSI interface.
| base | Pointer to the MIPI DSI register base address. |
| buf | buffer containing the packet. |
| length | length of the packet. |
| cy_en_mipidsi_status_t Cy_MIPIDSI_GenericWritePacket | ( | GFXSS_MIPIDSI_Type * | base, |
| const uint8_t * | buf, | ||
| uint32_t | length | ||
| ) |
Writes Generic packet on DSI interface.
| base | Pointer to the MIPI DSI register base address. |
| buf | buffer containing the packet. |
| length | length of the packet. |
| cy_en_mipidsi_status_t Cy_MIPIDSI_ReadPacket | ( | GFXSS_MIPIDSI_Type * | base, |
| cy_en_mipidsi_packet_type_t | packet_type, | ||
| uint32_t * | buf, | ||
| uint32_t | length | ||
| ) |
Read packet from DSI.
| base | Pointer to the MIPI DSI register base address. |
| packet_type | Packet type either short or long packet. |
| buf | pointer to the output buffer read from the interface. |
| length | length of the packet. |
| cy_en_mipidsi_status_t Cy_MIPIDSI_EnterSleep | ( | GFXSS_MIPIDSI_Type * | base | ) |
Sends MIPI DSI DCS Command MIPI_DCS_ENTER_SLEEP_MODE.
| base | Pointer to the MIPI DSI register base address. |
| cy_en_mipidsi_status_t Cy_MIPIDSI_ExitSleep | ( | GFXSS_MIPIDSI_Type * | base | ) |
Sends MIPI DSI DCS Command MIPI_DCS_EXIT_SLEEP_MODE.
| base | Pointer to the MIPI DSI register base address. |
| cy_en_mipidsi_status_t Cy_MIPIDSI_SoftReset | ( | GFXSS_MIPIDSI_Type * | base | ) |
Sends MIPI DSI DCS Command MIPI_DCS_SOFT_RESET.
| base | Pointer to the MIPI DSI register base address. |
| cy_en_mipidsi_status_t Cy_MIPIDSI_DisplayON | ( | GFXSS_MIPIDSI_Type * | base | ) |
Sends MIPI DSI DCS Command MIPI_DCS_SET_DISPLAY_ON.
| base | Pointer to the MIPI DSI register base address. |
| cy_en_mipidsi_status_t Cy_MIPIDSI_DisplayOFF | ( | GFXSS_MIPIDSI_Type * | base | ) |
Sends MIPI DSI DCS Command MIPI_DCS_SET_DISPLAY_OFF.
| base | Pointer to the MIPI DSI register base address. |
| cy_en_mipidsi_status_t Cy_MIPIDSI_EnterULPM | ( | GFXSS_MIPIDSI_Type * | base | ) |
Enter Ultra Low Power Mode for both clock and data lines.
| base | Pointer to the MIPI DSI register base address. |
| cy_en_mipidsi_status_t Cy_MIPIDSI_ExitULPM | ( | GFXSS_MIPIDSI_Type * | base | ) |
Exit Ultra Low Power Mode for both clock and data lines.
| base | Pointer to the MIPI DSI register base address. |
| cy_en_mipidsi_status_t Cy_MIPIDSI_EnterULPM_Data | ( | GFXSS_MIPIDSI_Type * | base | ) |
Enter Ultra Low Power Mode for data lines.
| base | Pointer to the MIPI DSI register base address. |
| cy_en_mipidsi_status_t Cy_MIPIDSI_ExitULPM_Data | ( | GFXSS_MIPIDSI_Type * | base | ) |
Exit Ultra Low Power Mode for data lines.
| base | Pointer to the MIPI DSI register base address. |
| cy_en_mipidsi_status_t Cy_MIPIDSI_CMD_MODE_DCS_SetLowPower | ( | GFXSS_MIPIDSI_Type * | base, |
| bool | enable | ||
| ) |
Enable Low Power transfer of DCS packets for CMD mode displays.
| base | Pointer to the MIPI DSI register base address. |
| enable | Enable/Disable Low Power transfer of DCS packets for CMD mode displays. |