參數(shù)資料
型號(hào): ATMEGA48-20MMH
廠商: Atmel
文件頁(yè)數(shù): 5/36頁(yè)
文件大小: 0K
描述: MCU AVR 4KB FLASH 20MHZ 28QFN
產(chǎn)品培訓(xùn)模塊: MCU Product Line Introduction
megaAVR Introduction
標(biāo)準(zhǔn)包裝: 490
系列: AVR® ATmega
核心處理器: AVR
芯體尺寸: 8-位
速度: 20MHz
連通性: I²C,SPI,UART/USART
外圍設(shè)備: 欠壓檢測(cè)/復(fù)位,POR,PWM,WDT
輸入/輸出數(shù): 23
程序存儲(chǔ)器容量: 4KB(2K x 16)
程序存儲(chǔ)器類型: 閃存
EEPROM 大小: 256 x 8
RAM 容量: 512 x 8
電壓 - 電源 (Vcc/Vdd): 2.7 V ~ 5.5 V
數(shù)據(jù)轉(zhuǎn)換器: A/D 8x10b
振蕩器型: 內(nèi)部
工作溫度: -40°C ~ 85°C
封裝/外殼: 28-VFQFN 裸露焊盤
包裝: 托盤
13
2545TS–AVR–05/11
ATmega48/88/168
8.
Instruction set summary
Mnemonics
Operands
Description
Operation
Flags
#Clocks
ARITHMETIC AND LOGIC INSTRUCTIONS
ADD
Rd, Rr
Add two registers
Rd
← Rd + Rr
Z, C, N, V, H
1
ADC
Rd, Rr
Add with carry two registers
Rd
← Rd + Rr + C
Z, C, N, V, H
1
ADIW
Rdl,K
Add immediate to word
Rdh:Rdl
← Rdh:Rdl + K
Z, C, N, V, S
2
SUB
Rd, Rr
Subtract two registers
Rd
← Rd - Rr
Z, C, N, V, H
1
SUBI
Rd, K
Subtract constant from register
Rd
← Rd - K
Z, C, N, V, H
1
SBC
Rd, Rr
Subtract with carry two registers
Rd
← Rd - Rr - C
Z, C, N, V, H
1
SBCI
Rd, K
Subtract with carry constant from reg.
Rd
← Rd - K - C
Z, C, N, V, H
1
SBIW
Rdl,K
Subtract immediate from Word
Rdh:Rdl
← Rdh:Rdl - K
Z, C, N, V, S
2
AND
Rd, Rr
Logical AND registers
Rd
← Rd Rr
Z, N, V
1
ANDI
Rd, K
Logical AND register and constant
Rd
← Rd K
Z, N, V
1
OR
Rd, Rr
Logical OR registers
Rd
← Rd v Rr
Z, N, V
1
ORI
Rd, K
Logical OR register and constant
Rd
← Rd v K
Z, N, V
1
EOR
Rd, Rr
Exclusive OR registers
Rd
← Rd ⊕ Rr
Z, N, V
1
COM
Rd
One’s complement
Rd
← 0xFF Rd
Z, C, N, V
1
NEG
Rd
Two’s complement
Rd
← 0x00 Rd
Z, C, N, V, H
1
SBR
Rd,K
Set bit(s) in register
Rd
← Rd v K
Z, N, V
1
CBR
Rd,K
Clear bit(s) in register
Rd
← Rd (0xFF - K)
Z, N, V
1
INC
Rd
Increment
Rd
← Rd + 1
Z, N, V
1
DEC
Rd
Decrement
Rd
← Rd 1
Z, N, V
1
TST
Rd
Test for zero or minus
Rd
← Rd Rd
Z, N, V
1
CLR
Rd
Clear register
Rd
← Rd ⊕ Rd
Z, N, V
1
SER
Rd
Set register
Rd
← 0xFF
None
1
MUL
Rd, Rr
Multiply unsigned
R1:R0
← Rd x Rr
Z, C
2
MULS
Rd, Rr
Multiply signed
R1:R0
← Rd x Rr
Z, C
2
MULSU
Rd, Rr
Multiply signed with unsigned
R1:R0
← Rd x Rr
Z, C
2
FMUL
Rd, Rr
Fractional multiply unsigned
R1:R0
← (Rd x Rr)
<< 1
Z, C
2
FMULS
Rd, Rr
Fractional multiply signed
R1:R0
← (Rd x Rr)
<< 1
Z, C
2
FMULSU
Rd, Rr
Fractional multiply signed with unsigned
R1:R0
← (Rd x Rr)
<< 1
Z, C
2
BRANCH INSTRUCTIONS
RJMP
k
Relative jump
PC
← PC + k + 1
None
2
IJMP
Indirect jump to (Z)
PC
← Z
None
2
JMP(1)
k
Direct jump
PC
← kNone
3
RCALL
k
Relative subroutine call
PC
← PC + k + 1
None
3
ICALL
Indirect call to (Z)
PC
← ZNone
3
CALL(1)
k
Direct subroutine call
PC
← kNone
4
RET
Subroutine return
PC
← STACK
None
4
RETI
Interrupt return
PC
← STACK
I
4
CPSE
Rd,Rr
Compare, skip if equal
if (Rd = Rr) PC
← PC + 2 or 3
None
1/2/3
CP
Rd,Rr
Compare
Rd
Rr
Z, N, V, C, H
1
CPC
Rd,Rr
Compare with carry
Rd
Rr C
Z, N, V, C, H
1
CPI
Rd,K
Compare register with immediate
Rd
K
Z, N, V, C, H
1
SBRC
Rr, b
Skip if bit in register cleared
if (Rr(b)=0) PC
← PC + 2 or 3
None
1/2/3
SBRS
Rr, b
Skip if bit in register is set
if (Rr(b)=1) PC
← PC + 2 or 3
None
1/2/3
SBIC
P, b
Skip if bit in I/O register cleared
if (P(b)=0) PC
← PC + 2 or 3
None
1/2/3
SBIS
P, b
Skip if bit in I/O register is set
if (P(b)=1) PC
← PC + 2 or 3
None
1/2/3
BRBS
s, k
Branch if status flag set
if (SREG(s) = 1) then PC
←PC+k + 1
None
1/2
BRBC
s, k
Branch if status flag cleared
if (SREG(s) = 0) then PC
←PC+k + 1
None
1/2
BREQ
k
Branch if equal
if (Z = 1) then PC
← PC + k + 1
None
1/2
BRNE
k
Branch if not equal
if (Z = 0) then PC
← PC + k + 1
None
1/2
BRCS
k
Branch if carry set
if (C = 1) then PC
← PC + k + 1
None
1/2
BRCC
k
Branch if carry cleared
if (C = 0) then PC
← PC + k + 1
None
1/2
BRSH
k
Branch if same or higher
if (C = 0) then PC
← PC + k + 1
None
1/2
BRLO
k
Branch if lower
if (C = 1) then PC
← PC + k + 1
None
1/2
BRMI
k
Branch if minus
if (N = 1) then PC
← PC + k + 1
None
1/2
BRPL
k
Branch if plus
if (N = 0) then PC
← PC + k + 1
None
1/2
BRGE
k
Branch if greater or equal, signed
if (N
⊕ V= 0) then PC ← PC + k + 1
None
1/2
BRLT
k
Branch if less than zero, signed
if (N
⊕ V= 1) then PC ← PC + k + 1
None
1/2
BRHS
k
Branch if half carry flag set
if (H = 1) then PC
← PC + k + 1
None
1/2
BRHC
k
Branch if half carry flag cleared
if (H = 0) then PC
← PC + k + 1
None
1/2
BRTS
k
Branch if T flag set
if (T = 1) then PC
← PC + k + 1
None
1/2
BRTC
k
Branch if T flag cleared
if (T = 0) then PC
← PC + k + 1
None
1/2
BRVS
k
Branch if overflow flag is set
if (V = 1) then PC
← PC + k + 1
None
1/2
BRVC
k
Branch if overflow flag is cleared
if (V = 0) then PC
← PC + k + 1
None
1/2
相關(guān)PDF資料
PDF描述
ATMEGA168PA-PU MCU AVR 16K FLASH 28-PDIP
ATMEGA48-20MMU IC AVR MCU 4K FLASH 20MHZ 28QFN
ATTINY43U-SU MCU AVR 4K FLASH 8MHZ 20-SOIC
ATMEGA48-20PU IC AVR MCU 4K 20MHZ 5V 28DIP
308237951000200 COVER ASSMBLY FOR DIN CONN
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ATMEGA48-20MMU 功能描述:8位微控制器 -MCU AVR 4K FLSH 256B EE 512B SRAM ADC 5V RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
ATmega48-20MU 功能描述:8位微控制器 -MCU 4kB Flash 0.256kB EEPROM 23 I/O Pins RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
ATMEGA48-20MUR 功能描述:8位微控制器 -MCU AVR 4KB FLSH 256B EE 512B EE-20MHZ 5V RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
ATMEGA4820PI 制造商:Atmel Corporation 功能描述:
ATmega48-20PI 功能描述:8位微控制器 -MCU AVR 4K FLSH 256B EE 512B SRAM ADC 5V RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT