From the Atmel Studio menu:
File->New->Example Project From ASF
In the dialogue box that opens:
1) On the left, select the kit. Various SAM3 and SAM4 kits have FreeRTOS demo, the drivers that are demonstrated depends on the kits.
2) For example, expand Arduino Due (which is at the top of the list of kits).
3) In the list of projects you will see "FreeRTOS Peripheral Control Example" - selecting that will create the project (I have not tried it on the Arduino hardware and am not sure which interfaces it will demonstrate).
4) Read the instructions at the top of the file that contains the definition of main() - the examples use FreeRTOS+CLI which is free for use on Atmel microcontrollers.
If you create a project for the SAM4S or SAM3X EKs then you will see most (all) of the drivers demonstrated.