User manual

Table Of Contents
590
mikoC PRO for PIC32
MikroElektronika
UART Library
The UART hardware module is available with a number of PIC32 MCUs. The mikroC PRO for PIC32 UART Library
provides comfortable work with the Asynchronous (full duplex) mode.
Important:
- UART library routines require you to specify the module you want to use. To select the desired UART module, simply
change the letter x in the routine prototype for a number from 1 to 6.
- Number of UART modules per MCU differs from chip to chip. Please, read the appropriate datasheet before utilizing
this library.
- Switching between the UART modules in the UART library is done by the UART_Set_Active function (UART modules
have to be previously initialized).
Library Routines
- UARTx_Init
- UARTx_Init_Advanced
- UARTx_Data_Ready
- UARTx_Tx_Idle
- UARTx_Read
- UARTx_Read_Text
- UARTx_Write
- UARTx_Write_Text
- UART_Set_Active