hi_mpi_hdmi_open
Applicable Products
|
Product |
Supported |
|---|---|
|
|
☓ |
|
|
☓ |
|
|
☓ |
|
|
√ |
|
|
☓ |
|
|
☓ |
Function
Enables a specified HDMI.
Prototype
hi_s32 hi_mpi_hdmi_open(hi_hdmi_id hdmi)
Parameters
|
Parameter |
Input/Output |
Description |
|---|---|---|
|
hdmi |
Input |
HDMI ID. Value range: [0, 2) |
Returns
- 0: success
- Other values: failure. For details, see HDMI Peripheral Return Codes.
Restrictions
- Before calling hi_mpi_hdmi_open, you must call hi_mpi_hdmi_init.
- Repeated HDMI enablement returns a success message.
- Currently, this API does not support multiple processes.
- This API must be called in pair with hi_mpi_hdmi_close. Specifically, after hi_mpi_hdmi_open is called, call hi_mpi_hdmi_close to exit. Ensure the values of hi_hdmi_id in the input parameters of the two APIs must be the same.
Parent topic: HDMI Peripherals