Download CodeVisionAVR User Manual - Sigma
Transcript
CodeVisionAVR 4.9 Gray Code Conversion Functions ............................................................................................ 153 4.10 Memory Access Macros ......................................................................................................... 154 4.11 LCD Functions ........................................................................................................................ 155 4.11.1 LCD Functions for displays with up to 2x40 characters ................................................. 155 4.11.2 LCD Functions for displays with 4x40 characters .......................................................... 158 4.11.3 LCD Functions for displays connected in 8 bit memory mapped mode ......................... 160 4.12 I2C Bus Functions ................................................................................................................... 162 4.12.1 National Semiconductor LM75 Temperature Sensor Functions .................................... 164 4.12.2 Maxim/Dallas Semiconductor DS1621 Thermometer/ Thermostat Functions ............... 167 4.12.3 Philips PCF8563 Real Time Clock Functions................................................................. 170 4.12.4 Philips PCF8583 Real Time Clock Functions................................................................. 173 4.12.5 Maxim/Dallas Semiconductor DS1307 Real Time Clock Functions............................... 176 4.13 Maxim/Dallas Semiconductor DS1302 Real Time Clock Functions....................................... 178 4.14 1 Wire Protocol Functions ...................................................................................................... 180 4.14.1 Maxim/Dallas Semiconductor DS1820/DS18S20 Temperature Sensors Functions...... 182 4.14.2 Maxim/Dallas Semiconductor DS18B20 Temperature Sensor Functions...................... 186 4.14.3 Maxim/Dallas Semiconductor DS2430 EEPROM Functions.......................................... 189 4.14.4 Maxim/Dallas Semiconductor DS2433 EEPROM Functions.......................................... 192 4.15 SPI Functions ......................................................................................................................... 195 4.16 Power Management Functions............................................................................................... 199 4.17 Delay Functions...................................................................................................................... 200 5. CodeWizardAVR Automatic Program Generator ....................................................................... 201 5.1 Setting the AVR Chip Options .................................................................................................. 204 5.2 Setting the External SRAM....................................................................................................... 206 5.3 Setting the Input/Output Ports .................................................................................................. 208 5.4 Setting the External Interrupts .................................................................................................. 209 5.5 Setting the Timers/Counters..................................................................................................... 211 5.6 Setting the UART or USART .................................................................................................... 217 © 1998-2009 HP InfoTech S.R.L. Page 6