AT90PWM216 Atmel Corporation, AT90PWM216 Datasheet - Page 21

no-image

AT90PWM216

Manufacturer Part Number
AT90PWM216
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT90PWM216

Flash (kbytes)
16 Kbytes
Pin Count
24
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
12
Hardware Qtouch Acquisition
No
Max I/o Pins
19
Ext Interrupts
4
Usb Speed
No
Usb Interface
No
Spi
1
Uart
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
125
Analog Comparators
2
Resistive Touch Screen
No
Dac Channels
1
Dac Resolution (bits)
10
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
1
Eeprom (bytes)
512
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 105
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
4
Output Compare Channels
12
Input Capture Channels
1
Pwm Channels
7
32khz Rtc
No
Calibrated Rc Oscillator
Yes
6.3.2
6.3.3
6.3.4
7710F–AVR–09/11
The EEPROM Address Registers – EEARH and EEARL
The EEPROM Data Register – EEDR
The EEPROM Control Register – EECR
• Bits 15..9 – Reserved Bits
These bits are reserved bits in the AT90PWM216/316 and will always read as zero.
• Bits 8..0 – EEAR8..0: EEPROM Address
The EEPROM Address Registers – EEARH and EEARL specify the EEPROM address in the
512 bytes EEPROM space. The EEPROM data bytes are addressed linearly between 0 and
511. The initial value of EEAR is undefined. A proper value must be written before the EEPROM
may be accessed.
• Bits 7..0 – EEDR7.0: EEPROM Data
For the EEPROM write operation, the EEDR Register contains the data to be written to the
EEPROM in the address given by the EEAR Register. For the EEPROM read operation, the
EEDR contains the data read out from the EEPROM at the address given by EEAR.
• Bits 7..6 – Reserved Bits
These bits are reserved bits in the AT90PWM216/316 and will always read as zero.
• Bits 5..4 – EEPM1 and EEPM0: EEPROM Programming Mode Bits
The EEPROM Programming mode bit setting defines which programming action that will be trig-
gered when writing EEWE. It is possible to program data in one atomic operation (erase the old
value and program the new value) or to split the Erase and Write operations in two different
operations. The Programming times for the different modes are shown in
EEWE is set, any write to EEPMn will be ignored. During reset, the EEPMn bits will be reset to
0b00 unless the EEPROM is busy programming.
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
EEAR7
EEDR7
R/W
R/W
15
R
0
X
R
7
7
0
7
0
EEAR6
EEDR6
R/W
R/W
14
R
X
6
0
R
6
0
6
0
EEAR5
EEDR5
EEPM1
R/W
R/W
R/W
13
R
5
0
X
5
0
5
X
EEAR4
EEDR4
EEPM0
R/W
R/W
R/W
12
R
X
4
0
4
0
4
X
EEAR3
EEDR3
EERIE
R/W
R/W
R/W
11
R
3
0
X
3
0
3
0
EEMWE
EEDR2
EEAR2
R/W
R/W
R/W
10
2
0
R
X
2
0
2
0
AT90PWM216/316
EEDR1
EEAR1
EEWE
R/W
R/W
R/W
1
0
1
X
R
X
9
1
0
EEDR0
EEAR8
EEAR0
EERE
R/W
R/W
R/W
R/W
0
0
0
0
8
0
X
X
Table
EEARH
EEARL
EEDR
EECR
6-1. While
21

Related parts for AT90PWM216