CodeVisionAVR C 库函数介绍 - 刘汧1CodeVisionAVR C Library Functions ReferenceCodeVisionAVR C 库函数介绍译自 CodeVisionAVR C Compiler Help目录:1. Character Type Functions - 字符类型函数2. Standard C Input/Output Functions - 标准输入输出函数3. Standard Library Functions - 标准库和内存分配函数4. Mathematical Functions - 数学函数5. String Functions - 字符串函数6. BCD Conversion Functions - BCD 转换函数7. Memory Access Functions - 存储器访问函数8. Delay Functions - 延时函数9. LCD Functions - LCD 函数10. LCD Functions for displays with 4x40 characters - 4×40 字符型 LCD 函数11. LCD Functions for displays connected in 8 bit memory mapped mode -以 8 位外部存储器模式接口的 LCD 显示函数12. I2C Bus Functions - I2C 总线函数13. National Semiconductor LM75 Temperature Sensor Functions - LM75 温度传感器函数14. Dallas Semiconductor DS1621 Thermometer/Thermostat Functions - DS1621 温度计函数15. Philips PCF8563 Real Time Clock Functions - PCF8563 实时时钟函数16. Philips PCF8583 Real Time Clock Functions - PCF8583 实时时钟函数17. Dallas Semiconductor DS1302 Real Time Clock Functions - DS1302 实时时钟函数18. Dallas Semiconductor DS1307 Real Time Clock Functions - DS1307 实时时钟函数19. 1 Wire Protocol Functions - 单线通讯协议函数20. Dallas Semiconductor DS1820/DS1822 Temperature Sensors Functions - DS1820/1822温度传感器函数21. SPI Functions - SPI 函数22. Power Management Functions - 电源管理函数23. Gray Code Conversion Functions - 格雷码转换函数CodeVisionAVR C 库函数介绍 - 刘汧2前言:如果你要使用库函数,就必须用 #include 包含相应的头文件。例子:/* 使用库函数前要先包含头文件 */#include // 有 abs 函数#include // 有 putsf 函数void main(void) {int a,b;a=-99;/* 使用库函数 */b=abs(a);putsf("Hello world");}1. Character Type Functions - 字符类...