Had duplicate set of api drivers in the directory - deleted
added define guards to xxxxx_api.c files for device.h peripheral gating
Merge pull request #416 from sg-/master

Had duplicate set of api drivers in the directory - deleted