http://mbed.org/teams/Nordic-Semiconductor/code/nRF51822/#088f5738bf18