ATAVRMC321 Atmel, ATAVRMC321 Datasheet - Page 21

no-image

ATAVRMC321

Manufacturer Part Number
ATAVRMC321
Description
KIT EVAL MOTOR CTRL LOW COST
Manufacturer
Atmel
Series
AVR®r
Datasheets

Specifications of ATAVRMC321

Main Purpose
Power Management, Motor Control
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
ATtinyx61
Primary Attributes
3-Ph BLDC, Brushed DC, Stepper Motor- Controller Board
Secondary Attributes
Includes ATAVRMC300 Power Driver Board
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
5.5.2
5.5.3
5.5.4
2588E–AVR–08/10
EEARL – EEPROM Address Register
EEDR – EEPROM Data Register
EECR – EEPROM Control Register
• Bit 7 – EEAR7: EEPROM Address
This is the most significant EEPROM address bit of ATtiny461. In devices with less EEPROM,
i.e. ATtiny261, this bit is reserved and will always read zero. The initial value of the EEPROM
Address Register (EEAR) is undefined and a proper value must therefore be written before the
EEPROM is accessed.
• Bits 6:0 – EEAR6:0: EEPROM Address
These are the (low) bits of the EEPROM Address Register. The EEPROM data bytes are
addressed linearly in the range 0
proper value must be therefore 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.
• Bit 7 – Res: Reserved Bit
This bit is reserved for future use and will always read as 0 in ATtiny261/461/861. For compati-
bility with future AVR devices, always write this bit to zero. After reading, mask out this bit.
• Bit 6 – Res: Reserved Bit
This bit is reserved in the ATtiny261/461/861 and will always read as zero.
• Bits 5, 4 – EEPM1 and EEPM0: EEPROM Programming Mode Bits
The EEPROM Programming mode bits setting defines which programming action that will be
triggered when writing EEPE. It is possible to program data in one atomic operation (erase the
Bit
0x1E (0x3E)
Read/Write
Initial Value
Bit
0x1D (0x3D)
Read/Write
Initial Value
Bit
0x1C (0x3C)
Read/Write
Initial Value
EEAR7
EEDR7
R/W
R/W
X/0
R
7
0
7
0
7
EEAR6
EEDR6
R/W
R/W
R
X
6
0
6
0
6
EEAR5
EEDR5
EEPM1
...
R/W
R/W
R/W
X
5
0
5
X
5
128/256/512. The initial value of EEAR is undefined and a
EEAR4
EEDR4
EEPM0
R/W
R/W
R/W
X
4
0
4
X
4
EEAR3
EEDR3
EERIE
R/W
R/W
R/W
X
3
0
3
0
3
EEMPE
EEAR2
EEDR2
R/W
R/W
R/W
X
2
0
2
0
2
EEAR1
EEDR1
EEPE
R/W
R/W
R/W
X
1
0
1
X
1
EEAR0
EEDR0
EERE
R/W
R/W
R/W
X
0
0
0
0
0
EEDR
EECR
EEARL
21

Related parts for ATAVRMC321