Datasheet

23.9.6. TWI (Slave) Address Mask Register
Name:  TWAMR
Offset:  0xBD
Reset:  0x00
Property:
 
-
Bit 7 6 5 4 3 2 1 0
TWAM6 TWAM5 TWAM4 TWAM3 TWAM2 TWAM1 TWAM0
Access
R/W R/W R/W R/W R/W R/W R/W R
Reset 0 0 0 0 0 0 0 0
Bits 1, 2, 3, 4, 5, 6, 7 – TWAMn: TWI (Slave) Address
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.
Figure 23-22. TWI Address Match Logic
TWAR0
TWAMR0
Address
Bit 0
Address
Match
Address Bit Comparator 6:1
Address Bit Comparator 0
Atmel ATmega644A [DATASHEET]
Atmel-42716C-ATmega644A_Datasheet_Complete-10/2016
296