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 This must be the first member of hdmi_cec_device as users of this structure will cast a hw_device_t to hdmi_cec_device pointer in contexts where it's known the hw_device_t references a 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 *)

คำจำกัดความที่บรรทัด 356 ของไฟล์ 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


เอกสารประกอบสำหรับโครงสร้างนี้สร้างขึ้นจากไฟล์ต่อไปนี้