| Datenblatt-Suchmaschine für elektronische Bauteile |
|
ATmega16HVB Datenblatt(PDF) 20 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
ATmega16HVB Datenblatt(HTML) 20 Page - ATMEL Corporation |
|
20 / 273 page ![]() 20 8042A–AVR–07/09 ATmega16HVB/32HVB the I/O addresses 0x00 - 0x3F must be used. When addressing I/O Registers as data space using LD and ST instr u ction s , 0x2 0 must be adde d to t h e s e ad dre s ses. The ATmega16HVB/32HVB is a complex microcontroller with more peripheral units than can be sup- ported within the 64 location reserved in Opcode for the IN and OUT instructions. For the Extended I/O space from 0x60 - 0xFF in SRAM, only the ST/STS/STD and LD/LDS/LDD instruc- tions can be used. For compatibility with future devices, reserved bits should be written to zero if accessed. Reserved I/O memory addresses should never be written. Some of the status flags are cleared by writing a logical one to them. Note that the CBI and SBI instructions will only operate on the specified bit, and can therefore be used on registers contain- ing such status flags. The CBI and SBI instructions work with registers 0x00 to 0x1F only. The I/O and peripherals control registers are explained in later sections. 8.5.1 General Purpose I/O Registers The ATmega16HVB/32HVB contains three General Purpose I/O Registers. These registers can be used for storing any information, and they are particularly useful for storing global variables and Status Flags. General Purpose I/O Registers within the address range 0x00 - 0x1F are directly bit-accessible using the SBI, CBI, SBIS, and SBIC instructions. 8.6 Register Description 8.6.1 EEARH and EEARL– The EEPROM Address Register High and Low • Bits 15:10 – Res: Reserved Bits These bits are reserved bits in the ATmega16HVB/32HVB and will always read as zero. • Bits 9:0 – EEAR9:0: EEPROM Address The EEPROM Address Registers – EEAR specify the EEPROM address in the 512/1K bytes EEPROM space. The EEPROM data bytes are addressed linearly between 0 and 511/1023. The initial value of EEAR is undefined. A proper value must be written before the EEPROM may be accessed. 8.6.2 EEDR – The EEPROM Data Register Bit 151413 121110 9 8 0x22 (0x42) EEAR9 EEAR8 EEARH 0x21 (0x41) EEAR7 EEAR6 EEAR5 EEAR4 EEAR3 EEAR2 EEAR1 EEAR0 EEARL Bit 765 432 10 Read/Write RR RRR R R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Initial Value 0 0 0 0 0 0 X X X XXX XXX X Bit 765 432 10 0x20 (0x40) MSB LSB EEDR Read/Write R/W R/W R/W R/W R/W R/W R/W R/W Initial Value 0 0 0 0 0 0 0 0 |
|
Link URL |
| War ALLDATASHEET hilfreich? [ DONATE ] |
Über Alldatasheet | Werbung | Kontakt | Privatsphäre und Datenschutz | Link zum Datenblatt | Linktausch | Hersteller All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |