Книга: Advanced PIC Microcontroller Projects in C
4.3 mikroC Library Functions
A large set of library functions is available with the mikroC compiler. These library functions can be called from anywhere in a program, and they do not require that header files are included in the program. The mikroC user manual gives a detailed description of each library function, with examples. In this section, the available library functions are identified, and the important and commonly used library functions are described in detail, with examples.
Table 4.2 gives a list of the mikroC library functions, organized in functional order.
Table 4.2: mikroC library functions
Library | Description |
---|---|
ADC | Analog-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 |
I?C | I?C bus functions |
Keypad | Keypad functions |
LCD | Standard LCD functions |
Manchester Code | Manchester code functions |
Multi Media | Multimedia functions |
One Wire | One wire functions |
PS/2 | PS/2 functions |
PWM | PWM functions |
RS-485 | RS-485 communication functions |
Sound | Sound functions |
SPI | SPI bus functions |
USART | USART serial communication functions |
Util | Utilities functions |
SPI Graphics LCD | SPI-based graphics LCD functions |
Port Expander | Port expander functions |
SPI LCD | SPI-based LCD functions |
ANSI C Ctype | C Ctype functions |
ANSI C Math | C Math functions |
ANSI C Stdlib | C Stdlib functions |
ANSI C String | C String functions |
Conversion | Conversion functions |
Trigonometry | Trigonometry functions |
Time | Time functions |
Some of the frequently used library functions are:
• EEPROM library
• LCD library
• Software UART library
• Hardware USART library
• Sound library
• ANSI C library
• Miscellaneous library
- CHAPTER 4 Functions and Libraries in mikroC
- 4.3.6 ANSI C Library
- Functions
- 4.3.2 LCD Library
- 7.2 mikroC Language SD Card Library Functions
- 8.6 mikroC Language USB Bus Library Functions
- 9.10 mikroC CAN Functions
- 4.3.7 Miscellaneous Library
- The Standard Library and the Vaults of Parnassus
- Basic Functions
- Using Functions in Shell Scripts
- 15.3.1. Shared Library Events in GDB