The TWI module consists of several sub-modules, as shown in the following figure. All registers drawn in a thick line are accessible through the AVR data bus.