upate documentation on various atmel commands

improve documentation of atmel commands
join function open bracket w prototype

to make it easier to get arount the file with maximum fold level,
join the function open bracket with the function definintion.
also add several comments.