Atmega4hvd/8hvd – Rainbow Electronics ATmega8HVD User Manual

Page 166

Advertising
background image

iv

8052B–AVR–09/08

ATmega4HVD/8HVD

20

Battery Protection ................................................................................ 104

20.1Features ..............................................................................................................104

20.2Overview ..............................................................................................................104

20.3Short-circuit Protection ........................................................................................105

20.4Discharge Over-current Protection ......................................................................105

20.5Charge Over-current Protection ..........................................................................105

20.6External Protection Input .....................................................................................106

20.7Battery Protection CPU Interface ........................................................................108

20.8Register Description ............................................................................................108

21

FET Control ........................................................................................... 114

21.1Overview ..............................................................................................................114

21.2FET Driver ...........................................................................................................115

21.3DUVR – Deep Under-Voltage Recovery Mode operation ...................................117

21.4Register Description ............................................................................................117

22

debugWIRE On-chip Debug System .................................................. 119

22.1Features ..............................................................................................................119

22.2Overview ..............................................................................................................119

22.3Physical Interface ................................................................................................119

22.4Software Break Points .........................................................................................120

22.5Limitations of debugWIRE ...................................................................................120

22.6Register Description ............................................................................................120

23

Self-Programming the Flash ............................................................... 121

23.1Overview ..............................................................................................................121

23.2Performing Page Erase by SPM ..........................................................................121

23.3Filling the Temporary Buffer (Page Loading) .......................................................121

23.4Performing a Page Write .....................................................................................122

23.5Addressing the Flash During Self-Programming .................................................122

23.6Register Description ............................................................................................127

24

Memory Programming ......................................................................... 129

24.1Program And Data Memory Lock Bits .................................................................129

24.2Fuse Bits ..............................................................................................................129

24.3Signature Bytes ...................................................................................................130

24.4Calibration Bytes .................................................................................................131

24.5Page Size ............................................................................................................131

24.6Serial Downloading ..............................................................................................131

Advertising