irda3 2.0.0.0
|
IrDA 3 click is an intelligent IR transceiver device that can both send and receive UART commands via the IR interface. IrDA 3 click features both the IR transceiver and the encoder/decoder IC, used to convert the UART data and send or receive it in IrDA® compatible format. IrDA 3 click also has an onboard clock generator for the fastest possible UART performance of 115,200 bps, so it does not need an additional clock signal to be generated by the MCU.
We provide a library for the IrDA3 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for IrDA3 Click driver.
irda3_cfg_setup
Config Object Initialization function. irda3_init
Initialization function. irda3_default_cfg
Click Default Configuration function. irda3_mode_setup
This function allows IrDA 3 click mode to be set. irda3_pwr_setup
This function allows IrDA 3 click power mode to be set. irda3_reset
This function executes a device reset operation. This example demonstrates the use of IrDA 3 click boards. The example can perform both roles, transmitter and receiver.
The demo application is composed of two sections :
Initializes UART driver and all used control pins. Also clears the response buffer.
Demonstrates the use of IrDA 3 clicks which can be used as transmitter or receiver. There are four different examples in this project.
Uncomment one of the below macros to select which example will be executed. By default the DEMO_APP_TRANSMITTER_1 example is selected.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.