How to track the internal thermal sensor with BLE on the nRF51_DK?

I’m using Mbed to code a BLE Environmental Sensor system on the nRF51422. I’ve looked for the on-chip TEMP sensor in the included libraries but found nothing. How do I find the right lib or include files for this component?
Steve