AIROC™ BTSDK v4.6 - Documentation | ||||
The 20732 family includes an IRTX Hw block. More...
Data Fields | |
UINT32 | modulateFreq |
UINT8 | clockSrcFreq |
UINT8 | clockSrc |
BOOL8 | invertOutput |
The 20732 family includes an IRTX Hw block.
The IrTx HW can be used to transmit IR Data. This Class defines an IrTx driver that can be used by applications such as a Remote Controller app or other related applications to transmit IR commands to the Host.
To use the IRTX driver:
(1) Configure the IrTx Port and Pin to be used
example: BYTE port = 0; BYTE pin = 4; irTxDriver->setIrTxPortPin(port, pin);
(3) Transmit an IR Command using the senData function
example: irTxDriver->sendData(testCmdArray , pktLen, irtxClockSet);
Please refer to function description for more details.Internal clock references for the IR driver.