from bbc microbit library

Fork of nrf51-sdk by Lancaster University