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.
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 ... |
Get Using LEDs, LCDs and GLCDs in Microcontroller Projects now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.