rename for sam4s
Generalise for sam7
Generalise for sam7