Adding SPI function to public - bug fix

Adding these functions to private introduced a bug in Motions Activated
Sleep example