28 #ifndef EL_IR_RECEIVER_H
29 #define EL_IR_RECEIVER_H
121 #ifdef EL_INCLUDE_LIB_INTERNAL_CONTEXT
125 extern el_bool el_irrc_enabled;
126 extern el_uint8 el_irrc_phase;
127 extern el_mcd el_irrc_timer;
129 void el_init_ir_receiver();
130 void el_routine_ir_receiver_14400hz();
131 void el_irrc_inhibit(
int k);
void el_disable_ir_receiver()
disable the ir receiver
el_uint8 el_ir_receiver_get_check()
get the check bit in the message while 2 means no message
el_uint16 el_ir_receiver_get_counter()
get the number of messages received since initialization
void el_enable_ir_receiver()
enable the ir receiver
el_uint8 el_ir_receiver_get_address()
get the address field in the message
void el_ir_receiver_reset()
reset the ir receiver to prepare for any incoming message
el_uint8 el_ir_receiver_get_data()
get the data field in the message