Google is committed to advancing racial equity for Black communities. See how.

consumerir_device Struct Reference

consumerir_device Struct Reference

#include < consumerir.h >

Data Fields

struct hw_device_t   common
 
int(*  transmit )(struct consumerir_device *dev, int carrier_freq, const int pattern[], int pattern_len)
 
int(*  get_num_carrier_freqs )(struct consumerir_device *dev)
 
int(*  get_carrier_freqs )(struct consumerir_device *dev, size_t len, consumerir_freq_range_t *ranges)
 
void *  reserved [8-3]
 

Detailed Description

Definition at line 44 of file consumerir.h .

Field Documentation

struct hw_device_t common

Common methods of the consumer IR device. This must be the first member of consumerir_device as users of this structure will cast a hw_device_t to consumerir_device pointer in contexts where it's known the hw_device_t references a consumerir_device .

Definition at line 51 of file consumerir.h .

int(* get_carrier_freqs)(struct consumerir_device *dev, size_t len, consumerir_freq_range_t *ranges)

Definition at line 85 of file consumerir.h .

int(* get_num_carrier_freqs)(struct consumerir_device *dev)

Definition at line 75 of file consumerir.h .

void* reserved[8-3]

Definition at line 89 of file consumerir.h .

int(* transmit)(struct consumerir_device *dev, int carrier_freq, const int pattern[], int pattern_len)

Definition at line 65 of file consumerir.h .


The documentation for this struct was generated from the following file: