hdmi_cec_device Struct Reference

hdmi_cec_device Struct Reference

#include < hdmi_cec.h >

حقول البيانات

struct hw_device_t   common
 
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 *  reserved [16-11]
 

الوصف التفصيلي

تعريف في السطر 299 من الملف hdmi_cec.h .

مستندات الحقول

int(* add_logical_address)(const struct hdmi_cec_device *dev, cec_logical_address_t addr)

تم تحديدها في السطر 319 من الملف hdmi_cec.h .

void(* clear_logical_address)(const struct hdmi_cec_device *dev)

تعريف في السطر 328 من الملف hdmi_cec.h .

struct hw_device_t common

الطُرق الشائعة لجهاز HDMI CEC يجب أن يكون هذا العضو الأول من hdmi_cec_device لأنّ مستخدمي هذا البنية سيحوّلون hw_device_t إلى hdmi_cec_device في السياقات التي يكون فيها معروفًا أنّ hw_device_t يشير إلى hdmi_cec_device .

تعريف في السطر 305 من الملف hdmi_cec.h .

int(* get_physical_address)(const struct hdmi_cec_device *dev, uint16_t *addr)

التعريف في السطر 341 من الملف hdmi_cec.h .

void(* get_port_info)(const struct hdmi_cec_device *dev, struct hdmi_port_info *list[], int *total)

تعريف في السطر 385 من الملف hdmi_cec.h .

void(* get_vendor_id)(const struct hdmi_cec_device *dev, uint32_t *vendor_id)

التعريف في السطر 378 من الملف hdmi_cec.h .

void(* get_version)(const struct hdmi_cec_device *dev, int *version)

التعريف في السطر 371 من الملف hdmi_cec.h .

int(* is_connected)(const struct hdmi_cec_device *dev, int port_id)

يمكنك الاطّلاع على التعريف في السطر 409 من الملف hdmi_cec.h .

void(* register_event_callback)(const struct hdmi_cec_device *dev, event_callback_t callback, void *arg)

تعريف في السطر 365 من الملف hdmi_cec.h .

void* reserved[16-11]

تعريف في السطر 412 من الملف hdmi_cec.h .

int(* send_message)(const struct hdmi_cec_device *dev, const cec_message_t *)

Definition at line 356 of file hdmi_cec.h .

void(* set_audio_return_channel)(const struct hdmi_cec_device *dev, int port_id, int flag)

التعريف في السطر 402 من الملف hdmi_cec.h .

void(* set_option)(const struct hdmi_cec_device *dev, int flag, int value)

التعريف في السطر 393 من الملف hdmi_cec.h .


تم إنشاء مستندات هذا النوع من الملف التالي: