Electronic Components Datasheet Search
  English  ▼

X  

AVR401 Datasheet(PDF) 8 Page - ATMEL Corporation

Part # AVR401
Description  8-bit Precision A/D Converter
PDF  12 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AVR401 Datasheet(HTML) 8 Page - ATMEL Corporation

Back Button AVR401 Datasheet HTML 4Page - ATMEL Corporation AVR401 Datasheet HTML 5Page - ATMEL Corporation AVR401 Datasheet HTML 6Page - ATMEL Corporation AVR401 Datasheet HTML 7Page - ATMEL Corporation AVR401 Datasheet HTML 8Page - ATMEL Corporation AVR401 Datasheet HTML 9Page - ATMEL Corporation AVR401 Datasheet HTML 10Page - ATMEL Corporation AVR401 Datasheet HTML 11Page - ATMEL Corporation AVR401 Datasheet HTML 12Page - ATMEL Corporation  
Zoom Inzoom in Zoom Outzoom out
 8 / 12 page
background image
8
AVR401
0953C–AVR–02/03
“T0_int” Interrupt
Service Routine
The only function for this routine is to increment the TH variable, so a 16-bit Timer is cre-
ated. Only nine bits are used.
“mpy9u” 9 × 8 Bit
Multiplication
This routine performs a 9 × 8 bit multiplication. The 9-bit multiplier must be stored in the
Carry Flag (MSB) and the “mp9u” Register. The multiplicand is stored in the “mc9u”
Register. The answer is placed in “C:m9uH:m9uL”. The registers used for the result are
the same as those used for the input to the division routine. The routine is based on the
“mpy8u” multiplication routine described in application note AVR 200.
Table 5. “T0_int” Interrupt Performance Figures
Parameter
Value
Code Size
2 words
Execution Cycles
9 – including the reti instruction
Register Usage
Low Registers
High Registers
Global
:None
:None
:1
Table 6. “mpy9u” Subroutine Performance Figures
Parameter
Value
Code Size
11 words
Execution Cycles
83
Register Usage
Low Registers
High Registers
Global
Flags
:3
:None
:1
:C
Table 7. “mpy9u” Register Usage
Register
Input
Internal
Output
R0
mc9u – Multiplicand
R1
mp9u – Multiplier
m9uL – Result Low byte
R2
m9uH – Result High byte
C-flag
Multiplier, ninth bit
Result, 17th bit
R20
temp – Used as Loop Counter



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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