Referencia de la estructura hdmi_cec_device
  
   #include <
   
    hdmi_cec.h
   
   >
  
 
    Campos de datos | 
  |
| struct hw_device_t | común | 
| int(* | add_logical_address )(const struct hdmi_cec_device *dev, cec_logical_address_t addr) | 
| void(* | clear_logical_address )(const struct hdmi_cec_device *dev) | 
| int(* | get_physical_address )(const struct hdmi_cec_device *dev, uint16_t *addr) | 
| int(* | send_message )(const struct hdmi_cec_device *dev, const cec_message_t *) | 
| void(* | register_event_callback )(const struct hdmi_cec_device *dev, event_callback_t callback, void *arg) | 
| void(* | get_version )(const struct hdmi_cec_device *dev, int *version) | 
| void(* | get_vendor_id )(const struct hdmi_cec_device *dev, uint32_t *vendor_id) | 
| void(* | get_port_info )(const struct hdmi_cec_device *dev, struct hdmi_port_info *list[], int *total) | 
| void(* | set_option )(const struct hdmi_cec_device *dev, int flag, int value) | 
| void(* | set_audio_return_channel )(const struct hdmi_cec_device *dev, int port_id, int flag) | 
| int(* | is_connected )(const struct hdmi_cec_device *dev, int port_id) | 
| void * | reservado [16-11] | 
Descripción detallada
Definición en la línea 299 del archivo hdmi_cec.h .
Documentación de campos
| int(* add_logical_address)(const struct hdmi_cec_device *dev, cec_logical_address_t addr) | 
Definición en la línea 319 del archivo hdmi_cec.h .
| void(* clear_logical_address)(const struct hdmi_cec_device *dev) | 
Definición en la línea 328 del archivo hdmi_cec.h .
| struct hw_device_t común | 
Son métodos comunes del dispositivo HDMI CEC. Este debe ser el primer miembro de hdmi_cec_device , ya que los usuarios de esta estructura transmitirán un hw_device_t al puntero hdmi_cec_device en contextos en los que se sabe que hw_device_t hace referencia a un hdmi_cec_device .
Definición en la línea 305 del archivo hdmi_cec.h .
| int(* get_physical_address)(const struct hdmi_cec_device *dev, uint16_t *addr) | 
Definición en la línea 341 del archivo hdmi_cec.h .
| void(* get_port_info)(const struct hdmi_cec_device *dev, struct hdmi_port_info *list[], int *total) | 
Definición en la línea 385 del archivo hdmi_cec.h .
| void(* get_vendor_id)(const struct hdmi_cec_device *dev, uint32_t *vendor_id) | 
Definición en la línea 378 del archivo hdmi_cec.h .
| void(* get_version)(const struct hdmi_cec_device *dev, int *version) | 
Definición en la línea 371 del archivo hdmi_cec.h.
| int(* is_connected)(const struct hdmi_cec_device *dev, int port_id) | 
Definición en la línea 409 del archivo hdmi_cec.h .
| void(* register_event_callback)(const struct hdmi_cec_device *dev, event_callback_t callback, void *arg) | 
Definición en la línea 365 del archivo hdmi_cec.h .
| void* reservado[16-11] | 
Definición en la línea 412 del archivo hdmi_cec.h .
| int(* send_message)(const struct hdmi_cec_device *dev, const cec_message_t *) | 
Definición en la línea 356 del archivo hdmi_cec.h.
| void(* set_audio_return_channel)(const struct hdmi_cec_device *dev, int port_id, int flag) | 
Definición en la línea 402 del archivo hdmi_cec.h .
| void(* set_option)(const struct hdmi_cec_device *dev, int flag, int value) | 
Definición en la línea 393 del archivo hdmi_cec.h.
La documentación de esta struct se generó a partir del siguiente archivo:
- hardware/libhardware/include/hardware/ hdmi_cec.h