This is the block diagram for the device.