Riferimento alla struttura hdmi_cec_device
  
   #include <
   
    hdmi_cec.h
   
   >
  
 
| Campi dati | |
| struct hw_device_t | comuni | 
| 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 * | riservato [16-11] | 
Descrizione dettagliata
Definizione nella riga 299 del file hdmi_cec.h .
Documentazione dei campi
| int(* add_logical_address)(const struct hdmi_cec_device *dev, cec_logical_address_t addr) | 
Definizione alla riga 319 del file hdmi_cec.h .
| void(* clear_logical_address)(const struct hdmi_cec_device *dev) | 
Definizione nella riga 328 del file hdmi_cec.h .
| struct hw_device_t common | 
Metodi comuni del dispositivo HDMI CEC. Questo deve essere il primo membro di hdmi_cec_device poiché gli utenti di questa struttura eseguiranno il casting di un hw_device_t a un puntatore hdmi_cec_device in contesti in cui è noto che hw_device_t fa riferimento a un hdmi_cec_device .
Definizione nella riga 305 del file hdmi_cec.h .
| int(* get_physical_address)(const struct hdmi_cec_device *dev, uint16_t *addr) | 
Definizione nella riga 341 del file hdmi_cec.h .
| void(* get_port_info)(const struct hdmi_cec_device *dev, struct hdmi_port_info *list[], int *total) | 
Definizione nella riga 385 del file hdmi_cec.h .
| void(* get_vendor_id)(const struct hdmi_cec_device *dev, uint32_t *vendor_id) | 
Definizione nella riga 378 del file hdmi_cec.h .
| void(* get_version)(const struct hdmi_cec_device *dev, int *version) | 
Definizione nella riga 371 del file hdmi_cec.h .
| int(* is_connected)(const struct hdmi_cec_device *dev, int port_id) | 
Definizione nella riga 409 del file hdmi_cec.h .
| void(* register_event_callback)(const struct hdmi_cec_device *dev, event_callback_t callback, void *arg) | 
Definizione nella riga 365 del file hdmi_cec.h .
| void* reserved[16-11] | 
Definizione alla riga 412 del file hdmi_cec.h .
| int(* send_message)(const struct hdmi_cec_device *dev, const cec_message_t *) | 
Definizione alla riga 356 del file hdmi_cec.h .
| void(* set_audio_return_channel)(const struct hdmi_cec_device *dev, int port_id, int flag) | 
Definizione nella riga 402 del file hdmi_cec.h .
| void(* set_option)(const struct hdmi_cec_device *dev, int flag, int value) | 
Definizione nella riga 393 del file hdmi_cec.h .
La documentazione di questa struttura è stata generata dal seguente file:
- hardware/libhardware/include/hardware/ hdmi_cec.h
