Dokumentacja struktury hdmi_cec_device

Dokumentacja struktury hdmi_cec_device

#include < hdmi_cec.h >

Pola danych

struct hw_device_t   powszechny
 
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]
 

Szczegółowy opis

Definicja w wierszu 299 pliku hdmi_cec.h .

Dokumentacja pól

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

Definicja w wierszu 319 pliku hdmi_cec.h .

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

Definicja w wierszu 328 pliku hdmi_cec.h .

struct hw_device_t common

Typowe metody urządzenia HDMI CEC. Ten element musi być pierwszym elementem hdmi_cec_device , ponieważ użytkownicy tej struktury będą rzutować hw_device_t na wskaźnik hdmi_cec_device w kontekstach, w których wiadomo, że hw_device_t odwołuje się do hdmi_cec_device .

Definicja w wierszu 305 pliku hdmi_cec.h .

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

Definicja w wierszu 341 pliku hdmi_cec.h .

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

Definicja w wierszu 385 pliku hdmi_cec.h .

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

Definicja w wierszu 378 pliku hdmi_cec.h .

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

Definicja w wierszu 371 pliku hdmi_cec.h .

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

Definicja w wierszu 409 w pliku hdmi_cec.h .

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

Definicja w wierszu 365 pliku hdmi_cec.h .

void* reserved[16-11]

Definicja w wierszu 412 pliku hdmi_cec.h .

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

Definicja w wierszu 356 pliku hdmi_cec.h .

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

Definicja w wierszu 402 w pliku hdmi_cec.h .

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

Definicja w wierszu 393 pliku hdmi_cec.h .


Dokumentacja tej struktury została wygenerowana z tego pliku: