3.5 mikroC Pro for PIC Libraries
One of the strong points of mikroC Pro for PIC compiler is that it provides a very rich set of library functions. These functions can be called from user programs without having to use header files. Some of the libraries are hardware specific, such as the USART library, CAN library, PS/2 library, and so on. Some libraries provide ANSI C functions, such as string handling, mathematical functions, and so on. Some libraries provide general purpose functions, such as string conversion, trigonometric functions, time functions, and so on.
Table 3.9 gives a list of the mikroC Pro for PIC libraries. Each library contains a set of functions, and some libraries contain additional libraries. In this section, we shall be looking at the ANSI C library and the Miscellaneous library, which are one of the commonly used libraries. The display libraries (LCD, GLCD, etc.) will be covered in detail in later chapters of this book. Further information can be obtained from the mikroC Pro for PIC manual.
Table 3.9 mikroC Pro for PIC libraries.
| Library | Description |
| ADC | Analogue to digital conversion functions |
| CAN | CAN Bus functions |
| CANSPI | SPI based CAN Bus functions |
| Compact Flash | Compact Flash memory functions |
| EEPROM | EEPROM memory read/write functions |
| Ethernet | Ethernet functions |
| SPI Ethernet | SPI based Ethernet functions |
| Flash Memory | Flash Memory functions |
| Graphics LCD | Standard Graphics LCD functions |
| T6963C Graphics LCD | T6963 based Graphics LCD functions ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access