Copyright © 2007 Atmel Corporation
Let's take the GPIO driver module and one of its examples as a reference. It contains:
For the AT32UC3A devices:
For the AT32UC3B devices:
For the AT32UC3A3 devices:
For the AT32UC3L devices:
Here is the content of the GPIO driver directory (/DRIVERS/GPIO) to introduce the typical organization of a peripheral driver.