Integration of the trigger and data acquisition systems in ATLAS