Datasheet

255
ATmega16U4/32U4 [DATASHEET]
Atmel-7766J-USB-ATmega16U4/32U4-Datasheet_04/2016
Bit 0 – TWGCE: TWI General Call Recognition Enable Bit
If set, this bit enables the recognition of a General Call given over the 2-wire Serial Bus.
20.9.6 TWI (Slave) Address Mask Register – TWAMR
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 bit 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 20-22 shows the address match logic in detail.
Figure 20-22. TWI Address Match Logic, Block Diagram
Bit 0 – Res: Reserved Bit
This bit is reserved and will always read as zero.
Bit 76543210
TWAM[6:0] TWAMR
Read/Write R/W R/W R/W R/W R/W R/W R/W R
Initial Value00000000
Address
Match
Address Bit Comparator 0
Address Bit Comparator 6..1
TWAR0
TWAMR0
Address
Bit 0