8-bit AVR Microcontrollers

TWI (Slave) Address Mask Register n

Name:
TWAMR
Offset:
0xBD + n*0x20 [n=0..1]
Reset:
0x00
Access:
-
Bit76543210
TWAM[6:0]
AccessR/WR/WR/WR/WR/WR/WR/W
Reset0000000

Bits 7:1 – TWAM[6:0]: TWI (Slave) Address

TWI (Slave) Address

The TWAMRn can be loaded with a 7-bit Slave Address mask. Each of the bits in TWAMRn can mask (disable) the corresponding address bits in the TWI Address Register n (TWARn). 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 TWARn.

Figure 1. Address Match Logic, Example For TWI0