Optimization: GPIO functions changed to direct IO access in motor module
Optimization: GPIO functions changed to direct IO access in devices module