hi_mpi_hdmi_close
Applicable Products
|
Product |
Supported |
|---|---|
|
|
☓ |
|
|
☓ |
|
|
☓ |
|
|
√ |
|
|
☓ |
|
|
☓ |
Function
Disables a specified HDMI.
Prototype
hi_s32 hi_mpi_hdmi_close(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_close, you must call hi_mpi_hdmi_open. Ensure that the hi_hdmi_id values in the input parameters of the two APIs are the same.
- Currently, this API does not support multiple processes.
- This API must be called in pair with hi_mpi_hdmi_open. Specifically, hi_mpi_hdmi_close can be called only after hi_mpi_hdmi_open is called, and the number of calls to the two APIs must be the same.
Parent topic: HDMI Peripherals