http://mbed.org/teams/Nordic-Semiconductor/code/nRF51822/#7c68c8d67e1f