BSPACM  20150113
Board Support Package for ARM Cortex-M Microcontrollers
Functions
dietemp.h File Reference

NRF51 series-specific DIETEMP interface for BSPACM. More...

#include <bspacm/core.h>

Go to the source code of this file.

Functions

bool bBSPACMdietempInitialize ()
 
int iBSPACMdietemp_cCel ()
 

Detailed Description

NRF51 series-specific DIETEMP interface for BSPACM.

Provides helper functions to read the die temperature taking into account various errata.

Homepage
http://github.com/pabigot/bspacm

Function Documentation

bool bBSPACMdietempInitialize ( )

Configure to measure the die temperature using the TEMP peripheral.

Returns
true iff the high-frequency clock is enabled and using the crystal oscillator, a condition the reference manual states is required for the die temperature to be accurate.