I found a solution how to handle these stuff.
Atmel faciliates the usage of preprogrammed so-called modules, components, drivers and services which are part of the Atmel Software Framework. There are more then 10 examples for the Arduino Due available. I opted for the getting-started example and it worked fine.
The next step is to put the code in the controller...
Here is a link how to use the ASF: