Xmega Application Note


IR_driver.c

Go to the documentation of this file.
00001 /* This file has been prepared for Doxygen automatic documentation generation.*/
00067 #include "IR_driver.h"
00068 
00069 
00070 
00082 void IRCOM_TXSetPulseLength(uint8_t transmitterPulseLength)
00083 {
00084         IRCOM_TXPLCTRL = transmitterPulseLength;
00085 }
00086 
00087 
00088 
00100 void IRCOM_RXSetPulseLength(uint8_t receiverPulseLength)
00101 {
00102         IRCOM_RXPLCTRL = receiverPulseLength;
00103 }
00104 
00105 
00106 
00117 void IRCOM_EventChannelSelect(IRDA_EVSEL_t EventChannelSelect)
00118 {
00119         IRCOM_CTRL = (IRCOM_CTRL & (~IRCOM_EVSEL_gm)) | EventChannelSelect;
00120 }
00121 
00122 
00123 
00124 
@DOC_TITLE@
Generated on Tue Apr 22 15:16:31 2008 for AVR1303 Use and configuration of IR communication module by doxygen 1.5.5