ATmega16HVB Atmel Corporation, ATmega16HVB Datasheet - Page 184

no-image

ATmega16HVB

Manufacturer Part Number
ATmega16HVB
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega16HVB

Flash (kbytes)
16 Kbytes
Pin Count
44
Max. Operating Frequency
8 MHz
Cpu
8-bit AVR
# Of Touch Channels
8
Hardware Qtouch Acquisition
No
Max I/o Pins
17
Ext Interrupts
15
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
12
Adc Speed (ksps)
1.9
Resistive Touch Screen
No
Temp. Sensor
Yes
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 85
I/o Supply Class
4.0 to 25
Operating Voltage (vcc)
4.0 to 25
Fpu
No
Mpu / Mmu
no / no
Timers
2
Output Compare Channels
4
Input Capture Channels
2
32khz Rtc
No
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATmega16HVB-8X3
Manufacturer:
LT
Quantity:
51
Part Number:
ATmega16HVB-8X3
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
27.10.6
27.10.7
184
ATmega16HVB/32HVB
TWAMR – TWI (Slave) Address Mask Register
TWBCSR – TWI Bus Control and Status Register
• Bit 0 – TWGCE: TWI General Call Recognition Enable Bit
If set, this bit enables the recognition of a General Call given over the Two-wire Serial Bus.
• Bits 7:1 – TWAM: TWI Address Mask
The TWAMR can be loaded with a 7-bit Slave Address mask. Each of the bits in TWAMR can
mask (disable) the corresponding address bits in the TWI Address Register (TWAR). If the mask
bit is set to one then the address match logic ignores the compare between the incoming
address bit and the corresponding bit in TWAR.
detail.
Figure 27-23. TWI Address Match Logic, Block Diagram.
• Bit 0 – Reserved
This bit is an unused in the Atmel ATmega16HVB/32HVB, and will always read as zero.
• Bit 7 – TWBCIF: TWI Bus Connect/Disconnect Interrupt Flag
Based on the TWBCIP bit, the TWBCIF bit is set when the TWI bus is connected or discon-
nected
vector. Alternatively, TWBCIF is cleared by writing a logic one to the flag. When the SREG I-bit,
TWBCIE (TWI Bus Connect/Disconnect Interrupt Enable), and TWBCIF are set, the TWI Bus
Connect/Disconnect Interrupt is executed. If both SDA and SCL are high during reset, TWBCIF
will be set after reset. Otherwise TWBCIF will be cleared after reset.
Note:
Bit
(0xBD)
Read/Write
Initial Value
Bit
(0xBE)
Read/Write
Initial Value
(1)
1. The TWEN bit in the TWCR register must be set for the Bus Connect/Disconnect feature to be
. TWBCIF is cleared by hardware when executing the corresponding interrupt handling
TWAMR0
Address
TWAR0
enabled.
Bit 0
TWBCIF
R/W
R/W
7
0
X
7
TWBCIE
R/W
6
0
R/W
Address Bit Comparator 6..1
6
0
R/W
5
0
Address Bit Comparator 0
R
5
0
TWAM[6:0]
R
4
0
R/W
4
0
Figure 27-23
R
3
0
R/W
3
0
TWBDT1
R/W
2
0
R/W
shown the address match logic in
2
0
TWBDT0
R/W
1
0
R/W
1
0
TWBCIP
R/W
0
0
Address
R
Match
0
0
8042D–AVR–10/11
TWBCSR
TWAMR

Related parts for ATmega16HVB