IR SIRC driver. More...
Typedefs | |
typedef void(* | drv_ir_callback_t )(const sr3_ir_symbol_t *p_ir_symbol) |
Callback type. | |
Functions | |
ret_code_t | drv_ir_disable (void) |
Disable the IR blaster. More... | |
ret_code_t | drv_ir_enable (void) |
Enable the IR blaster. More... | |
ret_code_t | drv_ir_init (drv_ir_callback_t m_acknowledge_handler) |
IR blaster initialization. More... | |
ret_code_t | drv_ir_send_symbol (const sr3_ir_symbol_t *p_ir_symbol) |
Send an IR symbol. More... | |
IR SIRC driver.
ret_code_t drv_ir_disable | ( | void | ) |
Disable the IR blaster.
ret_code_t drv_ir_enable | ( | void | ) |
Enable the IR blaster.
ret_code_t drv_ir_init | ( | drv_ir_callback_t | m_acknowledge_handler | ) |
IR blaster initialization.
[in] | m_acknowledge_handler | Callback used to report a start and end of IR symbol generation. |
ret_code_t drv_ir_send_symbol | ( | const sr3_ir_symbol_t * | p_ir_symbol | ) |
Send an IR symbol.
[in] | p_ir_symbol | Pointer to an IR symbol to start or NULL to stop. |