Книга: 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

Оглавление книги


Генерация: 4.497. Запросов К БД/Cache: 3 / 0
поделиться
Вверх Вниз